SA-MP Forums Archive
Help with this Script line/code - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with this Script line/code (/showthread.php?tid=200328)



Help with this Script line/code - ifly4life - 18.12.2010

ok so i get this error whenever i compile it: pwn(34) : error 017: undefined symbol "GetVehicleVelocity"
this is the line/code it's in: GetSpeed(id) { new Float[4]; GetVehicleVelocity(GetPlayerVehicleID(id),s[0],s[1],s[2]); return floatround((1.61-MPH)*floatsqroot(floatabs(floatpower(s[0]+s[1]+s[2],2)))*100); }
So can anyone help??


Re: Help with this Script line/code - Grim_ - 18.12.2010

Update to the new SA:MP libraries, found here: http://sa-mp.com/download.php

Make sure to replace ALL the .inc files found: Server Root\Pawno\Includes