pawn Код:
public OnPlayerUpdate(playerid)
{
if(AdminTrabalhando[playerid]) return 1;
static targetplayer;
targetplayer = GetPlayerTargetPlayer(playerid);
if(targetplayer != INVALID_PLAYER_ID && AdminTrabalhando[targetplayer])
{
if(GetPlayerWeapon(playerid) > 0)
{
SetPlayerArmedWeapon(playerid, 0);
GameTextForPlayer(playerid, "~r~admin", 2000, 0);
}
}
return 1;
}