A Little help, Please - 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: A Little help, Please (
/showthread.php?tid=260018)
A Little help, Please -
seanny - 07.06.2011
Hello I got a few problems
Код:
C:\Users\Seany\Desktop\SC-RP R002\SCRP.pwn(4883) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Seany\Desktop\SC-RP R002\SCRP.pwn(4883) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\Seany\Desktop\SC-RP R002\SCRP.pwn(4881) : warning 203: symbol is never used: "playerid"
C:\Users\Seany\Desktop\SC-RP R002\SCRP.pwn(4881 -- 4889) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Seany\Desktop\SC-RP R002\SCRP.pwn(4881 -- 4889) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
//------------------------------------------------------------------------------
//Riot Shield System - PaNoULiS
RemoveItems(playerid)
{
if(IsPlayerAttachedObjectSlotUsed(playerid, 1)) RemovePlayerAttachedObject(playerid, 1);
}
//------------------------------------------------------------------------------
//Riot Shield System - PaNoULiS
PutRiotShieldOnBack(playerid)
{
if(IsPlayerAttachedObjectSlotUsed(playerid, 1)) RemovePlayerAttachedObject(playerid, 1);
SetPlayerAttachedObject(playerid, 1 , 18637, 1, 0, -0.1, 0.18, 90, 0, 272, 1, 1, 1);
}
//------------------------------------------------------------------------------
Re: A Little help, Please - Deskoft - 07.06.2011
Do you have the newest sa-mp 0.3c server version? I mean, this function was added in sa-mp 0.3c
Re: A Little help, Please -
seanny - 07.06.2011
Yes, I do
Re: A Little help, Please -
Gamer_Z - 07.06.2011
using the pawno with the newest includes too?
Re: A Little help, Please -
seanny - 07.06.2011
Yes.
Re: A Little help, Please -
Meinstad - 07.06.2011
Have you updated your includes ?
Re: A Little help, Please -
seanny - 07.06.2011
Yes, it is