[HELP] SetPlayerAttachedObject
#1

Why does this give me 3 ERRORs?

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;
}
ERROR:!
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.
Reply
#2

Do you have the updated includes?
Reply
#3

Quote:
Originally Posted by Lynn
Посмотреть сообщение
Do you have the updated includes?
I dont think so... You got a link there i can download the update?
Reply
#4

I have the same problem, downloaded samp 0.3c again and replaced includes, some of them were out of date, but i still have the same problem :S

EDIT: we need 0.3c includes and server
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)