Ticket/Quota System
#2

What does the /work do ?

Payday of tickets:

Add this ontop of your script.

pawn Код:
enum pDat
{
ticket,
}
new pdata[MAX_PLAYERS][pDat];

place this somewhere:
pawn Код:
forward Payday();
public Payday()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
     {
        pdata[i][ticket] = 1;
     }
}
Put this under OnGameModeInIt
pawn Код:
SetTimer("Payday",300000,1);
Ticket paydays are set to a payday per 5 minutes
Reply


Messages In This Thread
Ticket/Quota System - by [IND]Crazy - 06.04.2014, 08:34
Re: Ticket/Quota System - by Equuuuin0X - 06.04.2014, 09:23
Re: Ticket/Quota System - by [IND]Crazy - 06.04.2014, 09:36
Re: Ticket/Quota System - by Equuuuin0X - 06.04.2014, 09:54

Forum Jump:


Users browsing this thread: 1 Guest(s)