something wrong with 3D text lable
#1

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
Reply
#2

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);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)