NumL0ck Posted August 19, 2012 Posted August 19, 2012 if(getPvpKills >= 0) { tb.append("<img src=\"custom.image\" width=301 height=61>"); } if(getPvpKills >= 100) { tb.append("<img src=\"custom.image1\" width=301 height=61>"); } but then i make this and have 100 pvp to me show 2 images:D i need only 1 example if i reach 100 pvp to me need show only custom.image1, but now to me show 2 images. I think you understand me, so how make it? Thanks:)
0 vampir Posted August 19, 2012 Posted August 19, 2012 so u will need to do this: if(getPvpKills >= 100) { tb.append("<img src=\"custom.image1\" width=301 height=61>"); } else if(getPvpKills >= 0) { tb.append("<img src=\"custom.image\" width=301 height=61>"); }
0 NumL0ck Posted August 19, 2012 Author Posted August 19, 2012 its working, thanks, can lock it, THANKS! :D
Question
NumL0ck
but then i make this and have 100 pvp to me show 2 images:D i need only 1
example if i reach 100 pvp to me need show only custom.image1, but now to me show 2 images. I think you understand me, so how make it? Thanks:)
2 answers to this question
Recommended Posts