OnPlayerExitVehicle
#5

Quote:
Originally Posted by [MM]RoXoR[FS]
Посмотреть сообщение
Actually not.
If I dont use that code, it will fail to put player in vehicle(if he was a driver), reason being driver seat would be occupied by player.

This was needed to vacant the driver seat.
then use
pawn Код:
ClearAnimations(playerid);
it's working too and it uses less memory

pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    ClearAnimations(playerid);
    PutPlayerInVehicle(playerid, vehicleid, GetPlayerVehicleSeat(playerid));

    return 1;
}
Reply


Messages In This Thread
OnPlayerExitVehicle - by Ectazy - 03.08.2012, 08:16
Re: OnPlayerExitVehicle - by [MM]RoXoR[FS] - 03.08.2012, 08:51
Re: OnPlayerExitVehicle - by SEnergy - 03.08.2012, 09:01
Re: OnPlayerExitVehicle - by [MM]RoXoR[FS] - 03.08.2012, 09:02
Re: OnPlayerExitVehicle - by SEnergy - 03.08.2012, 09:11
Re: OnPlayerExitVehicle - by JaKe Elite - 03.08.2012, 09:23
Re: OnPlayerExitVehicle - by SEnergy - 03.08.2012, 09:43
Re: OnPlayerExitVehicle - by Devilxz97 - 03.08.2012, 09:58
Re: OnPlayerExitVehicle - by Devilxz97 - 03.08.2012, 10:04
Re: OnPlayerExitVehicle - by SEnergy - 03.08.2012, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)