31.01.2014, 07:22
Код:
new Option2[10]; if(strcmp(Option, "joinrank", true) == 0) { if(sscanf(Option2, "i", RankID)) { if(PlayerInfo[playerid][pRank] >= 2) { SendClientMessage(playerid, COLOR_RED, "You're not high enough to set joinrank."); return 1; } DynamicFactions[faction][fJoinRank] = RankID; format(string, sizeof(string), "[FACTION] Join rank is now set too %s.", RankID); SendFactionMessage(faction, COLOR_LIGHTRED, string); return 1; } }