Storing vehicle ID into a variable
#6

I did some benchmarking for this, here are the results if anyone is interested (Note: VehicleID is the player's vehicle variable):

pawn Код:
// First time
[04:57:18] GetPlayerVehicleID took 262 ms to execute
[04:57:19] VehicleID took 231 ms to execute
// Second time
[04:57:47] GetPlayerVehicleID took 308 ms to execute
[04:57:47] VehicleID took 218 ms to execute
// Third time
[04:57:49] GetPlayerVehicleID took 260 ms to execute
[04:57:49] VehicleID took 215 ms to execute
Reply


Messages In This Thread
Storing vehicle ID into a variable - by Tee - 22.07.2012, 01:17
Re: Storing vehicle ID into a variable - by leonardo1434 - 22.07.2012, 01:37
Re: Storing vehicle ID into a variable - by Tee - 22.07.2012, 01:41
Re: Storing vehicle ID into a variable - by leonardo1434 - 22.07.2012, 01:52
Re: Storing vehicle ID into a variable - by Kindred - 22.07.2012, 01:59
Re: Storing vehicle ID into a variable - by [KHK]Khalid - 22.07.2012, 02:50

Forum Jump:


Users browsing this thread: 1 Guest(s)