[HELP] SetPlayerAttachedObject - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] SetPlayerAttachedObject (
/showthread.php?tid=199005)
[HELP] SetPlayerAttachedObject - Larsey123IsMe - 14.12.2010
Why does this give me 3 ERRORs?
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.
Re: [HELP] SetPlayerAttachedObject -
Lynn - 14.12.2010
Do you have the updated includes?
Re: [HELP] SetPlayerAttachedObject - Larsey123IsMe - 14.12.2010
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?
Re: [HELP] SetPlayerAttachedObject -
Ivan_Pantovic - 18.12.2010
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