2 little questions about give weapon [HELP]
#2

Question 1: You must to make variables that check if you are in minigame, race, etc.
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;
}
Question 2: Show us your command and we will make anti command to remove weapons
Reply


Messages In This Thread
2 little questions about give weapon [HELP] - by mickos - 02.06.2013, 16:05
Re: 2 little questions about give weapon [HELP] - by RenSoprano - 02.06.2013, 17:06
Re: 2 little questions about give weapon [HELP] - by mickos - 02.06.2013, 17:10
Re: 2 little questions about give weapon [HELP] - by RenSoprano - 02.06.2013, 17:33
Re: 2 little questions about give weapon [HELP] - by mickos - 02.06.2013, 17:33
Re: 2 little questions about give weapon [HELP] - by RenSoprano - 02.06.2013, 17:37
Re: 2 little questions about give weapon [HELP] - by mickos - 02.06.2013, 17:42

Forum Jump:


Users browsing this thread: 2 Guest(s)