15.08.2012, 22:30
Код:
if(strcmp(cmd, "/entrarorg1", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pVIP] >= 3) { if(PlayerInfo[playerid][pMembro] != 0 || PlayerInfo[playerid][pLider] != 0) { SendClientMessage(playerid, COLOR_GREY, "Olб Sуcio,Vocк Precisa /pedircontas para trocar de organizaзгo"); return true; } PlayerInfo[playerid][pMembro] = 1; SetPlayerColor(playerid, COR_PM); PlayerInfo[playerid][pCargo] = 4; SetPlayerSkin(playerid,280); PlayerInfo[playerid][pSkin] = 280; ConviteInfoOrg(PlayerName(playerid), 1, 1); SetPlayerSpawn(playerid); } } return true; }