16.03.2009, 09:53
Thats the easy part.
I dont know where tu put this:
and this:
I dont know where tu put this:
Quote:
if(gTeam[playerid] == 16) { if(strfind(player,"[M2S]",true) == 0) { SendClientMessage(playerid,COLOR_ORANGE,"Skin check ok"); } else { ForceClassSelection(playerid); gTeam[playerid] = 4; SetPlayerSkin(playerid,10); ResetPlayerWeapons(playerid); SendClientMessage(playerid,COLOR_ORANGE,"You cannot use this skin! Type /kill now!"); } return 1; } |
Quote:
else if (classid >= 49 && classid <= 52) { gTeam[playerid] = TEAM_M2S; PlayerInfo[playerid][pTeam] = 16; } |