SA-MP Forums Archive
Help with an 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: Help with an error. (/showthread.php?tid=368529)



Help with an error. - Dawnz - 13.08.2012

C:\Users\okguy\Desktop\Stuff\Scripting\gamemodes\I-RP.pwn(2329 : error 017: undefined symbol
"floatrowund"

Lines:
pawn Код:
stock GetVehicleSpeed(vehicleid, get3d)
{
    new Float:x, Float:y, Float:z;
    GetVehicleVelocity(vehicleid, x, y, z);
    return SpeedCheck(x, y, z, 100.0, get3d); // this is line 23298
}
Why does it display floatround as floatrowund for me?
It compiled perfectly before.
Help would be much appriciated.


Re: Help with an error. - Kindred - 13.08.2012

Show us the SpeedCheck function. You probably had a typo and typed floatrowund instead of floatround inside the function.


Re: Help with an error. - Dawnz - 13.08.2012

Oh, thank you very much, I had a typo in the #define.
Appriciated!