Setplayerattached Object... Please help!
#5

I did it ... but i got this errors

Код:
E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42432) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42433) : error 017: undefined symbol "RemovePlayerAttachedObject"
E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42435) : error 010: invalid function or declaration
E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42436) : error 010: invalid function or declaration
E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42437) : error 010: invalid function or declaration
E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42438) : error 010: invalid function or declaration
E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42439) : error 010: invalid function or declaration
E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42440) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Errors.
Here is Code i put....

PHP код:
#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)
CMD:incred(playeridparams[])
{
for ( new 
05++ )
if ( 
IsPlayerAttachedObjectSlotUsedplayerid) )
RemovePlayerAttachedObjectplayerid);
}
SetPlayerAttachedObjectplayerid0186935); // Flame99 - handfire left
SetPlayerAttachedObjectplayerid1186936); // Flame99 - handfie right
SetPlayerAttachedObjectplayerid2187036); // overheat_car - dust right
SetPlayerAttachedObjectplayerid3187035); // overheat_car - dustleft
SetPlayerAttachedObjectplayerid4189652); // SkullyCap2 - skull
return 1;

EDIT:NEED HELP!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)