12/06/2022 22:04
tava tentando fazer uma anti-fall com a include "callbacks" .
ao tentar compilar tenho isso:
C:\Users\leo\Desktop\Server037\pawno\include\callbacks.inc(363) : error 017: undefined symbol "GetPlayerPoolSize"
C:\Users\leo\Desktop\Server037\pawno\include\callbacks.inc(940) : error 017: undefined symbol "GetVehiclePoolSize"
C:\Users\leo\Desktop\Server037\pawno\include\callbacks.inc(1153) : error 017: undefined symbol "GetPlayerPoolSize"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
Código:
#include <a_samp>
#include <callbacks>
public OnPlayerFall(playerid, Float:damage)
{
return 1;
}
public OnPlayerCrashVehicle(playerid, vehicleid, Float:damage)
{
new vid = GetPlayerVehicleID(playerid);
PutPlayerInVehicle(playerid,vid,0);
return 1;
}
ao tentar compilar tenho isso:
C:\Users\leo\Desktop\Server037\pawno\include\callbacks.inc(363) : error 017: undefined symbol "GetPlayerPoolSize"
C:\Users\leo\Desktop\Server037\pawno\include\callbacks.inc(940) : error 017: undefined symbol "GetVehiclePoolSize"
C:\Users\leo\Desktop\Server037\pawno\include\callbacks.inc(1153) : error 017: undefined symbol "GetPlayerPoolSize"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.