Limit max players in a deathmatch ?
#3

At the top:
Код:
new dm3;// to count players joined.
In OnPlayerCommandText
Код:
if(strcmp("/pm", cmdtext, true) == 0)
{
   if(dm3 == 0)
   {
     dm3++;
     // make player teleport to deathmatch
   }
   if(dm3 == 2)
   {
     SendClientMessage(playerid, COLOR, "The deathmatch is full. You have to wait.");
   }
   return 1;
}
Reply


Messages In This Thread
Limit max players in a deathmatch ? - by Shoko Lacho - 17.05.2010, 17:48
Re: Limit max players in a deathmatch ? - by Jeffry - 17.05.2010, 17:55
Re: Limit max players in a deathmatch ? - by deather - 17.05.2010, 17:55
Re: Limit max players in a deathmatch ? - by Naxix - 17.05.2010, 18:02
Re: Limit max players in a deathmatch ? - by Shoko Lacho - 17.05.2010, 19:15
Re: Limit max players in a deathmatch ? - by deather - 18.05.2010, 08:57

Forum Jump:


Users browsing this thread: 1 Guest(s)