02.06.2013, 17:06
Question 1: You must to make variables that check if you are in minigame, race, etc.
Example:
Question 2: Show us your command and we will make anti command to remove weapons
Example:
pawn Код:
new IsInMinigame[MAX_PLAYERS];
public OnPlayerConnect(playerid);
{
IsInMinigame[playerid] = 0;
return 1;
}
CMD:givegunall(playerid, params[])
{
new targetid;
if(IsInMinigame[targetid] == 1) return SendClientMessage(targetid, -1, "Your are inside minigame and don't resive weapon from an admin!");
// Your command
return 1;
}