SA-MP Forums Archive
something wrong with 3D text lable - 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: something wrong with 3D text lable (/showthread.php?tid=116693)



something wrong with 3D text lable - WardenCS - 29.12.2009

Hey,wanted to add some text labels.
1 of them is that:
format(string1, sizeof(string), "[PRISON]");
Create3DTextLabel(string,0x006400FF,1407.2914,-2445.9465,13.9038+1,15,0,1);

but when i went to check it,it wasnt "[PRISON]" it showed "Nothing",
whats wrong with it?thanks


Re: something wrong with 3D text lable - Eazy_Efolife - 29.12.2009

Quote:
Originally Posted by Fog
Hey,wanted to add some text labels.
1 of them is that:
format(string1, sizeof(string), "[PRISON]");
Create3DTextLabel(string,0x006400FF,1407.2914,-2445.9465,13.9038+1,15,0,1);

but when i went to check it,it wasnt "[PRISON]" it showed "Nothing",
whats wrong with it?thanks
What's the point of the format?
Delete
Код:
format(string1, sizeof(string), "[PRISON]");
and Replace
Код:
Create3DTextLabel(string,0x006400FF,1407.2914,-2445.9465,13.9038+1,15,0,1);
with
Create3DTextLabel("[PRISON]",0x006400FF,1407.2914,-2445.9465,13.9038+1,15,0,1);