does anyone know how to put the vehicle's health shopwn as the player's health ?
#10

Quote:
Originally Posted by AlbanianGuy
nono i am jsut saying htat i dont know how to put it there , can u help me how to and hwere to put it ? pls
Lol man, open pawno, then open your GM or FS, do CTRLl+F, put "public OnPlayerExitVehicle(playerid, vehicleid)" (without " ") , and then paste this:

Quote:

public OnPlayerExitVehicle(playerid, vehicleid)
{
SetPlayerHealth(playerid, 0.0);
return 1;
}

You press F5, (not F and then 5), and it will be compiled, then you open server.cfg and on FS line just put the name of that *.pwn.

Wasent easy?

Bye
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)