SA-MP Forums Archive
[HELP]Cop-Tools errors.. +1 Rep - 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)
+--- Thread: [HELP]Cop-Tools errors.. +1 Rep (/showthread.php?tid=339770)



[HELP]Cop-Tools errors.. +1 Rep - Oscii - 04.05.2012

C:\Users\Oscar\Desktop\OscarsTestingGM\pawno\inclu de\cop-tools.inc(45) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Oscar\Desktop\OscarsTestingGM\pawno\inclu de\cop-tools.inc(45) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\Oscar\Desktop\OscarsTestingGM\pawno\inclu de\cop-tools.inc(46) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Oscar\Desktop\OscarsTestingGM\pawno\inclu de\cop-tools.inc(46) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Users\Oscar\Desktop\OscarsTestingGM\pawno\inclu de\cop-tools.inc(43) : warning 203: symbol is never used: "playerid"
C:\Users\Oscar\Desktop\OscarsTestingGM\pawno\inclu de\cop-tools.inc(43 -- 51) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Users\Oscar\Desktop\OscarsTestingGM\pawno\inclu de\cop-tools.inc(43 -- 51) : fatal error 107: too many error messages on one line

I dont have a clue how to fix these..

How do i define these..


Re: [HELP]Cop-Tools errors.. +1 Rep - Tom1412 - 04.05.2012

they proble will all be in a include. since they anit standard samp code.


Re: [HELP]Cop-Tools errors.. +1 Rep - Oscii - 04.05.2012

Erm, still cant fix..


Re: [HELP]Cop-Tools errors.. +1 Rep - Oscii - 05.05.2012

/bump.. anyone?


Re: [HELP]Cop-Tools errors.. +1 Rep - ToiletDuck - 05.05.2012

Hmm, how about try this
pawn Код:
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)



Re: [HELP]Cop-Tools errors.. +1 Rep - Skaizo - 05.05.2012

pawn Код:
#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)



Re: [HELP]Cop-Tools errors.. +1 Rep - AMEENAMEEN - 05.05.2012

did you include it?
if not[pawn]
#include <CopTools>
hope it works


Re: [HELP]Cop-Tools errors.. +1 Rep - Oscii - 05.05.2012

Fixed it", Thank you very much all of you

Rep'd