Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » How to Turn the Ped on after a specific time
Re: How to Turn the Ped on after a specific time [message #451263 is a reply to message #446321] Thu, 11 August 2011 11:24 Go to previous messageGo to previous message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma:
General (4 Stars)
With the Get_Total_Bullets() check I don't restart the timer if the guy if the guy doesn't have any of the beacons, or if the ammo count for it is zero.

The reason the timer repeats every 0.1 secs is because the FDS crashes when the beacon is being deployed while you remove it, I'll take a look if your Select_Weapon() method works with a timer that repeats every 1, 2 or 3 seconds, which'll mean that the performance penalty is greatly reduced.

Most standard libraries implements stricmp() as doing upper-casing for both string and then applying strcmp().


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: Thu, 11 August 2011 11:26]

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
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: Need someone familiar with vehicle boning
Next Topic: Having some issues modifying the Airstrip waypoints serverside
Goto Forum:
  


Current Time: Sun Dec 29 10:28:41 MST 2024

Total time taken to generate the page: 0.00839 seconds