09.08.2013, 02:54
Pls read it carefully
under OnDialogResponse
You have to add PickedClass[playerid] = 1; when player chose his class
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; } }