textdraw bar help - 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)
+--- Thread: textdraw bar help (
/showthread.php?tid=310016)
textdraw bar help - Unknown123 - 10.01.2012
pawn Код:
stock textDrawBarValue(Text:textdraw,Float:value,Float:maxvalue=1000.0)
{
//minimum = 241.000 | max = 398.000 (X pos)
TextDrawTextSize(textdraw,398.000000,44.000000);
return value;
}
how can i make this?
pawn Код:
textDrawBarValue(TD[playerid][1],5.0,10.0);
|~~~~~| //Bar
//
textDrawBarValue(TD[playerid][1],10.0,10.0);
|~~~~~~~~~~| //Bar
i want like this
https://sampforum.blast.hk/showthread.php?tid=113443 but with my function