[AJUDA]comando
#2

pawn Код:
CMD:teleportar(playerid, params[])
{
    if(GetPlayerState(playerid) == 2)
    {
        SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
    }
    else
    {
        SetPlayerPos(playerid, X, Y, Z);
    }
    return 1;
}
SetPlayerPos apenas teleporta o jogador.
SetVehiclePos teleporta o veнculo(e o jogador caso esteja nele).
Reply


Messages In This Thread
[AJUDA]comando - by _ThIaGo - 03.01.2012, 15:14
Re: [AJUDA]comando - by Shelby - 03.01.2012, 15:33
Re: [AJUDA]comando - by dPlaYer_ - 03.01.2012, 15:42
Re: [AJUDA]comando - by RNT - 03.01.2012, 15:50
Re: [AJUDA]comando - by _ThIaGo - 03.01.2012, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)