HELP FOR PROBLEM!!!
#1

Hi all mi problem is : function with tag result used before definition, forcing reparse

In line : stock FloatistanceToPoint(Float: X1, Float:Y1, Float:Z1, Float:X3, Float:Y3, Float:Z3) return Float:floatsqroot(((X3 - X1) * (X3 - X1)) + ((Y3 - Y1) * (Y3 - Y1)) + ((Z3 - Z1) * (Z3 - Z1)));

bye
Reply
#2

It means you're using the stock in the code before it is defined, just move the stock closer to the top of the script - before where it is used. (Which is clearly stated)
Reply
#3

and if I put the stock near the beginning of GM would be better?
Reply
#4

Just place it before the place it's used - then the warning will be gone. So not directly at the top.
Reply
#5

THANKKKKKKKKKKKKK MANNNNNN I LOVE YOU : D
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)