SA-MP Forums Archive
Cop Tools include - 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: Cop Tools include (/showthread.php?tid=257055)



Fixed - Ifreezesir - 23.05.2011

Fixed


Re: Cop Tools include - Ifreezesir - 23.05.2011

Sorry for this but..
I need help with this asap!
Any help would be higly appreciated!


Re : Cop Tools include - Naruto_Emilio - 23.05.2011

Maybe this will help
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: Cop Tools include - Ifreezesir - 24.05.2011

Thanks alot for your assistance, but I think it's a problem inside the include. See "include\cop-tools.inc"
Also, the code you sent didn't work either..
Код:
RRP\PAWNOEXE\include\cop-tools.inc(46) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"



Re: Cop Tools include - Ifreezesir - 24.05.2011

Fixed it! Used wrong Pawno.