Create3DTextLabels as Business - 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: Create3DTextLabels as Business (
/showthread.php?tid=193365)
Create3DTextLabels as Business -
Berky - 25.11.2010
Well, I tried to make a label to a business, to make it show the owner, fee and such, but it doesn't seem to work.
Feew things I tried:
Код:
format(string, sizeof(string), "~w~%s~w~~n~Owner : %s~n~Entrance Fee : ~g~$%d ~w~Level : %d.",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevelNeeded]);
strmid(bizname, BizzInfo[h][bMessage], 0, strlen(BizzInfo[h][bMessage]), 255);
BizzInfo[h][bMessage] = Create3DTextLabel(bizname,COLOR_HOUSETEXT,BizzInfo[h][bEntranceX],BizzInfo[h][bEntranceY],BizzInfo[h][bEntranceZ]+0.88,20.0,0,1);
Not of these seem to work, by the way I get a message of a tag mismatch so, I didnt do something good, I really want this, could someone show an explanation?
Thanks, Berky Brada.
Re: Create3DTextLabels as Business -
Austin - 25.11.2010
bMessage needs to be formatted as "Text3D: bMessage" in the enum.
Re: Create3DTextLabels as Business -
Berky - 26.11.2010
Could you give an example of it?