error 017: undefined symbol "i"
#2

Try this:
pawn Код:
public OnPlayerUpdate(playerid)
{
    new Float:armour[MAX_PLAYERS];
    GetPlayerArmour(playerid, armour[playerid]);
    if( armour[playerid] > 0.0 )
    {
        SetPlayerAttachedObject( playerid, ARMOUR_INDEX, 1242, 1, 0.019999, 0.039999, 0.000000, 2.459999, 89.699989, -3.100000, 1.710000, 2.119999, 1.719999);
    }
    else if( armour[playerid] == 0.0 && IsPlayerAttachedObjectSlotUsed( playerid, ARMOUR_INDEX ) )
    {
        RemovePlayerAttachedObject(playerid, ARMOUR_INDEX); // armour
    }
    return 1;
}
Reply


Messages In This Thread
error 017: undefined symbol "i" - by kbalor - 11.09.2012, 18:24
Re: error 017: undefined symbol "i" - by Roach_ - 11.09.2012, 18:26
Re: error 017: undefined symbol "i" - by [MWR]Blood - 11.09.2012, 18:26
Re: error 017: undefined symbol "i" - by kbalor - 11.09.2012, 18:35

Forum Jump:


Users browsing this thread: 1 Guest(s)