Re: Find nearest vehicle? [message #446666 is a reply to message #446647] |
Sat, 07 May 2011 15:13 |
iRANian
Messages: 4311 Registered: April 2011
Karma:
|
General (4 Stars) |
|
|
initalizing but not using using a variable should link correctly, unless you have 'treat warnings as errors' turned on in your compiler (most compilers warn if variables aren't used).
EDIT: closestVeh is assigned to 'o' in the inner if-loop. So the compiler shouldn't be giving that error.
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases
[Updated on: Sat, 07 May 2011 15:17] Report message to a moderator
|
|
|