Jump to content

fix . .


top sniper

Recommended Posts

Posted
GUIEditor_Window = {} 
GUIEditor_Button = {} 
GUIEditor_Edit = {} 
  
GUIEditor_Window[1] = guiCreateWindow(0.3499,0.3607,0.2401,0.1771,"تغير الاسم 1.0",true)nick = guiCreateEdit(85,50,169,37,"",false,GUIEditor_Window[1]) 
GUIEditor_Button[1] = guiCreateButton(111,102,106,25,"تغير",false,GUIEditor_Window[1]) 
  
  
getnick = guiGetText(nick) 
addEventHandler ("onClientGUIClick", getRootElement(), 
  
function(button, state, absoluteX, absoluteY) 
  
if  source ==  GUIEditor_Button[1]  then  
  
local text = guiGetText ( nick ) 
  
setPlayerNametagText (source,text) 
  
end   
end 
)  
  

==================================================================

~|منٌ رأيّتُموِۂ يّعتُدُيّ على عرض فُتُٱة مؤمنٌة فُٱسًحًقَوِوِوِوِوِوِوِة|~

134479106051.png

==================================================================

Posted

Type /debugscript 3 and tell us what's the problem

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted
Type /debugscript 3 and tell us what's the problem

debug Does not show as i have a problem

==================================================================

~|منٌ رأيّتُموِۂ يّعتُدُيّ على عرض فُتُٱة مؤمنٌة فُٱسًحًقَوِوِوِوِوِوِوِة|~

134479106051.png

==================================================================

Posted
https://wiki.multitheftauto.com/wiki/SetPlayerNametagText

This will change the text of a player's nickname in the world to something besides the nickname he chose. This will not change the player's actual nickname, it only changes the visible aspect inside the world (you will see his original nickname in the scoreboard and will refer to his original name in scripts).

aha .. is there any way to set the tag .. because when i use setplayernick i cant set it to Arabic nick .

==================================================================

~|منٌ رأيّتُموِۂ يّعتُدُيّ على عرض فُتُٱة مؤمنٌة فُٱسًحًقَوِوِوِوِوِوِوِة|~

134479106051.png

==================================================================

Posted
https://wiki.multitheftauto.com/wiki/SetPlayerNametagText

This will change the text of a player's nickname in the world to something besides the nickname he chose. This will not change the player's actual nickname, it only changes the visible aspect inside the world (you will see his original nickname in the scoreboard and will refer to his original name in scripts).

aha .. is there any way to set the tag .. because when i use setplayernick i cant set it to Arabic nick .

you can setElementData and then edit scoreboard and make the name come from the element data..

CiTLh.png
Posted
https://wiki.multitheftauto.com/wiki/SetPlayerNametagText

This will change the text of a player's nickname in the world to something besides the nickname he chose. This will not change the player's actual nickname, it only changes the visible aspect inside the world (you will see his original nickname in the scoreboard and will refer to his original name in scripts).

aha .. is there any way to set the tag .. because when i use setplayernick i cant set it to Arabic nick .

you can setElementData and then edit scoreboard and make the name come from the element data..

+ using "onPlayerChat" event you can output the other name instead of the original one

ING : [xXx]~Al3grab

Posted
GUIEditor_Window = {} 
GUIEditor_Button = {} 
GUIEditor_Edit = {} 
  
GUIEditor_Window[1] = guiCreateWindow(0.3499,0.3607,0.2401,0.1771,"تغير الاسم 1.0",true)nick = guiCreateEdit(85,50,169,37,"",false,GUIEditor_Window[1]) 
GUIEditor_Button[1] = guiCreateButton(111,102,106,25,"تغير",false,GUIEditor_Window[1]) 
  
addEventHandler ("onClientGUIClick", getRootElement(), 
  
function(button, state, absoluteX, absoluteY) 
  
if  source ==  GUIEditor_Button[1]  then  
triggerServerEvent ("Nick", getLocalPlayer()) 
end   
end 
)  

and you have to make the serverSide try

My ingame nickname : Ops!

-DeathMatch GameMode By Ops! : 5%

Posted
GUIEditor_Window = {} 
GUIEditor_Button = {} 
GUIEditor_Edit = {} 
  
GUIEditor_Window[1] = guiCreateWindow(0.3499,0.3607,0.2401,0.1771,"تغير الاسم 1.0",true)nick = guiCreateEdit(85,50,169,37,"",false,GUIEditor_Window[1]) 
GUIEditor_Button[1] = guiCreateButton(111,102,106,25,"تغير",false,GUIEditor_Window[1]) 
  
addEventHandler ("onClientGUIClick", getRootElement(), 
  
function(button, state, absoluteX, absoluteY) 
  
if  source ==  GUIEditor_Button[1]  then  
triggerServerEvent ("Nick", getLocalPlayer()) 
end   
end 
)  

and you have to make the serverSide try

server side for what?

setElementData synced with all clients

CiTLh.png

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...