Car check +Rep if helped.
#1

I have made a timer to check for a car;

Код:
timer CARCheck[5000](playerid)
{
	if(GetPlayerState(playerid) != 2) NOPTrigger[playerid] = 0;
	new newcar = GetPlayerVehicleID(playerid);
	if(PlayerInfo[playerid][pAdmin] > 1 || GetPlayerState(playerid) != 2) return 1;
    else if(IsAnSASDCar(newcar) && PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1) ExecuteNOPAction(playerid);
	return 1;
}
And when I compile it crashes, I take it out and compile it is fine?
Reply


Messages In This Thread
Car check +Rep if helped. - by MrCallum - 15.03.2015, 14:15
Re: Car check +Rep if helped. - by ATGOggy - 15.03.2015, 14:33
Re: Car check +Rep if helped. - by MrCallum - 15.03.2015, 14:41
Re: Car check +Rep if helped. - by MrCallum - 15.03.2015, 14:43
Re: Car check +Rep if helped. - by ATGOggy - 15.03.2015, 14:44

Forum Jump:


Users browsing this thread: 2 Guest(s)