10.10.2014, 20:11
Hi guys,
I am looking for the pawn code to go off duty and on duty using /badge
I am looking for the pawn code to go off duty and on duty using /badge
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;
}