Szerző Téma: TELEPORT  (Megtekintve 555 alkalommal)

TELEPORT
« Dátum: 2013. április 01. - 13:34:40 »
0 Show voters
a tuningokhoz teleportot aszt hogy /piss hogy pisijon
  /ital hogy igyon egy sõrt /cigi hogy elszivjon egy cigit /fekszik hogy lefekugyõn a fõldre , és hogy legyen /aa az elhagyatot lepulõtéren
 :) csak ennyi lene  !!! :d
                                  KÉREM A SEGITSÉGETEKET!!!!!!!!!!!!
« Utoljára szerkesztve: 2013. április 01. - 14:58:27 írta [GT]MARTIN »

TELEPORT
« Válasz #1 Dátum: 2013. április 02. - 08:11:50 »
0 Show voters
Látom nem sokan csinálták meg. gyorsan össze dobom és felrakom ide neked.

Dupla hozzászólás automatikusan összefûzve. ( 2013. április 02. - 09:00:13 )

#include <a_samp>
#include <zcmd>
#define COLOR_GREEN            0x33AA33AA
#define SPECIAL_ACTION_PISSING    68
CMD:tune(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),2644.5596,-2016.4270,13.5540);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,2644.5596,-2016.4270,13.5540);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,2644.5596,-2016.4270,13.5540);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
}
CMD:tune2(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),2392.5474,1021.2135,10.8203);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,2392.5474,1021.2135,10.8203);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,2392.5474,1021.2135,10.8203);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
}
CMD:tune3(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),-1928.2428,228.4691,34.2788);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,-1928.2428,228.4691,34.2788);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,-1928.2428,228.4691,34.2788);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
}
CMD:tune4(playerid, params[]) {
    if(IsPlayerInAnyVehicle(playerid) == 1) {
    SetPlayerInterior(playerid, 0);
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) {
    SetVehiclePos(GetPlayerVehicleID(playerid),-2702.1089,218.7926,4.1797);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
SetVehicleZAngle(GetPlayerVehicleID(playerid), 50.8647);
    LinkVehicleToInterior(GetPlayerVehicleID(playerid), 0);
    } else {
    RemovePlayerFromVehicle(playerid);
    SetPlayerPos(playerid,-2702.1089,218.7926,4.1797);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    }
    } else {
    SetPlayerPos(playerid,-2702.1089,218.7926,4.1797);
SendClientMessage(playerid, COLOR_GREEN, \"[sERVER] Elteleportáltál a Tuning Helyhez\");
    SetPlayerFacingAngle(playerid, 50.8647);
    SetCameraBehindPlayer(playerid);
    SetPlayerInterior(playerid, 0);
    }
    return 1;
}
CMD:cigi(playerid, params[])
{
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_SMOKE_CIGGY);
return 1;
}
CMD:ital(playerid, params[]) //Sokat iszol akkor berugsz.
{
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_SPRUNK);
SetPlayerDrunkLevel(playerid, GetPlayerDrunkLevel(playerid) + 500);
return 1;
}
CMD:pisi(playerid, params[])
{
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
return 1;
}
CMD:fekszik(playerid, params[])
{
ApplyAnimation(playerid,\"PED\",\"KO_skid_front\",4.1,0,1,1,1,0);
return 1;
}
CMD:stop(playerid, params[]) // anim megállitása
{
ClearAnimations(playerid);
return 1;
}

 
Mod Aljára rakd be.
« Utoljára szerkesztve: 2013. április 02. - 09:00:13 írta Lockett »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal