Jump to content

Help me userpanel


Recommended Posts

Welcome Guys

I want to help me to edit a 2 Script me

All I want to do that computes

DM / Total win

DM / Total Game

ScreenShoot

1346257880621.png

i want your help please

i wait post all to help me

this is client

bindKey ( "F2" , "down" , function() 
  
if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then 
 guiSetVisible ( GUIEditor_Window[1] ,false ) 
 showCursor (false ) 
 guiSetInputEnabled(false) 
  
 elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then 
 guiSetVisible ( GUIEditor_Window[1] ,true ) 
 showCursor (true ) 
  
 end 
 end 
 ) 
  
GUIEditor_Window = {} 
GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
  
GUIEditor_Window[1] = guiCreateWindow(436,237,614,348,"Xtreme Power [ UserPane ]",false) 
guiSetAlpha(GUIEditor_Window[1],1) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,26,596,313,false,GUIEditor_Window[1]) 
stats = guiCreateTab("Stats",GUIEditor_TabPanel[1]) 
--------------------- 
playerName = guiCreateLabel(15,30,300,70,'Your Name :',false,stats) 
        guiLabelSetColor(playerName,255,120,0) 
  
        guiSetFont(playerName,"default-bold-small") 
guiSetText ( playerName, getPlayerName(localPlayer)) 
  
function refreshStats() 
if guiGetVisible(stats,true) then 
   playerName(playerName," "..getPlayerName(getLocalPlayer())) 
else 
   guiSetText(playerName,"Your Name : "..getPlayerName(getLocalPlayer())) 
    end 
end 
addEventHandler("onClientRender", getRootElement(), refreshStats) 
--------------------- 
playermoney = guiCreateLabel(15,50,300,70,'Your Money :',false,stats) 
        guiLabelSetColor(playermoney,255,120,0) 
  
        guiSetFont(playermoney,"default-bold-small") 
guiSetText ( playermoney, getPlayerMoney(localPlayer)) 
  
function refreshStats() 
if guiGetVisible(stats,true) then 
   playerName(playermoney," "..getPlayerMoney(getLocalPlayer())) 
else 
   guiSetText(playermoney,"Your Money : "..getPlayerMoney(getLocalPlayer())) 
    end 
end 
addEventHandler("onClientRender", getRootElement(), refreshStats) 
--------------------- 
totalgamesdm = guiCreateLabel(15,70,197,42,"DM / Total Games :  ",false,stats) 
  
guiLabelSetColor(totalgamesdm,255,120,0) 
  
guiSetFont(totalgamesdm,"default-bold-small") 
  
--------------------- 
totalwindm = guiCreateLabel(15,90,197,42,"DM / Total Wins :  ",false,stats) 
  
guiLabelSetColor(totalwindm,255,120,0) 
  
guiSetFont(totalwindm,"default-bold-small") 
  
--------------------- 

Link to comment

why the hell everyone use the same damn code :?

there are like 15 topic in arabic section with this code

bindKey ( "F2" , "down" , function() 
  
if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then 
 guiSetVisible ( GUIEditor_Window[1] ,false ) 
 showCursor (false ) 
 guiSetInputEnabled(false) 
  
 elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then 
 guiSetVisible ( GUIEditor_Window[1] ,true ) 
 showCursor (true ) 
  
 end 
 end 
 ) 

Also there about 9878978945664653456534 topics with the same damn code and same damn mistake

Why the hell you do this!!!!!!

playerName(playerName," "..getPlayerName(getLocalPlayer())) 

and this

playerName(playermoney," "..getPlayerMoney(getLocalPlayer())) 

Link to comment
why the hell everyone use the same damn code :?

there are like 15 topic in arabic section with this code

bindKey ( "F2" , "down" , function() 
  
if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then 
 guiSetVisible ( GUIEditor_Window[1] ,false ) 
 showCursor (false ) 
 guiSetInputEnabled(false) 
  
 elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then 
 guiSetVisible ( GUIEditor_Window[1] ,true ) 
 showCursor (true ) 
  
 end 
 end 
 ) 

Also there about 9878978945664653456534 topics with the same damn code and same damn mistake

Why the hell you do this!!!!!!

playerName(playerName," "..getPlayerName(getLocalPlayer())) 

and this

playerName(playermoney," "..getPlayerMoney(getLocalPlayer())) 

What do you mean you can not get billed for what I do I asked for help and did not ask billed Please Hist

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...