OnPlayerStateChange help
#5

public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
if(( gTeam[playerid] == TEAM_CIVIL) && (GetPlayerVehicleID(playerid) == 59)
{
RemovePlayerFromVehicle(playerid);
}
}

return 1;
}




i have this... nor errors but it doesn't work
Reply


Messages In This Thread
OnPlayerStateChange help - by TouR - 23.12.2009, 11:55
Re: OnPlayerStateChange help - by BMUK - 23.12.2009, 11:58
Re: OnPlayerStateChange help - by TouR - 23.12.2009, 12:00
Re: OnPlayerStateChange help - by Ironboy500 - 23.12.2009, 12:12
Re: OnPlayerStateChange help - by TouR - 23.12.2009, 12:15
Re: OnPlayerStateChange help - by BMUK - 23.12.2009, 12:18
Re: OnPlayerStateChange help - by TouR - 23.12.2009, 12:32

Forum Jump:


Users browsing this thread: 1 Guest(s)