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

I'm not sure what are you trying to do here, but anyway, check this out:
pawn Code:
if(classid == 1)
    {
        if(!PlayerNameIs(playerid, "Vrondakis"))
        {
            SendClientMessage(playerid,COLOR_RED,"You are not the mighty Vrondakis");
            return 0;
        }
    }
    SetupPlayerForClassSelection(playerid);
    return 1;
}
//////^^^^//////
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)