27.07.2012, 03:03
Acho q й onde voce abre e fecha no if(PlayerInfo[playerid][pLider]>=1)
pawn Код:
if(!strcmp("/pedircontas", cmdtext, true))
{
if(PlayerInfo[playerid][pLider] >= 1)
{//ERA PRA TER ALGUMA COISA AKI???
}
gTeam[playerid] = 3;
PlayerInfo[playerid][pTeam] = 3;
PlayerInfo[playerid][pMembro] = 0;
PlayerInfo[playerid][pLider] = 0;
PlayerInfo[playerid][pCargo] = 0;
MedicBill[playerid] = 0;
SpawnPlayer(playerid);
MedicBill[playerid] = 0;
DemitirInfoOrg(PlayerName(playerid));
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Voce pediu as contas, agora й Civil novamente!");
if(PlayerInfo[playerid][pSex] == 1)
{
SetPlayerSkin(playerid, 7);
PlayerInfo[playerid][pSkin] = 7;
}
else if(PlayerInfo[playerid][pSex] == 2)
{
SetPlayerSkin(playerid, 40);
PlayerInfo[playerid][pSkin] = 40;
}
return 1;
}