03.01.2012, 08:42
Code:
public OnPlayerRequestClass(playerid, classid) { if(classid == 1){ if(PlayerNameIs(playerid, "Vrondakis")){ }else{ SendClientMessage(playerid,COLOR_RED,"You are not the mighty Vrondakis");} return 0;} // OR 1? SetupPlayerForClassSelection(playerid); }
Code:
warning 209: function "OnPlayerRequestClass" should return a value
Thanks