Little Help (Rep+)
#3

Your foreach statement should be written like so I believe:
pawn Код:
foreach(Player, j) {
    if(IsPlayerInRangeOfPoint(j, 30, X, Y, Z) && IsACop(j)) {
        copinrange = 1;
    }
}
Actually, never mind. You can write it both ways. You can find the include here if you need it:
https://sampforum.blast.hk/showthread.php?tid=92679
Reply


Messages In This Thread
Little Help (Rep+) - by Wayland - 18.01.2014, 18:10
Re: Little Help (Rep+) - by Dolby - 18.01.2014, 18:14
Re: Little Help (Rep+) - by InglewoodRoleplay - 18.01.2014, 18:17
Re: Little Help (Rep+) - by Wayland - 18.01.2014, 18:32
Re: Little Help (Rep+) - by M3HR4N - 18.01.2014, 19:21

Forum Jump:


Users browsing this thread: 1 Guest(s)