Little help please
#4

Deathmatchon[playerid] = false;

do it

EDIT:

sorry

change
pawn Код:
new Deathmatchon[MAX_PLAYERS];
to
pawn Код:
new Deathmatchon;
and correct

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == DeathMatch)
    {
       if (Deathmatchon == true)
       {
           SendClientMessage(playerid, -1, "There is already a death match on!");
       }
       else if (Deathmatchon == false)
       {
           ShowPlayerDialog(playerid, Deathmatch, DIALOG_STYLE_LIST, "DeathMatch list", "LS carpark DM\nLV warehouse DM\nSF tennis courts" , "Yes", "No"); // Add more if you want!
       }
    }
    return 1;
}
Reply


Messages In This Thread
Little help please - by LeXuZ - 13.12.2014, 22:18
Re: Little help please - by Mic_H - 14.12.2014, 02:05
Re: Little help please - by LeXuZ - 14.12.2014, 14:31
Re: Little help please - by Ryz - 14.12.2014, 14:46
Re: Little help please - by SickAttack - 14.12.2014, 15:05
Re: Little help please - by Ryz - 14.12.2014, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)