SOMETHING MAKE ME CONFUSED WITH CreateVehicle CODE - CAN YOU EXPLANE ME? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SOMETHING MAKE ME CONFUSED WITH CreateVehicle CODE - CAN YOU EXPLANE ME? (
/showthread.php?tid=112350)
SOMETHING MAKE ME CONFUSED WITH CreateVehicle CODE - CAN YOU EXPLANE ME? -
buonggiorno - 07.12.2009
Hi to all
ok here is one example of create vehicle
Код:
CreateVehicle(494,-1401.0436,-210.0052,1042.9913,1.6623,1,0,60000);
Everything in this code i know, but there is one thing....this number at the end 60000 how many minutes is that or hours or what?
tnx for answer
Re: SOMETHING MAKE ME CONFUSED WITH CreateVehicle CODE - CAN YOU EXPLANE ME? -
Grim_ - 07.12.2009
That is calculated in milliseconds.
1000 millisecond = 1 second so,
60000 milliseconds = 60 seconds.
Re: SOMETHING MAKE ME CONFUSED WITH CreateVehicle CODE - CAN YOU EXPLANE ME? -
buonggiorno - 07.12.2009
so if i left car somewhere, it reapawn at 60 seconds?
Re: SOMETHING MAKE ME CONFUSED WITH CreateVehicle CODE - CAN YOU EXPLANE ME? -
Grim_ - 07.12.2009
Quote:
Originally Posted by buonggiorno
so if i left car somewhere, it reapawn at 60 seconds?
|
Yeah, if someone does not re-enter the car within 60 seconds, it will respawn.
Re: SOMETHING MAKE ME CONFUSED WITH CreateVehicle CODE - CAN YOU EXPLANE ME? -
Donny_k - 07.12.2009
It's seconds not milliseconds.
Re: SOMETHING MAKE ME CONFUSED WITH CreateVehicle CODE - CAN YOU EXPLANE ME? -
buonggiorno - 07.12.2009
Quote:
Originally Posted by Donny
It's seconds not milliseconds.
|
SO 60000 IS HOW MUCH MINUTES, HOURS?
Re: SOMETHING MAKE ME CONFUSED WITH CreateVehicle CODE - CAN YOU EXPLANE ME? -
Joe Staff - 07.12.2009
1000 minutes, 16.66 hours. Do you not understand simple math? Arithmetic isn't that hard.
Caps Lock is cruise control to Coolsville.
Re: SOMETHING MAKE ME CONFUSED WITH CreateVehicle CODE - CAN YOU EXPLANE ME? -
*ToM* - 07.12.2009
Quote:
Originally Posted by buonggiorno
Quote:
Originally Posted by Donny
It's seconds not milliseconds.
|
SO 60000 IS HOW MUCH MINUTES, HOURS?
|
if you will put 60000 your car will respawn after 60seconds, simple as that.