Detecting if a player died...
#4

pawn Code:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
       new vehicleid = GetPlayerVehicleID(playerid);
       new Float: pos[3];
       GetVehiclePos(vehicleid, pos[0], pos[1], pos[2]);
       SetPlayerPos(playerid, pos[0], pos[1]+1.75, pos[2]);
       RemovePlayerFromVehicle(playerid);
       return 1;
}
Reply


Messages In This Thread
Detecting if a player died... - by Eyce - 13.12.2014, 21:45
Re: Detecting if a player died... - by FullCircle - 13.12.2014, 21:54
Re: Detecting if a player died... - by Eyce - 13.12.2014, 22:27
Re: Detecting if a player died... - by Abagail - 13.12.2014, 22:29
Re: Detecting if a player died... - by Eyce - 13.12.2014, 22:32
Re: Detecting if a player died... - by FullCircle - 13.12.2014, 23:01
Re: Detecting if a player died... - by Eyce - 13.12.2014, 23:24
Re: Detecting if a player died... - by FullCircle - 13.12.2014, 23:39

Forum Jump:


Users browsing this thread: 1 Guest(s)