[help] teleporting
#3

pawn Код:
if (strcmp("/teleport",cmdtext,true)==0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    if(IsPlayerInAnyVehicle(playerid))
    {
    SetVehiclePos(vehicleid,X, Y,Z);
    }
    else {
    SetPlayerPos(playerid,X,Y,Z);
    }
    return 1;
    }
Not tested but it would work, kewl
Reply


Messages In This Thread
[help] teleporting - by sggassasin - 19.08.2009, 12:00
Re: [help] teleporting - by bogeymanEST - 19.08.2009, 12:08
Re: [help] teleporting - by Goobiiify - 19.08.2009, 12:17
Re: [help] teleporting - by CAR - 19.08.2009, 14:09

Forum Jump:


Users browsing this thread: 2 Guest(s)