[Solved] Repair A Vehicle?
#1

I need to know what the highest vehicle health is (100,1000?)
The script is:

Код:
	if(strcmp(cmdtext, "/fix", true) == 0)
{
  if(IsPlayerInAnyVehicle(playerid))
  {
    RemovePlayerFromVehicle(playerid);
    TogglePlayerControllable(playerid,1);
    SetVehicleHealth(GetPlayerVehicleID(playerid),????);
  }
  else
  {
     SendClientMessage(playerid,COLOR_RED," You Must Be In A Car!");
     return 1;
  }
Reply
#2

1000

On 249 the vehicle is on fire
Reply
#3

Quote:
Originally Posted by Dujma
1000

On 249 the vehicle is on fire
dam you were faster
But are you sure its on 249? I always thought it was already at 250
Reply
#4

Quote:
Originally Posted by Mauzen
Quote:
Originally Posted by Dujma
1000

On 249 the vehicle is on fire
dam you were faster
But are you sure its on 249? I always thought it was already at 250
I belive so. Few days ago I was making a engine and repair system and I think it is on 249.
Reply
#5

Ok, I never really tested it out, but just had 250 in mind.
Reply
#6

Thanks I have this working now
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)