#2

Please note this solution requires the streamer plugin here https://sampforum.blast.hk/showthread.php?tid=102865
and foreach include here https://sampforum.blast.hk/showthread.php?tid=92679

pawn Код:
new MoneyArea;

OnGameModeInit()
{
    MoneyArea = CreateDynamicSphere(0.0, 0.0, 0.0, 3.0);
    SetTimer("CheckMoney", 1788, true);
}

forward CheckMoney()
public CheckMoney()
{
    foreach(new i : Player)
    {
        if(IsPlayerInDynamicArea(i)) GivePlayerMoney(i, 10);
    }
}
Reply


Messages In This Thread
Zone - by lsreskjn - 01.05.2013, 21:27
Re: Zone - by Pottus - 01.05.2013, 21:45
Re: Zone - by lsreskjn - 01.05.2013, 21:55
Re: Zone - by Pottus - 01.05.2013, 22:11
Re: Zone - by lsreskjn - 01.05.2013, 22:36

Forum Jump:


Users browsing this thread: 1 Guest(s)