07.06.2011, 00:36
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);
}
//------------------------------------------------------------------------------