Spamming Message
#7

pawn Код:
forward Check();
public Check()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(PlayerInfo[i][pPackageLoading] == 1)
            {
                SendClientMessage(i, COLOR_LIGHTBLUE, "You are now able to load more products.");
            }
            if(PlayerInfo[i][pPackageLoading] >= 1)
            {
                PlayerInfo[i][pPackageLoading] --;
            }
            if(PlayerInfo[i][pPackageLoading] < 0)// AND WHY DO YOU NEED THIS? I WOULD DELETE THIS.
            {
                PlayerInfo[i][pPackageLoading] = 0;
            }
        }
    }
    return 1;
}
this should work
Reply


Messages In This Thread
Spamming Message - by WinterAce - 13.07.2012, 11:35
Re: Spamming Message - by clarencecuzz - 13.07.2012, 11:37
Re: Spamming Message - by WinterAce - 13.07.2012, 17:35
Re: Spamming Message - by Vince - 13.07.2012, 17:51
Re: Spamming Message - by WinterAce - 13.07.2012, 18:16
Re: Spamming Message - by Elysian` - 13.07.2012, 18:19
Re: Spamming Message - by Roko_foko - 13.07.2012, 18:28
Re: Spamming Message - by WinterAce - 13.07.2012, 18:45
Re: Spamming Message - by Vince - 13.07.2012, 19:15

Forum Jump:


Users browsing this thread: 1 Guest(s)