ID:994727
 
Good day, my problem is this:

Problem description:

I put two stats panle sta modify the skin of a picture attached:

the code is this for now soloq uiero place the name:

Code:
mob
Stat()
winset(usr, "tab1", "[usr.name]")


but when I run give anything attached image appears:



if someone helps me appreciate it thank you very much in advance.






You're using a tab, you want a info.
Thanks for the prompt reply, change the tab for the info and still do not find it to have both stats:http://i1155.photobucket.com/albums/p553/JEY_SENSEY/a.jpg

http://i1155.photobucket.com/albums/p553/JEY_SENSEY/h.jpg

This is the code I am using:
mob//stat panel 2
Stat()
winset(usr, "tab1", "[usr.name]")
//---------------------------------------
mob//stat panel 1
Stat()
statpanel("Stats")
stat(usr)
stat("--- --- --- --- --- --- --- --- --- ---")
stat("<B><center>Informacion")
stat("--- --- --- --- --- --- --- --- --- ---")
stat("<font color = #DC143C>Nombre:<b> [usr.name]")
stat("<font color = #DC143C>Clan: <b>[Clan]")
stat("<font color = #DC143C>Clan Secundario: <b>[guild_name]")
stat("<font color = #DC143C>Rango:<b> [rank]")
stat("<font color = #DC143C><b>Honor [honor]")
stat("<font color = #DC143C>Aldea: <b>[Village]")
stat("<font color = #DC143C><b>Yens: [Yen]$")
stat("<font color = #DC143C><b>Recompensa [recompensa]")
stat("<font color = #DC143C>Asesinatos:<b> [kills] Asesinatos en misiones <b>[missingkills]")
stat("<font color = #DC143C>Muertes: <b>[deaths]")
stat("--- --- --- --- --- --- --- --- --- ---")
stat("<B><center>Status")
stat("--- --- --- --- --- --- --- --- --- ---")
// var/level=round((src.Mgen+src.Mtai+src.Mnin)/100)
// if(usr.level ==((src.Mgen+src.Mtai+src.Mnin)/100)
stat("<font color=blue><b> Nivel: [level]")
stat("<font color = #DC143C><b> HP: [health]/[maxhealth]")
stat("<font color = aqua><b> Chakra: [chakra]/[Mchakra]")
stat("<font color = yellow><b> Experiencia: [expe]")
var/ttexp=round(src.taiexp*100/src.mtaiexp)
var/nnexp=round(src.ninexp*100/src.mninexp)
var/ggexp=round(src.genexp*100/src.mgenexp)
stat("<font color=#006400><b> Taijutsu: [tai] ([ttexp]%)")
stat("<font color = aqua><b> Ninjutsu: [nin] ([nnexp]%)")
stat("<font color = #DC143C><b> Genjutsu: [gen] ([ggexp]%)")
stat("<font color=#006400><b> Sellos: [seals]% Precision")
stat("<font color=#006400><b> Control de Chackra: [ChakraC]")
stat("--- --- --- --- --- --- --- --- --- ---")


presumably in the second panel stats should leave the name of the user but it is not:-s
mob/Stat()
statpanel("window.control","Name",name)
stat("Variable:",value)
statpanel("Name",name)
stat("Variable:",value)

You're currently using two seperate Stat() procs two very different ways, you want to include them together and specify which statpanel you're using when trying to use one other than the default. To do this, you include statpanel("[window].[control]","Var","Val"), then stat() for everyhting you wish to include in that.
Thank you very much but I'm a little confused as it is the first time that I associatethe codecs with the skin
I could make you an example with the data of the images please if not too much trouble?? thanks again:

mob
Stat()
statpanel("window.control","Name",name)//can not really relate this part with the new info window
stat("[usr.name]",name)
statpanel("Name",name)
stat("[usr.name]:",Clan)
In response to JEY_SENSEY




In this example, you have two infos, one set to default.

In order to display on the second info; in this example, you'll have to specify which info it is.

mob/Stat()
statpanel("default.info2","Name:",name)
stat("Key:",key)
Hello and thank you very much again for your help, this time the following happens:






mob/Stat()
statpanel("default.stats2","Name:",name)
stat("Key:",key)

mob
Stat()
statpanel("Stats")
stat(usr)
stat("--- --- --- --- --- --- --- --- --- ---")
stat("<B><center>Informacion")
stat("--- --- --- --- --- --- --- --- --- ---")
stat("<font color = #DC143C>Nombre:<b> [usr.name]")
stat("<font color = #DC143C>Clan: <b>[Clan]")

already specified everything yet still missing either the name or the key that should appear as everything is right you can not be happening or am committing mistake D:
In response to JEY_SENSEY
JEY_SENSEY wrote:

mob/Stat()
statpanel("default.info 2","Name:",name)
stat("Key:",key)
statpanel("Stats")
stat(usr)
stat("--- --- --- --- --- --- --- --- --- ---")
stat("<B><center>Informacion")
stat("--- --- --- --- --- --- --- --- --- ---")
stat("<font color = #DC143C>Nombre:<b> [usr.name]")
stat("<font color = #DC143C>Clan: <b>[Clan]")


I went ahead and edited your example to where it should work for you. Try not to make two mob/Stat() definitions like that. But I left the screen shot in to try and show you what you did wrong, you didn't place the correct name into the statpanel(); You had statpanel("default.stat2") but had it named "default.info 2".
hello and thanks again , but change statpanel("default.stat2") but had it named "default.info 2" and dont work help please and sorry for the problems
U.U
problem solved thank you very much