Jump to content
  • 0

2 warninguri


ezeKieL.

Question

(29456) : warning 208: function with tag result used before definition, forcing reparse

- stock Text3D:CreateStreamed3DTextLabel(const string[], color, Float:posx, Float:posy, Float:posz, Float:draw_distance, virtualworld, testlos = 0)

(13872) : warning 204: symbol is assigned a value that is never used: "RobSec"

-        RobSec = 60;

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Functiile care au un tag, in cazul tau Text3D trebuie sa fie definite inainte sa fie folosite in script. Al doilea avertisment nu e nimic cu el, poti doar sa stergi variabila aia, nu este folosita, este doar definita.

Link to comment
Share on other sites

  • 0
Acum 12 minute, Lunoxx a spus:

Pune-l mai sus in script.

new Text3D;
stock Text3D:CreateStreamed3DTextLabel(const string[], color, Float:posx, Float:posy, Float:posz, Float:draw_distance, virtualworld, testlos = 0)
{
    return CreateDynamic3DTextLabel(string, color, posx, posy, posz, draw_distance, INVALID_PLAYER_ID, INVALID_PLAYER_ID, testlos, virtualworld, -1, -1, 100.0);
}

Si primesc.

 

warning 208: function with tag result used before definition, forcing reparse

warning 203: symbol is never used: "Text3D"

Edited by ezeKieL.
Link to comment
Share on other sites

  • 0

.. nu prea inteleg ce vrei sa faci..

 

new Text3D: nume;

nume = CreateDynamic3DTextLabel..........

Link to comment
Share on other sites

  • 0

Deci am in gm 

new    Text3D:giftbox3DText;

giftbox3DText = CreateStreamed3DTextLabel("WorldGame Giftbox\n\nUse /getgift to get a gift.",0xA9C4E4CC,834.2477,-2052.5186,12.8672+0.25,8.0,0);

Dar mie imi da warning la 

stock Text3D:CreateStreamed3DTextLabel(const string[], color, Float:posx, Float:posy, Float:posz, Float:draw_distance, virtualworld, testlos = 0)
{
    return CreateDynamic3DTextLabel(string, color, posx, posy, posz, draw_distance, INVALID_PLAYER_ID, INVALID_PLAYER_ID, testlos, virtualworld, -1, -1, 100.0);
}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.