13.05.2012, 14:38
I have some problems detecting if a player is near the flag.
When gamemode starts, this flag will spawn:
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?
When gamemode starts, this flag will spawn:
pawn Код:
new PunaneLipp = CreateObject(2914, -973.6993,1077.1937,1343.9927,0, 0, 0, 96.0);
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?