Event System
#8

Try this :
pawn Код:
if(PlayerInfo[i][DMEvent] <= 1)
{        
        new Float:player_health;
        GetPlayerHealth(i, player_health);
    if(player_health > 0 || GetPlayerState(i) != PLAYER_STATE_WASTED || PlayerInfo[i][DMEvent] == 1)
    {
        Players++;
    }
    if(Players == 1)
    {
              SendClientMessageToAll(-1, "DM Event Has Cancelled, Type \"/DMEvent\" to create new Match!!");
          PlayerTextDrawHide(i,TextdrawB2[i]);
          DMEventTime[i] = 10 ;
          KillTimer(timer1);
          Players = 0;
          ResetPlayerWeapons(i);
          PlayerInfo[i][DMEvent] = 0;
          LoadStats(i);
     }
Reply


Messages In This Thread
Event System - by chubz - 27.04.2014, 05:16
Re: Event System - by chubz - 27.04.2014, 06:31
Re: Event System - by spykidz01 - 27.04.2014, 07:20
Re: Event System - by BroZeus - 27.04.2014, 07:23
Re: Event System - by chubz - 27.04.2014, 07:57
Re: Event System - by chubz - 27.04.2014, 10:03
Re: Event System - by chubz - 27.04.2014, 11:22
Re: Event System - by Ahmad45123 - 27.04.2014, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)