Simple 3dtext error - 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)
+--- Thread: Simple 3dtext error (
/showthread.php?tid=616328)
Simple 3dtext error -
StR_MaRy - 03.09.2016
Hey guys i just compile a gamemode and i get this error
Код HTML:
C:\Users\StR\Desktop\Scripting\snake\gamemodes\server.pwn(29483) : warning 208: function with tag result used before definition, forcing reparse
is at this line:
Код HTML:
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);
}
can some1 give me an idea ?
i used instead of "stock" i put "function" and after i compiled it said that "is not implemented"
Re: Simple 3dtext error -
luke49 - 03.09.2016
Move your stock at the top of your script.
Re: Simple 3dtext error -
StR_MaRy - 03.09.2016
thx , it worked