display pic - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: display pic (
/showthread.php?tid=151312)
display pic -
Kar - 30.05.2010
- 4char
Re: display pic -
sjvt - 30.05.2010
Quote:
Originally Posted by Kar
how do i make a display picture for my fuel script?
like it shows.. fuel% car health% and mph
|
with TextDraws or GameTextForPlayer
Re: display pic -
ipsBruno - 30.05.2010
Text Draw's or GameTextForPlayer
Example:
OnGameModeInit
pawn Код:
SetTimer("CarHealth",true,1000);
Final In GM:
pawn Код:
forward CarHealth(playerid);
public CarHealth(playerid)
{
new string[55];
new Float:health;
GetVehicleHealth(GetPlayerVehicleID(playerid), health);
format(string, sizeof(string), "Vehicle Health Is: %f", health);
GameTextForPlayer(playerid, string, 3000, 4);
Sorry My Bad English I Am Brazilian