
 Originally Posted by 
Joe
					
				 
				Like in Era pc, they use a border images which is divided in some tiles to make each border (corner top, left, ...)
Ps:
Why that don't work:
	PHP Code:
	
function onPlayerChats() {
    if(player.chat == ":ctf" && player.guild == "Events Team"){
      CTFParams.show();
      new GuiControl("CTFParams") {
        useownprofile = true;
        profile.border = 5;
        profile.bitmap = "levels/Staff/joe/images/joe_gui.png";
        resize(0, 0, 640, 400);
      }
    }
} 
 
 
			
		 
	 
 
Try this:
	PHP Code:
	
function onPlayerChats() {
    if(player.chat == ":ctf" && player.guild == "Events Team"){
      
      if (isObject("CTFParams")) CTFParams.destroy();
      new GuiControl("CTFParams") {
        useownprofile = true;
        profile.border = 5;
        profile.bitmap = "joe_gui.png";
        resize(0, 0, 640, 400);
      }
    }
}