Auto Car Repair?
#9

Quote:
Originally Posted by BlackbirdXd
Посмотреть сообщение
PHP код:
if(gvh 999
What's wrong in this condition, and why you're condition would work instead of this meaning of both condition is same.

PHP код:
CreateDynamicObject(9732972.29882812, -990.1538085913.389506340.000000000.00000000131.00933838); 
Spammed into gm.
You can use gvh < 999 as well, it will just repair the vehicle once the health drops below 999, whereas gvh != 1000 repairs the vehicle if it is not 1000 (higher or lower than 1000).

Regarding the mappings, depends what you are using to map.
If it's MTA for example, there are includes or plugins that can load a .map file so you don't need to paste that code into your gm. Good solution, you can edit the map without recompiling the script, etc.
Reply


Messages In This Thread
Auto Car Repair? - by BlackbirdXd - 10.03.2017, 09:40
Re: Auto Car Repair? - by Toroi - 10.03.2017, 09:45
Re: Auto Car Repair? - by NaS - 10.03.2017, 10:55
Re: Auto Car Repair? - by BlackbirdXd - 10.03.2017, 15:01
Re: Auto Car Repair? - by TitanX - 10.03.2017, 15:09
Re: Auto Car Repair? - by BlackbirdXd - 10.03.2017, 18:12
Re: Auto Car Repair? - by TitanX - 10.03.2017, 18:22
Re: Auto Car Repair? - by BlackbirdXd - 10.03.2017, 18:26
Re: Auto Car Repair? - by NaS - 10.03.2017, 18:37
Re: Auto Car Repair? - by Toroi - 10.03.2017, 20:35

Forum Jump:


Users browsing this thread: 2 Guest(s)