[ajuda]Cor de Admin
#3

so 1 coisa bom eu coloquei pra quando o admin da /trabalhar troca o Skin pra o SKinde adm Staff e mas quando ele ta /trabalhar denovo pra ele voltar com o Skin normal dele da gang mas ele nao volta olha se ta certo ai.

Quote:

if(PlayerInfo[playerid][pAdmin] >= 1)
{
if(admtrampando[playerid] > 0)
{
admtrampando[playerid] = 0;
GetPlayerName(playerid,sendername,sizeof(sendernam e));
SendClientMessageToAll(COLOR_WHITE, "|___________ Aviso da Administraзгo ___________|");
format(string, 256, "Admin: %s ID(%d) estб Jogando,/admins.",sendername, playerid);
SendClientMessageToAll(COLOR_DBLUE, string);
KillTimer(TempoAdministrador);
SetPlayerSkin(playerid);
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid,100);

}
else
{
admtrampando[playerid] = 1;
GetPlayerName(playerid,sendername,sizeof(sendernam e));
SendClientMessageToAll(COLOR_WHITE, "|___________ Aviso da Administraзгo ___________|");
format(string, 256, "Admin: %s ID(%d) estб Trabalhando,/admins.",sendername, playerid);
SendClientMessageToAll(COLOR_DBLUE, string);
SetPlayerColor(playerid, TEAM_BALLAS_COLOR);
SetPlayerSkin(playerid, 217);
TempoAdministrador = SetTimerEx("Administrador", 1000, 1, "i", playerid);

Reply


Messages In This Thread
[ajuda]Cor de Admin - by Gabriel_Halls - 01.08.2010, 02:35
Re: [ajuda]Cor de Admin - by bRn - 01.08.2010, 02:38
Re: [ajuda]Cor de Admin - by Gabriel_Halls - 01.08.2010, 03:27
Re: [ajuda]Cor de Admin - by Xapa_Halls - 14.08.2010, 15:04
Re: [ajuda]Cor de Admin - by Marco_Nutz - 14.08.2010, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)