10.10.2014, 20:31
pawn Код:
new bool:OnDuty[MAX_PLAYERS];
CMD:badge(playerid)
{
if(OnDuty[playerid]) SendClientMessage(playerid, 0xFF0000FF, "You went off duty");
else SendClientMessage(playerid,0x00FF00FF," You are now on duty.");
OnDuty[playerid] = !OnDuty[playerid];
return 1;
}