06.04.2014, 08:54
pawn Код:
new minigundisable;
CMD:givememinigun(playerid, params[])
{
if(minigundisable == 1) return SendClientMessage(playerid, 0xFF0000AA, "This Command is disabled");
else if(minigundisable == 0)
{
//Type Your Things here, if its available...
}
return 1;
}
CMD:allowminigun(playerid, params[])
{
if(minigundisable == 0)
{
SendClientMessage(playerid, 0xFF0000AA, "You've Disabled Admin, using /givememinigun Command");
minigundisable = 1;
}
else if(minigundisable == 1)
{
SendClientMessage(playerid, 0xFF0000AA, "You've Enable Admin, using /givememinigun Command");
minigundisable = 0;
}
return 1;
}