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