Change class
#3

Quote:
Originally Posted by iLearner
Посмотреть сообщение
This code goes somewhere under OnPlayerRequestClass if I am not mistaken and it goes like
PHP код:
if(GetPlayerWantedLevel(playerid) >= && classid == TEAM_COP) return SendClientMessage(playeridCOLOR_RED"* You can't be a Law Enforcement Officer while wanted."); 
Eh no, perchи in quel modo ogni volta che switcho classe nella selezione, mi appare quel messaggio ma posso comunque spawnarmi come poliziotto. Invece dovrebbe andare su OnPlayerRequestSpawn in modo da bloccarlo, ma non so come. :S
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: 2 Guest(s)