Jump to content
  • 0

[HELP] IMAGE


Question

Posted

	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:)

2 answers to this question

Recommended Posts

  • 0
Posted

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>");
	}

Guest
This topic is now closed to further replies.


×
×
  • Create New...