Hallo Community , ich habe ein Problem mit ein FS ich hoffe sie können mir helfen
stock PushPlayer(playerid, Float:X, Float:Y)
{
new
Float:pX,
Float:pY,
Float:pZ;
GetPlayerPos(playerid, pX, pY, pZ);
new Float:ang = (-acos((X - pX) / floatsqroot((X - pX)*(X - pX) + (Y - pY)*(Y - pY))) - 90.0);
pX = (-3 * floatsin(-ang, degrees));
pY = (-3 * floatcos(-ang, degrees));
if(GetPlayerState(playerid) == 2)
{
SetVehicleVelocity(GetPlayerVehicleID(playerid), pX, pY, 1.0);
SetVehicleHealth(GetPlayerVehicleID(playerid), 0.0);
}
else if(GetPlayerState(playerid) == 1)
{
SetPlayerVelocity(playerid, pX, pY, 1.0);
}
SetPlayerHealth(playerid, 1.0);
return 0;
2 Errors
C:\Documents and Settings\2D7E88D7\Desktop\samp03asvr_R8_win32(3)\filterscripts\tollin.pwn(217) : error 017: undefined symbol "SetVehicleVelocity"
C:\Documents and Settings\2D7E88D7\Desktop\samp03asvr_R8_win32(3)\filterscripts\tollin.pwn(222) : error 017: undefined symbol "SetPlayerVelocity"
Ich bin für jede hilfreiche Antwort dankbar
mfg Exton