19.06.2013, 22:32
Код:
stock Demitir(playerid, para1) { format(gstring, sizeof(gstring), "* Vocк foi demitido pelo lнder %s Motivo: Limpou sua Vaga.", PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTRED, gstring); SendClientMessage(para1, COLOR_LIGHTRED, "* Agora vocк й um civil novamente."); gTeam[para1] = 3; PlayerInfo[para1][pTeam] = 3; PlayerInfo[para1][pMembro] = 0; PlayerInfo[para1][pCargo] = 0; if(PlayerInfo[para1][pSex] == 1) { PlayerInfo[playerid][pSkin] = 23; } else { PlayerInfo[playerid][pSkin] = 41; } SetSpawnInfo(para1, gTeam[para1], PlayerInfo[para1][pSkin],0.0,0.0,0.0,0,0,0,0,0,0,0); MedicBill[para1] = 0; SpawnPlayer(para1); }