18.03.2012, 17:01
This should work mate.
pawn Код:
if(strcmp(cmd, "/leavefaction", true) == 0)
{
if(IsPlayerConnected(playerid))
{
PlayerInfo[playerid][pLeader] = 0;
PlayerInfo[playerid][pFMember] = 0;
PlayerInfo[playerid][pRank] = 0;
return 1;
}
}