one question
#1

okay to make a system like that you hit with your car to take health if it can you give me the link or I will do my very grateful
Reply
#2

what you mean can you explain bether ? you wont when you hit (wich what) to take cars hp ?
Reply
#3

He means a system to take player HP when he crashes the car against something..
Reply
#4

when any player hit with car to take player health
Reply
#5

Do you mean, if player hits another car/object with his car the player lose HP ?
Reply
#6

Quote:
Originally Posted by RanSEE
Посмотреть сообщение
Do you mean, if player hits another car/object with his car the player lose HP ?
Yes this
Reply
#7

Try this.

pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
        new Float:vehHealth;
        GetVehicleHealth(vehicleid, vehHealth);
        SetPlayerHealth(playerid, vehHealth);
Reply
#8

Use OnVehicleUpdate to check if the HP went down and if so, take player HP...
Reply
#9

Quote:
Originally Posted by ricardo178
Посмотреть сообщение
Use OnVehicleUpdate to check if the HP went down and if so, take player HP...
Can you create me a code ?
Reply
#10

Quote:
Originally Posted by RanSEE
Посмотреть сообщение
Try this.

pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
        new Float:vehHealth;
        GetVehicleHealth(vehicleid, vehHealth);
        SetPlayerHealth(playerid, vehHealth);
Can you even see ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)