Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Find nearest vehicle?
Re: Find nearest vehicle? [message #446666 is a reply to message #446647] Sat, 07 May 2011 15:13 Go to previous messageGo to previous message
iRANian is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: attach vehicle
Next Topic: modifying weapons&ammos with serverside scripts.dll
Goto Forum:
  


Current Time: Wed Jan 15 05:59:34 MST 2025

Total time taken to generate the page: 0.01225 seconds