OnPlayerRequestClass Help
#5

Pls read it carefully
under OnDialogResponse
Код:
if(dialogid == 500)
                {
                if(response)
		            {

						if(GetPlayerScore(playerid) >= 0)//Rookie
						{
					
			            gPlayerClass[playerid] = ASSAULT_CLASS;
			            SendClientMessage(playerid, COLOR_GREEN, "You chose the Assualt as your class.");
			            SendClientMessage(playerid, COLOR_GREEN, "You can type /sc to change your class again.");
			            PickedClass[playerid] = 1;

						}
                    }
You have to add PickedClass[playerid] = 1; when player chose his class
Reply


Messages In This Thread
OnPlayerRequestClass Help - by NinjahZ - 09.08.2013, 00:34
Re: OnPlayerRequestClass Help - by DRIFT_HUNTER - 09.08.2013, 01:29
Re: OnPlayerRequestClass Help - by Iron3man - 09.08.2013, 02:11
Re: OnPlayerRequestClass Help - by NinjahZ - 09.08.2013, 02:33
Re: OnPlayerRequestClass Help - by Iron3man - 09.08.2013, 02:54
Re: OnPlayerRequestClass Help - by NinjahZ - 09.08.2013, 05:47

Forum Jump:


Users browsing this thread: 1 Guest(s)