18.12.2010, 04:02
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??
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??