(Solved)function with tag result used before definition, forcing reparse
#1

http://pastebin.com/mfdvzUVq is whats generating the error, and the bit of code that calls this function is:
pawn Код:
GetXYInFrontOfPlayer(playerid, X, Y, 5);
GetPlayerFacingAngle(playerid, Zr);
Then
pawn Код:
car = CreateVehicle(modelid, X, Y, Z, Zr, -1, -1, -1);
And this is the error message!
Код:
warning 208: function with tag result used before definition, forcing reparse
Reply
#2

you need to put this function before that line where are you using this, and thats all
Reply
#3

Thanks, it works fine if i put it under the includes :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)