Posts: 104
Threads: 37
Joined: Jul 2010
Reputation:
0
Hi second time,
Please tell me anyone how to make function wich would show vehicle health in numeric.. Thanks
Posts: 1,079
Threads: 64
Joined: Jan 2010
Didn't tested it, but should work:
pawn Код:
new Float:health, msg[128];
format(msg, sizeof(msg), "Vehicle health: %d", GetVehicleHealth(GetPlayerVehicleID(playerid), health));
SendClientMessage(playerid, *YOURCOLORGOESHERE*, msg);
Posts: 104
Threads: 37
Joined: Jul 2010
Reputation:
0
[XST]O_x now shows 0.000000