Please help me to fix this script.
This Works:
but this does not work:
I have 10 groups to add, can you please help me to get this working..
Many thanks in advance
This Works:
Code:
if (ExileClientPlayerScore >0 && ExileClientPlayerScore <2499) then {
titleText ["", "PLAIN DOWN"];
["<br /><br /><t color='#ff0000' align='left'>RANK:</t><t align='left'> 0/10 (<t color='#FFFF00'>Bambi</t>) </t><br /><t color='#5882FA' align='left'>Next Rank:</t><t align='left'> 1/10 (<t color='#FFFF00'>Recruit</t>) Cost</t><t color='#40FF00' align='left'> 2.5k</t><t shadow='1' shadowColor='#000000' color='%15'><img size='1.0' shadowColor='#000000' image='addons\rank\exile.paa'</t>",0,0.9,15,0] spawn bis_fnc_dynamictext;
} else {
if (ExileClientPlayerScore >2500 && ExileClientPlayerScore <9999) then {
titleText ["", "PLAIN DOWN"];
["<br /><br /><t color='#ff0000' align='left'>RANK:</t><t align='left'> 2/10 (<t color='#FFFF00'>Recruit</t>) </t><br /><t color='#5882FA' align='left'>Next Rank:</t><t align='left'> 3/10 (<t color='#FFFF00'>Private</t>) Cost</t><t color='#40FF00' align='left'> 2.5k</t><t shadow='1' shadowColor='#000000' color='%15'><img size='1.0' shadowColor='#000000' image='addons\rank\exile.paa'</t>",0,0.9,15,0] spawn bis_fnc_dynamictext;
}
but this does not work:
Code:
if (ExileClientPlayerScore >0 && ExileClientPlayerScore <2499) then {
titleText ["", "PLAIN DOWN"];
["<br /><br /><t color='#ff0000' align='left'>RANK:</t><t align='left'> 0/10 (<t color='#FFFF00'>Bambi</t>) </t><br /><t color='#5882FA' align='left'>Next Rank:</t><t align='left'> 1/10 (<t color='#FFFF00'>Recruit</t>) Cost</t><t color='#40FF00' align='left'> 2.5k</t><t shadow='1' shadowColor='#000000' color='%15'><img size='1.0' shadowColor='#000000' image='addons\rank\exile.paa'</t>",0,0.9,15,0] spawn bis_fnc_dynamictext;
} else {
if (ExileClientPlayerScore >2500 && ExileClientPlayerScore <9999) then {
titleText ["", "PLAIN DOWN"];
["<br /><br /><t color='#ff0000' align='left'>RANK:</t><t align='left'> 2/10 (<t color='#FFFF00'>Recruit</t>) </t><br /><t color='#5882FA' align='left'>Next Rank:</t><t align='left'> 3/10 (<t color='#FFFF00'>Private</t>) Cost</t><t color='#40FF00' align='left'> 2.5k</t><t shadow='1' shadowColor='#000000' color='%15'><img size='1.0' shadowColor='#000000' image='addons\rank\exile.paa'</t>",0,0.9,15,0] spawn bis_fnc_dynamictext;
} else {
if (ExileClientPlayerScore >10000 && ExileClientPlayerScore <19999) then {
titleText ["", "PLAIN DOWN"];
["<br /><br /><t color='#ff0000' align='left'>RANK:</t><t align='left'> 3/10 (<t color='#FFFF00'>Veteran</t>) </t><br /><t color='#5882FA' align='left'>Next Rank:</t><t align='left'> 4/10 (<t color='#FFFF00'>Soldier</t>) Cost</t><t color='#40FF00' align='left'> 2.5k</t><t shadow='1' shadowColor='#000000' color='%15'><img size='1.0' shadowColor='#000000' image='addons\rank\exile.paa'</t>",0,0.9,15,0] spawn bis_fnc_dynamictext;
}
};
I have 10 groups to add, can you please help me to get this working..
Many thanks in advance
Last edited: