27.07.2012, 12:42
pawn Код:
if(!strcmp("/pedircontas", cmdtext, true))
{
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;
}