ItsMods

Full Version: Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Help me please. 2 minutes after the start mod there is a error.
[Image: image.png]
What is the error?
try commenting out (removing) the line in your mod that says vodka and tell me what happens
Post the source.
Too many changes in string or just big values.
Try without pink word. Just self.origin
getCoords(){
self.coords = self createFontString("default", 1.2);
self.coords setPoint("CENTER", "CENTER", 0, 60);
while (1){
self.coords setText(": " + self.origin);
wait 0.01;
self.coords setText("");
}
}

The function that displays the coordinates. Which is why there is an error here? I'm just a beginner
Increase the wait or
update on trigger or
use SetValue.
(11-10-2012, 16:44)zxz0O0 Wrote: [ -> ]Increase the wait or
update on trigger or
use SetValue.
How to use SetValue?
Change wait 0.01 to wait 0.05, remove
Code:
self.coords setText("");
and change
Code:
self.coords setText(": " + self.origin);
to
Code:
self.coords setValue(self.origin);
and make a separate hud element for the text ().
Doesn't work
(11-10-2012, 17:04)Pozzuh Wrote: [ -> ]Change wait 0.01 to wait 0.05, remove
Code:
self.coords setText("");
and change
Code:
self.coords setText(": " + self.origin);
to
Code:
self.coords setValue(self.origin);
and make a separate hud element for the text ().

For the text when using setvalue

Code:
self.coords.label = ":"
Pages: 1 2 3