24.11.2011, 14:22
When i put this Code i get these errors... y is that so? Need Help with Fixin That!
Code:
Errors...!
Please Help!
All Credits to Zhr30
Code:
PHP код:
CMD:incred(playerid, params[])
{
for ( new i = 0; i < 5; i ++ )
if ( IsPlayerAttachedObjectSlotUsed( playerid, i ) )
RemovePlayerAttachedObject( playerid, i );
SetPlayerAttachedObject( playerid, 0, 18693, 5, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // Flame99 - handfire left
SetPlayerAttachedObject( playerid, 1, 18693, 6, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // Flame99 - handfie right
SetPlayerAttachedObject( playerid, 2, 18703, 6, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // overheat_car - dust right
SetPlayerAttachedObject( playerid, 3, 18703, 5, 1.983503, 1.558882, -0.129482, 86.705787, 308.978118, 268.198822, 1.500000, 1.500000, 1.500000 ); // overheat_car - dustleft
SetPlayerAttachedObject( playerid, 4, 18965, 2, 0.111052, 0.021643, -0.000846, 92.280899, 92.752510, 358.071044, 1.200000, 1.283168, 1.200000 ); // SkullyCap2 - skull
return 1;
}
Код:
E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42427) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed" E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42428) : error 017: undefined symbol "RemovePlayerAttachedObject" E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42430) : error 017: undefined symbol "SetPlayerAttachedObject" E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42431) : error 017: undefined symbol "SetPlayerAttachedObject" E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42432) : error 017: undefined symbol "SetPlayerAttachedObject" E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42433) : error 017: undefined symbol "SetPlayerAttachedObject" E:\satdm script\test\Gamemodes\SATDM~RP13.pwn(42434) : error 017: undefined symbol "SetPlayerAttachedObject" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors.
All Credits to Zhr30