Money Timer
#4

Quote:
Originally Posted by † мąүқоҳ™
pawn Код:
//ontop
forward Money(playerid);
//ongamemodeint
SetTimer("Money",30000,1);
//on bottom
public Money(playerid)
{
    GivePlayerMoney(playerid, 25000);
    return 1;
}
Your code won't work.

pawn Код:
forward myTimer();
pawn Код:
/* under OnGameModeInit/OnFilterScriptInit (depends where do you want to use it) */
SetTimer("myTimer", 60000, true);
pawn Код:
public myTimer()
{
  for(new u = 0; u < MAX_PLAYERS; u++) GivePlayerMoney(u, 25000);
  return true;
}
Reply


Messages In This Thread
Money Timer - by Sajtos - 22.03.2010, 18:38
Re: Money Timer - by MrLeNy - 22.03.2010, 18:42
Re: Money Timer - by MaykoX - 22.03.2010, 18:43
Re: Money Timer - by Correlli - 22.03.2010, 18:45
Re: Money Timer - by Sajtos - 23.03.2010, 15:49
Re: Money Timer - by Joe_ - 23.03.2010, 16:15
Re: Money Timer - by ColdXX - 23.03.2010, 16:36
Re: Money Timer - by Joe_ - 23.03.2010, 16:37
Re: Money Timer - by ColdXX - 23.03.2010, 16:40
Re: Money Timer - by Joe_ - 23.03.2010, 16:41

Forum Jump:


Users browsing this thread: 1 Guest(s)