help me with allowing vehicles with score
#2

Something like this, you have to edit it for your needs though.

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new veh = GetPlayerVehicleID(playerid);
	if(newstate == PLAYER_STATE_DRIVER)
	{
 		if((GetPlayerScore(playerid) < 500)
 		{
 		    if(veh == VEHICLEID)
 		    {
 		        RemovePlayerFromVehicle(playerid);
   			}
		}
	}
	return 1;
}
Reply


Messages In This Thread
help me with allowing vehicles with score - by ReD_HunTeR - 07.12.2013, 14:09
Re: help me with allowing vehicles with score - by BizzyD - 07.12.2013, 14:15
Re: help me with allowing vehicles with score - by ReD_HunTeR - 07.12.2013, 15:07
Re: help me with allowing vehicles with score - by Wizzy951 - 07.12.2013, 15:16
Re: help me with allowing vehicles with score - by ReD_HunTeR - 07.12.2013, 15:46
Re: help me with allowing vehicles with score - by Loot - 07.12.2013, 16:01
Re: help me with allowing vehicles with score - by Konstantinos - 07.12.2013, 16:02
Re: help me with allowing vehicles with score - by ReD_HunTeR - 07.12.2013, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)