Armour object problem
#1

Okay so i made a command when the player types it he gets the object fixed on him but the problem is, It doesnt fit any skin, how can i make the armour object "373" fit on all skins

Code:
	 SetPlayerAttachedObject(playerid, 3,373,1,0.3,-0.0,-0.1,70.0,25.0,35.0);
Reply
#2

can Helps You

#define Armour_INDEX 5


Code:
forward ArmourUpdate();
public ArmourUpdate()
{
    for(new i=0; i<=GetMaxPlayers(); i++)
    {
        GetPlayerArmour(i, ArmourStats[i]);
        if( ArmourStats[i] > 0.0 && ArmourUsed[i] == 0)
        {
        	ArmourUsed[i] = 1;
            SetPlayerAttachedObject(i, Armour_INDEX, 373, 1, 0.286006, -0.038657, -0.158132, 67.128456, 21.916156, 33.972290, 1.000000, 1.000000, 1.000000 );
		}
		else if( ArmourStats[i] == 0.0 && ArmourUsed[i] == 1)
        {
            ArmourUsed[i] = 0;
            RemovePlayerAttachedObject(i, Armour_INDEX);
		}
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)