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 |
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
|
|
|