problem with antispeedhack
#1

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?
Reply
#2

The wiki says

pawn Код:
GetPlayerSpeed(5); //5 = the ID of the players speed you want to get.
So try removing true.
Reply
#3

GetPlayerSpeed doesnt even exists in samp wiki...
Try deleting the "true"
Reply
#4

Removed,working,thanks.
Reply
#5

Quote:
Originally Posted by alpha500delta
Посмотреть сообщение
GetPlayerSpeed doesnt even exists in samp wiki...
Try deleting the "true"
https://sampwiki.blast.hk/wiki/Useful_Fu...GetPlayerSpeed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)