Change class
#1

So, i have a problem blocking the player from choosing cop team if wanted.

I placed this on OnPlayerRequestSpawn:

pawn Код:
if(GetPlayerWantedLevel(playerid) >= 1 && gTeam[playerid][TEAM_COP]) return SendClientMessage(playerid, COLOR_RED, "* You can't be a Law Enforcement Officer while wanted.");
But doesn't work. Basically, i don't want players use cop team if they have a wanted level. Thanks.
Reply


Messages In This Thread
Change class - by KinderClans - 15.08.2018, 14:04
Re: Change class - by iLearner - 15.08.2018, 14:42
Re: Change class - by KinderClans - 15.08.2018, 14:46
Re: Change class - by iLearner - 15.08.2018, 14:48
Re: Change class - by KinderClans - 15.08.2018, 16:31
Re: Change class - by KinderClans - 16.08.2018, 11:02
Re: Change class - by Shinja - 16.08.2018, 14:22
Re: Change class - by KinderClans - 17.08.2018, 13:56
Re: Change class - by CaptainBoi - 18.08.2018, 05:31
Re: Change class - by KinderClans - 18.08.2018, 08:36

Forum Jump:


Users browsing this thread: 3 Guest(s)