[HELP] Stock !
#1

pawn Код:
stock GetVehicleSpeed(id) // Geting speed with km/h !
{
    new Float:p[3],string[128];
    GetVehicleVelocity(id,p[0],p[1],p[2]);
    format(string,sizeof(string),"%.0f",150.0*(p[0]*p[0]+p[1]*p[1]));
    return string;
}
Line and Error:
pawn Код:
LINE: if(GetVehicleSpeed(GetPlayerVehicleID(i)) > 221) KickAntiCheat(i,"Speed Hack");

ERROR: .pwn(20699) : error 033: array must be indexed (variable "GetVehicleSpeed")
what is problem ?
Reply


Messages In This Thread
[HELP] Stock ! - by M0HAMMAD - 28.05.2015, 16:14
Re: [HELP] Stock ! - by Rudimental - 28.05.2015, 16:17
Re: [HELP] Stock ! - by Azula - 28.05.2015, 16:29
Re: [HELP] Stock ! - by bgedition - 28.05.2015, 16:56

Forum Jump:


Users browsing this thread: 2 Guest(s)