warning 209: function "OnPlayerRequestClass" should return a value
#2

Here you go:
pawn 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);
   return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)