Teleport cmd
#3

pawn Код:
command(hm, playerid, params[])
{
    if(Player[playerid][Group] = 2)
    {
        SendClientMessage(playerid, WHITE, "Welcome fellow hitman");
        SetVehiclePos(GetPlayerVehicleID(playerid), -2093.0073, 887.5366, 1396.1660);
        SetPlayerPos(playerid,-2073.8323, 972.0553, 62.9219);
    }
    return 1;
}
You don't need to put x,y,z in SetPlayerPos unless the co-ords were predefined.
Reply


Messages In This Thread
Teleport cmd - by Deal-or-die - 12.01.2011, 03:48
Re: Teleport cmd - by wilko1995 - 12.01.2011, 04:49
Re: Teleport cmd - by Antonio [G-RP] - 12.01.2011, 04:51
Re: Teleport cmd - by wilko1995 - 12.01.2011, 04:52

Forum Jump:


Users browsing this thread: 1 Guest(s)