Hey ich weiß einfach nicht was ich falsch gemacht habe:
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2245) : error 017: undefined symbol "GetVehicleVeloCity"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2245) : warning 202: number of arguments does not match definition
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2245) : error 001: expected token: ",", but found ";"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2249) : error 017: undefined symbol "GetPlayerVeloCity"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2252) : error 017: undefined symbol "rtn"
C:\Users\Dustin\Desktop\SA-MP Server\gamemodes\selfmade.pwn(2253) : error 017: undefined symbol "rtn"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
getPlayerSpeed(playerid)
{
new Float: x, Float: y, Float: z;
if(IsPlayerInAnyVehicle(playerid))
{
GetVehicleVeloCity(GetPlayerVehicleID(playerid, x, y, z); //2245
}
else
{
GetPlayerVeloCity(playerid, x, y, z); //2249
}
//rtn =wurzel(x*x + y*y + z*z
rtn = floatsqroot( x*x + y*y + z*z); //2252
return floatround(rtn * 100 * 1.61); //2253
}