problem with antispeedhack - 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: problem with antispeedhack (
/showthread.php?tid=214850)
problem with antispeedhack -
Face9000 - 22.01.2011
Hi all,im making a sort of antispeedhack (vehicle speedhack) and i've a problem with this:
pawn Код:
speed = GetPlayerSpeed(i, false);
Line for normal cars antispeedhack.
2nd line for check if player is in a plane:
pawn Код:
speed = GetPlayerSpeed(i, true);
In both of lines,i got this warnings:
warning 202: number of arguments does not match definition
What's wrong?
Re: problem with antispeedhack -
Haydz - 22.01.2011
The wiki says
pawn Код:
GetPlayerSpeed(5); //5 = the ID of the players speed you want to get.
So try removing true.
Re: problem with antispeedhack -
alpha500delta - 22.01.2011
GetPlayerSpeed doesnt even exists in samp wiki...
Try deleting the "true"
Re: problem with antispeedhack -
Face9000 - 22.01.2011
Removed,working,thanks.
Re: problem with antispeedhack -
Haydz - 22.01.2011
Quote:
Originally Posted by alpha500delta
GetPlayerSpeed doesnt even exists in samp wiki...
Try deleting the "true"
|
https://sampwiki.blast.hk/wiki/Useful_Fu...GetPlayerSpeed