Teleporting with a car
#2

pawn Код:
if(!strcmp(cmd, "/lsair", true))
{
    if(InDM[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "Please type /leavedm first!");
    switch(GetPlayerState(playerid))
    {
        case PLAYER_STATE_ONFOOT: SetPlayerPos(playerid, 1648.6609,-2414.7664,13.5547);
        case PLAYER_STATE_DRIVER: SetVehiclePos(GetPlayerVehicleID(playerid),1643.1212,-2419.4958,13.2818);
        case PLAYER_STATE_PASSENGER:
        {
            RemovePlayerFromVehicle(playerid);
            SetPlayerPos(playerid, 1648.6609,-2414.7664,13.5547);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Teleporting with a car - by KingyKings - 07.12.2013, 14:39
Re: Teleporting with a car - by Konstantinos - 07.12.2013, 14:44
Re: Teleporting with a car - by KingyKings - 07.12.2013, 14:50
Re: Teleporting with a car - by Audi_Quattrix - 07.12.2013, 15:35
Re: Teleporting with a car - by KingyKings - 07.12.2013, 15:42
Re: Teleporting with a car - by Audi_Quattrix - 07.12.2013, 15:42

Forum Jump:


Users browsing this thread: 1 Guest(s)