Scripting Help
#7

under public OnGameModeInit() put this
pawn Код:
SetTimerEx("GivePlayerMoney", 54000, false, "i", playerid);
and at the end of your script add

pawn Код:
forward GivePlayerMoney(playerid);
public GivePlayerMoney(playerid)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        GivePlayerMoney(i, 5000);
    }
    return 1;
}
Reply


Messages In This Thread
Scripting Help - by KingJohny - 30.03.2013, 18:20
Re: Scripting Help - by Pawnie - 30.03.2013, 18:28
Re: Scripting Help - by KingJohny - 30.03.2013, 18:31
Re: Scripting Help - by Pawnie - 30.03.2013, 18:34
Re: Scripting Help - by KingJohny - 30.03.2013, 18:38
Re: Scripting Help - by KingJohny - 30.03.2013, 18:50
Re: Scripting Help - by MrTinder - 30.03.2013, 19:01
Re: Scripting Help - by KingJohny - 30.03.2013, 19:09
Re: Scripting Help - by Pawnie - 30.03.2013, 19:12
Re: Scripting Help - by KingJohny - 30.03.2013, 19:14

Forum Jump:


Users browsing this thread: 1 Guest(s)