26.02.2010, 06:57
Quote:
Originally Posted by Babul
iam sure you know where to put these parts in...
Код:
SetTimer("TimerPirateShip",3000,true); Код:
forward TimerPirateShip(); public TimerPirateShip() { new ID; for(ID=0;ID<MAX_PLAYERS;ID++) { if(IsPlayerInRangeOfPoint(ID, 20.0, 2000.6755,1543.2694,13.5859)) { GivePlayerMoney(playerid,50); } } } |
Use my code, it will work
@Babul
Btw i suggest using this loop instead of yours as it is faster.
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)