26.10.2010, 16:54
(
Последний раз редактировалось The_Moddler; 26.10.2010 в 17:07.
)
Ahaha, I know why, OnPlayerEnterVehicle is called BEFORE the player enters the car, so you should use this:
BMUK won me grrr
pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
IsPlayerPizzaDeliverer(playerid, GetPlayerVehicleID(playerid));
}
return 1;
}