[PYTHON REQUEST] View the Character Name

03/22/2012 19:47 TorKS#1
Hi community.

Today i've wanted to put under my minimap the name of the player like in the Character Window.

But, when i go to look for the code in selectcaracterwindow.py i see that :
PHP Code:
{
                    
"name" "character_name",
                    
"type" "text",

                    
"x" 125,
                    
"y" 75,

                    
"text" "Name : ",

                    
"children" :
                    (
                        {
                            
"name" "character_name_slot",
                            
"type" "image",

                            
"x" 150,
                            
"y" 75,

                            
"image" "",
                        },
                        {
                            
"name" "character_name_value",
                            
"type" "text",

                            
"x" 10 130/2,
                            
"y" 0,
                            
"color" 0xffFFCA00,
                            
"text" "",

                            
"text_horizontal_align" "center",
                        },
                    ),
                }, 
When i put that into my minimap.py this sh*t don't run. Of course i've change the X and Y positions :)

So my request is :
What can i do to put the player name under my minimap ?

__________________________________________________ _________
[GERMAN with Google Translate]


Hallo Gemeinde.

Heute habe ich wollte unter meine Minimap setzen Sie den Namen der Spieler wie im Charakter Fenster.

Aber, wenn ich für den Code in Blick zu gehen selectcaracterwindow.py Ich sehe, dass:
PHP Code:
{
                    
"name" "character_name",
                    
"type" "text",

                    
"x" 125,
                    
"y" 75,

                    
"text" "Name : ",

                    
"children" :
                    (
                        {
                            
"name" "character_name_slot",
                            
"type" "image",

                            
"x" 150,
                            
"y" 75,

                            
"image" "",
                        },
                        {
                            
"name" "character_name_value",
                            
"type" "text",

                            
"x" 10 130/2,
                            
"y" 0,
                            
"color" 0xffFFCA00,
                            
"text" "",

                            
"text_horizontal_align" "center",
                        },
                    ),
                }, 
Als ich das in meine minimap.py diese sh * t werden nicht ausgeführt. Natürlich habe ich Ändern Sie die X-und Y-Positionen :)

Also meine Bitte ist:
Was kann ich tun, um den Spieler-Namen unter meine Minimap setzen?


Thanks in advance Boys and Girls :)
TorKS.
03/23/2012 20:41 TorKS#2
Up :)
03/24/2012 22:14 TorKS#3
Up again

Up up :)
04/04/2017 21:33 AutozasxD#4
server side need quest small ...... when login or levelup or kill or use begin
cmdchat ;)
serverside just create whit .py