Checking if near a flag.
#1

I have some problems detecting if a player is near the flag.

When gamemode starts, this flag will spawn:
pawn Код:
new PunaneLipp = CreateObject(2914, -973.6993,1077.1937,1343.9927,0, 0, 0, 96.0);
But how to check, if player is near the object "PunaneLipp"?
Because the "new" is inside brackets, so it wont work when I try to check if the player is in range, in a timer outside the GameModeInit.. so how to solve?
Reply


Messages In This Thread
Checking if near a flag. - by Dan. - 13.05.2012, 14:38
Re: Checking if near a flag. - by thefatshizms - 13.05.2012, 14:50
Re: Checking if near a flag. - by Dan. - 13.05.2012, 14:51
Re: Checking if near a flag. - by zbt - 13.05.2012, 14:57
Re: Checking if near a flag. - by Dan. - 13.05.2012, 16:27
Re: Checking if near a flag. - by Vince - 13.05.2012, 16:32
Re: Checking if near a flag. - by Dan. - 13.05.2012, 16:36

Forum Jump:


Users browsing this thread: 1 Guest(s)