03.01.2013, 21:05
Bom, vamos lб...
pawn Код:
if(OnDuty[playerid]==0)
{
format(string, sizeof(string), "Oficial %s Colocou a Farda.", sendername);
OOCNews(COLOR_DBLUE,string);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
OnDuty[playerid] = 1;
EmpregoDuty[playerid] = 2;
Copsronda += 1;
SetPlayerSkin(playerid,SKINCOP) // Substitua SKINCOP pela Skin da ORG.
}
else if(OnDuty[playerid]==1)
{
format(string, sizeof(string), "Oficial %s Estб de Folga.", sendername);
OOCNews(COLOR_DBLUE,string);
OnDuty[playerid] = 0;
EmpregoDuty[playerid] = 0;
Copsronda -= 1;
SetPlayerSkin(playerid,SKIN) // Substitua SKIN pela skin normal do player.
}