[SOLVED] Teleporting...
#3

pawn Код:
return 1;
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/test", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            SetVehiclePos(GetPlayerVehicleID(playerid), 1234.16978, 1252.26287, 6126.62168);
        } else {
            SetPlayerPos(playerid, 1234.16978, 1252.26287, 6126.62168);
        }
        return 1; // end
    }
    return 0;
}
Reply


Messages In This Thread
[SOLVED] Teleporting... - by yoan103 - 15.02.2010, 14:54
Re: Teleporting... - by dice7 - 15.02.2010, 14:56
Re: Teleporting... - by smeti - 15.02.2010, 15:00
Re: Teleporting... - by Fedee! - 15.02.2010, 15:01
Re: Teleporting... - by BlackFoX - 15.02.2010, 15:02

Forum Jump:


Users browsing this thread: 1 Guest(s)