Help CMD repair
#8

Quote:
Originally Posted by AlexPalermitano97
Посмотреть сообщение
Ok but I want to show the current life of the vehicle in 1000. How do I?
How do it, indeed.

If you set the vehicle's health to 999, it'll show 999.

If you don't want to set the vehicle health to 999, remove this line:

Код:
      SetVehicleHealth(id, 999.0);
As you have repaired the vehicle beforehand.

EDIT: As you edited your comment, I don't know if you meant to say this, if this is not the answer you were looking for, let me know

EDIT 2:

Also, adding to my previous post:

I don't know how to explain myself regarding this, but you have to "close" the conditions so the program does not get confused:
PHP код:
 if(PlayerToPoint(6.0playerid992.987121,-1659.088134,14.559866) || PlayerToPoint(6.0playerid992.834289,-1650.768920,14.559599) && IsPlayerInAnyVehicle(playerid)) 
may mean PlayerToPoint(2) && IsPlayerInAnyVehicle(playerid) or PlayerToPoint(1)

I don't know if i'm clear, anyway close them to avoid confusion, like this:

PHP код:
 if( ( PlayerToPoint(6.0playerid992.987121,-1659.088134,14.559866) || PlayerToPoint(6.0playerid992.834289,-1650.768920,14.559599) ) && IsPlayerInAnyVehicle(playerid)) 
Reply


Messages In This Thread
Help CMD repair - by AlexPalermitano97 - 16.03.2017, 17:43
Re: Help CMD repair - by GoldenLion - 16.03.2017, 18:13
Re: Help CMD repair - by AlexPalermitano97 - 16.03.2017, 19:06
Re: Help CMD repair - by RyderX - 16.03.2017, 19:09
Re: Help CMD repair - by Bolex_ - 16.03.2017, 19:11
Re: Help CMD repair - by Toroi - 16.03.2017, 19:24
Re: Help CMD repair - by AlexPalermitano97 - 16.03.2017, 19:25
Re: Help CMD repair - by Toroi - 16.03.2017, 19:28
Re: Help CMD repair - by AlexPalermitano97 - 16.03.2017, 19:59
Re: Help CMD repair - by AlexPalermitano97 - 16.03.2017, 20:02

Forum Jump:


Users browsing this thread: 3 Guest(s)