by Tapwave » Thu Sep 08, 2016 1:49 pm
Sure! Here is the code I use in FragTrak to display the prestige medals. It'll only display the top level one you own.
Spoiler:Code: Select all
InInventory HMMDOIWANTMYPRESTIGETOWORK, 1 // prestige block
{
InInventory WeaponPrestige8, 1
{
DrawImage "PLTMB0", 127, 60, none, 20,20;
}
else
InInventory WeaponPrestige7, 1
{
DrawImage "GLDMB0", 127, 60, none, 20,20;
}
else
InInventory WeaponPrestige6, 1
{
DrawImage "SLVMB0", 127, 60, none, 20,20;
}
else
InInventory WeaponPrestige5, 1
{
DrawImage "BRZMB0", 127, 60, none, 20,20;
}
else
InInventory WeaponPrestige4, 1
{
DrawImage "PLTMA0", 127, 55,none, 20,30;
}
else
InInventory WeaponPrestige3, 1
{
DrawImage "GLDMA0", 127, 55,none, 20,30;
}
else
InInventory WeaponPrestige2, 1
{
DrawImage "SLVMA0", 127, 55, none, 20,30;
}
else
InInventory WeaponPrestige1, 1
{
DrawImage "BRZMA0", 127, 55, none, 20, 30;
}
}
The WeaponPrestige items are given via ACS after checking a CVAR, if you're wondering.
Sure! Here is the code I use in FragTrak to display the prestige medals. It'll only display the top level one you own. [spoiler][code]InInventory HMMDOIWANTMYPRESTIGETOWORK, 1 // prestige block { InInventory WeaponPrestige8, 1 { DrawImage "PLTMB0", 127, 60, none, 20,20; } else InInventory WeaponPrestige7, 1 { DrawImage "GLDMB0", 127, 60, none, 20,20; } else InInventory WeaponPrestige6, 1 { DrawImage "SLVMB0", 127, 60, none, 20,20; } else InInventory WeaponPrestige5, 1 { DrawImage "BRZMB0", 127, 60, none, 20,20; } else InInventory WeaponPrestige4, 1 { DrawImage "PLTMA0", 127, 55,none, 20,30; } else InInventory WeaponPrestige3, 1 { DrawImage "GLDMA0", 127, 55,none, 20,30; } else InInventory WeaponPrestige2, 1 { DrawImage "SLVMA0", 127, 55, none, 20,30; } else InInventory WeaponPrestige1, 1 { DrawImage "BRZMA0", 127, 55, none, 20, 30; } }[/code][/spoiler] The WeaponPrestige items are given via ACS after checking a CVAR, if you're wondering.