14.12.2010, 01:57
Why does this give me 3 ERRORs?
ERROR:!
pawn Код:
#include <a_samp>
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerAttachedObject(playerid, 1, 19065, 15, -0.025, -0.04, 0.23, 0, 0, 270, 2, 2, 2);
return 1;
}
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(IsPlayerAttachedObjectSlotUsed(playerid,2)) RemovePlayerAttachedObject(playerid,2);
return 1;
}
pawn Код:
C:\Users\Lars Erik\Documents\SAMP Server\My server\filterscripts\item.pwn(5) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Users\Lars Erik\Documents\SAMP Server\My server\filterscripts\item.pwn(11) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Lars Erik\Documents\SAMP Server\My server\filterscripts\item.pwn(11) : error 017: undefined symbol "RemovePlayerAttachedObject"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.