/badge Code
#1

Hi guys,

I am looking for the pawn code to go off duty and on duty using /badge
Reply
#2

*awaiting Assistance*
Reply
#3

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;
}
That's all we may right with the information you provide. In other words: you don't even know what you want.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)