SA-MP Forums Archive
Create3DTextLabel Question - 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: Create3DTextLabel Question (/showthread.php?tid=395686)



Create3DTextLabel Question - UnknownGamer - 27.11.2012

Hi,

If I have a value, lets say "new fbipolice = 5000;"

How would I show this in a Create3DTextLabel? Like [FBI Police Online: 5000]?

Is this possible?


Re: Create3DTextLabel Question - ViniBorn - 27.11.2012

Yes.
Ex:
pawn Код:
new VBString[64];
format(VBString,64,"[FBI Police Online: %d]",fbipolice);
Update3DTextLabelText(3DID,-1,VBString);



Re: Create3DTextLabel Question - GoldZoroGrab - 27.11.2012

be more spacific:

1- where u want to put it?
2- on a player?
3- wich players?

and be much spacific