20.03.2019, 11:29 
	
	
	
		Hello 
these are codes and when i spawn the attached object doesen't show up
codes:
anyone could help ?
	
	
	
	
these are codes and when i spawn the attached object doesen't show up
codes:
PHP код:
public OnPlayerSpawn(playerid)
{
    if(gPlayerClass[playerid] == CLASS_SOLDIER)//This is for the First soldier class.
    {
        TogglePlayerControllable(playerid, 1);
        ResetPlayerWeapons(playerid);
        GivePlayerWeapon(playerid, 31, 200);//m4
        GivePlayerWeapon(playerid, 25, 100);//mp5
        GivePlayerWeapon(playerid, 24, 70);//deagle
        SetPlayerAttachedObject(playerid, 0, 19102, 2, 0.153999, 0.011000, 0.000000);
    }
    return 1;
} 



