ok i tryed everything that i know to try and get this to work...
I want a picture to change when the player selects a weapon from a list box, i dont want them to press any buttons to make the picture change i want to to chage as soon as they have selected a weapon from the list...
my code for the contents of the list is:
===============================================
_ok = createDialog "Buygun"
?(!_ok): hint "Your Not Ment To See This..."; exit
_index = lbAdd [104, "AK47 - $1k"]
lbSetData [104, _index, "\dtaext\equip\m\m_AK47.paa"]
_index = lbAdd [104, "AK74 Nade - $1K"]
lbSetData [104, _index, "\dtaext\equip\w\w_AK74GrenadeLauncher.paa"]
lbSetCurSel [104, 0]
===============================================
My Code For The List Box In The Description File Is:
===============================================
class GunPic1 : RscPicture
{
idc = 106;
x = 0.285;
y = 0.495;
w = 0.15;
h = 0.08;
text = "\G36A\w_g36.paa";
};
===============================================
So When They Select Say The AK-47 The G36A\w_g36.paa will change to \dtaext\equip\m\m_AK47.paa
ok Thats That, I Would Be Gratfull In Any Advice You CAn Give Me...
Cheers, Philly