Jump to content

مساعده في كود :)


xNKM51

Recommended Posts

addEventHandler("onClientRender", root,
    function()		
		local name = getPlayerName(localPlayer)
		local money = getPlayerMoney(localPlayer)
		local fps = getFPSLimit()
		local ping = getPlayerPing(localPlayer)
		local ipx = getElementData(localPlayer,"IPx")
		local serialx = getElementData(localPlayer,"Serialx")
		local Accountx = getElementData(localPlayer,"Accountx")
		local Team = getPlayerTeam(localPlayer)
		local skin = getElementModel(localPlayer)
		dxDrawRectangle(0, 740, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawRectangle(0, 0, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawText("Name : "..name, 10, 0, 202, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Money : "..money, 10, 740, 202, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("IP : "..ipx, 286, 0, 478, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Serial : "..serialx, 659, 0, 851, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Account Neam : "..Accountx, 960, 0, 1152, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("FPS : "..fps, 1252, -2, 1309, 29, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Ping : "..ping, 1309, -2, 1366, 29, tocolor(157, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Team : "..Team, 289, 740, 481, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Skin : "..skin, 683, 740, 875, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Players : ", 1020, 740, 1212, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
	end
)
		
		
--server

	addEventHandler("onPlayerJoin",root,function(_)
		setElementData(source,"IPx",getPlayerIP(source))
		setElementData(source,"Serialx",getPlayerSerial(source))
		setElementData(source,"Accountx",getAccountName(source))
	end)

ما مجرب ان ما اشتغل قلي

Link to comment
50 minutes ago, xX_Ma[D]arA_xX said:

addEventHandler("onClientRender", root,
    function()		
		local name = getPlayerName(localPlayer)
		local money = getPlayerMoney(localPlayer)
		local fps = getFPSLimit()
		local ping = getPlayerPing(localPlayer)
		local ipx = getElementData(localPlayer,"IPx")
		local serialx = getElementData(localPlayer,"Serialx")
		local Accountx = getElementData(localPlayer,"Accountx")
		local Team = getPlayerTeam(localPlayer)
		local skin = getElementModel(localPlayer)
		dxDrawRectangle(0, 740, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawRectangle(0, 0, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawText("Name : "..name, 10, 0, 202, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Money : "..money, 10, 740, 202, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("IP : "..ipx, 286, 0, 478, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Serial : "..serialx, 659, 0, 851, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Account Neam : "..Accountx, 960, 0, 1152, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("FPS : "..fps, 1252, -2, 1309, 29, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Ping : "..ping, 1309, -2, 1366, 29, tocolor(157, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Team : "..Team, 289, 740, 481, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Skin : "..skin, 683, 740, 875, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Players : ", 1020, 740, 1212, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
	end
)
		
		
--server

	addEventHandler("onPlayerJoin",root,function(_)
		setElementData(source,"IPx",getPlayerIP(source))
		setElementData(source,"Serialx",getPlayerSerial(source))
		setElementData(source,"Accountx",getAccountName(source))
	end)

ما مجرب ان ما اشتغل قلي

جلب اسم الحساب غلط

Edited by #BrosS
Link to comment
  • 1 month later...

م يزبط :(

--Client

 
addEventHandler("onClientRender", root,
    function()		
		local name = getPlayerName(localPlayer)
		local money = getPlayerMoney(localPlayer)
		local fps = getFPSLimit()
		local ping = getPlayerPing(localPlayer)
		local ipx = getElementData(localPlayer,"IPx")
		local serialx = getElementData(localPlayer,"Serialx")
		local Accountx = getElementData(localPlayer,"Accountx")
		local Team = getPlayerTeam(localPlayer)
		local skin = getElementModel(localPlayer)
		dxDrawRectangle(0, 740, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawRectangle(0, 0, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawText("Name : "..name, 10, 0, 202, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Money : "..money, 10, 740, 202, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("IP : "..ipx, 286, 0, 478, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Serial : "..serialx, 659, 0, 851, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Account Neam : "..Accountx, 960, 0, 1152, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("FPS : "..fps, 1252, -2, 1309, 29, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Ping : "..ping, 1309, -2, 1366, 29, tocolor(157, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Team : "..Team, 289, 740, 481, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Skin : "..skin, 683, 740, 875, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Players : ", 1020, 740, 1212, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
	end
)

guiSetText ( getPlayerSerial , getElementData ( localPlayer ) )


--Server

	addEventHandler("onPlayerJoin",root,function(_)
		setElementData(source,"IPx",getPlayerIP(source))
		setElementData(source,"Serialx",getPlayerSerial(source))
		setElementData(source,"Accountx",getAccountName(source))
	end)

مهو زابط معي جنني . وش ألحل

Link to comment

جرب ذا انا هاتف # غير مجرب

addEventHandler ( "onClientRender", resourceRoot,
	function ( )
		local name, money, fps, ping, IP, serial, account, team, skin = getPlayerName(localPlayer), getPlayerMoney(localPlayer), getFPSLimit(), getPlayerPing(localPlayer), getElementData(localPlayer,"IP"), getElementData(localPlayer,"Serial"), getElementData(localPlayer,"account"), getTeamName(getPlayerTeam(localPlayer)), getElementModel(localPlayer)
		dxDrawRectangle(0, 740, 1366, 28, tocolor(0, 0, 0, 254), false)
		dxDrawText("Name : "..name, 10, 0, 202, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
		dxDrawText("Money : "..money, 10, 740, 202, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        	dxDrawText("IP : "..IP, 286, 0, 478, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        	dxDrawText("Serial : "..serial, 659, 0, 851, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        	dxDrawText("Account Neam : "..Accountx, 960, 0, 1152, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
          	dxDrawText("FPS : "..fps, 1252, -2, 1309, 29, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        	dxDrawText("Ping : "..ping, 1309, -2, 1366, 29, tocolor(157, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        	dxDrawText("Team : "..team, 289, 740, 481, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        	dxDrawText("Skin : "..skin, 683, 740, 875, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        	dxDrawText("Players : "..getElementData(localPlayer,"playerscount" 1020, 740, 1212, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
	end
)

-- Server --

function playerCount ( )
	setElementData ( source, "playerscount", getPlayerCount() )
end
addEventHandler ( "onPlayerJoin", getRootElement(), playerCount )
addEventHandler ( "onPlayerQuit", getRootElement(), playerCount )

addEventHandler ( "onPlayerLogin", root,
	function(_,acc)
		setElementData ( source, "account", getAccountName(acc) )
		setElementData ( source, "serial", getPlayerSerial(source) )
		setElementData ( source, "IP", getPlayerIP(source) )
	end
)

 

Edited by Deativated
Link to comment

أتمناء تساعدوني حولت كل ألاكواد طرحتو لي م نفع معي ولآ واحد

--Client
 
addEventHandler("onClientRender", root,
    function()		
		local name = getPlayerName(localPlayer)
		local money = getPlayerMoney(localPlayer)
		local fps = getFPSLimit()
		local ping = getPlayerPing(localPlayer)
		local ipx = triggerServerEvent(localPlayer,"IPx")
		local serialx = triggerServerEvent(localPlayer,"Serialx")
		local Accountx = triggerServerEvent(localPlayer,"Accountx")
		local Team = getPlayerTeam(localPlayer)
		local skin = getElementModel(localPlayer)
		dxDrawRectangle(0, 740, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawRectangle(0, 0, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawText("Name : "..name, 10, 0, 202, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Money : "..money, 10, 740, 202, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("IP : "..ipx.."", 286, 0, 478, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Serial : "..serialx.."", 659, 0, 851, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Account Neam : "..Accountx.."", 960, 0, 1152, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("FPS : "..fps, 1252, -2, 1309, 29, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Ping : "..ping, 1309, -2, 1366, 29, tocolor(157, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Team : "..Team, 289, 740, 481, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Skin : "..skin, 683, 740, 875, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Players : ", 1020, 740, 1212, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
	end
)

--Server
addEvent("Accountx",true)
addEvent("Serialx",true)
addEvent("IPx",true)
addEventHandler("Accountx",root,
addEventHandler("Serialx",root,
addEventHandler("IPx",root,
  function ()
      getAccountName(source,"Accountx")
      getPlayerSerial(source,"Serialx")
      getPlayerIP(source,"IPx")
  end
)

 

Edited by x[B-B]'#Mr:SrOrE',<3
Link to comment

try this : 
client :
 

 
addEventHandler("onClientRender", root,
    function()		
		local name = getPlayerName(localPlayer)
		local money = getPlayerMoney(localPlayer)
		local fps = getFPSLimit()
		local ping = getPlayerPing(localPlayer)
		local ipx = getElementData ( localPlayer , 'aIP' )
		local serialx = getElementData ( localPlayer , 'aSerial' )
		local Accountx = getElementData ( localPlayer , 'aAccount' )
		local Team = getPlayerTeam(localPlayer)
		local skin = getElementModel(localPlayer)
		dxDrawRectangle(0, 740, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawRectangle(0, 0, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawText("Name : "..name, 10, 0, 202, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Money : "..money, 10, 740, 202, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("IP : "..ipx, 286, 0, 478, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Serial : "..serialx.."", 659, 0, 851, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Account Neam : "..Accountx, 960, 0, 1152, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("FPS : "..fps, 1252, -2, 1309, 29, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Ping : "..ping, 1309, -2, 1366, 29, tocolor(157, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Team : "..Team, 289, 740, 481, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Skin : "..skin, 683, 740, 875, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Players : "..#getElementsByType ('player'), 1020, 740, 1212, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
	end
)

server :
 

addEventHandler ( 'onPlayerJoin' , root , function (  )
setElementData ( source , 'aSerial' , getPlayerSerial ( source ) )
end
)

addEventHandler ( 'onResourceStart' , resourceRoot , function ( )
for _ , v in ipairs ( getElementsByType ( 'player' ) ) do
setElementData ( v , 'aSerial' , getPlayerSerial ( v ) )
end
end
)

addEventHandler ( 'onPlayerJoin' , root , function (  )
setElementData ( source , 'aIP' , getPlayerIP ( source ) )
end
)

addEventHandler ( 'onResourceStart' , resourceRoot , function ( )
for _ , v in ipairs ( getElementsByType ( 'player' ) ) do
setElementData ( v , 'aIP' , getPlayerIP ( v ) )
end
end
)

addEventHandler ( 'onPlayerLogin' , root , function (  )
setElementData ( source , 'aAccount' , getAccountName ( getPlayerAccount ( source ) ) )
end
)


addEventHandler ( 'onResourceStart' , resourceRoot , function ( )
for _ , v in ipairs ( getElementsByType ( 'player' ) ) do
setElementData ( v , 'aAccount' , getAccountName ( getPlayerAccount ( v ) ) )
end
end
)

 

Link to comment
1 minute ago, MR.StoRm said:

try this : 
client :
 


 
addEventHandler("onClientRender", root,
    function()		
		local name = getPlayerName(localPlayer)
		local money = getPlayerMoney(localPlayer)
		local fps = getFPSLimit()
		local ping = getPlayerPing(localPlayer)
		local ipx = getElementData ( localPlayer , 'aIP' )
		local serialx = getElementData ( localPlayer , 'aSerial' )
		local Accountx = getElementData ( localPlayer , 'aAccount' )
		local Team = getPlayerTeam(localPlayer)
		local skin = getElementModel(localPlayer)
		dxDrawRectangle(0, 740, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawRectangle(0, 0, 1366, 28, tocolor(0, 0, 0, 254), false)
        dxDrawText("Name : "..name, 10, 0, 202, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Money : "..money, 10, 740, 202, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("IP : "..ipx, 286, 0, 478, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Serial : "..serialx.."", 659, 0, 851, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Account Neam : "..Accountx, 960, 0, 1152, 28, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("FPS : "..fps, 1252, -2, 1309, 29, tocolor(159, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Ping : "..ping, 1309, -2, 1366, 29, tocolor(157, 0, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Team : "..Team, 289, 740, 481, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Skin : "..skin, 683, 740, 875, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
        dxDrawText("Players : "..#getElementsByType ('player'), 1020, 740, 1212, 768, tocolor(7, 158, 0, 254), 1.00, "default-bold", "left", "center", false, false, false, false, false)
	end
)

server :
 


addEventHandler ( 'onPlayerJoin' , root , function (  )
setElementData ( source , 'aSerial' , getPlayerSerial ( source ) )
end
)

addEventHandler ( 'onResourceStart' , resourceRoot , function ( )
for _ , v in ipairs ( getElementsByType ( 'player' ) ) do
setElementData ( v , 'aSerial' , getPlayerSerial ( v ) )
end
end
)

addEventHandler ( 'onPlayerJoin' , root , function (  )
setElementData ( source , 'aIP' , getPlayerIP ( source ) )
end
)

addEventHandler ( 'onResourceStart' , resourceRoot , function ( )
for _ , v in ipairs ( getElementsByType ( 'player' ) ) do
setElementData ( v , 'aIP' , getPlayerIP ( v ) )
end
end
)

addEventHandler ( 'onPlayerLogin' , root , function (  )
setElementData ( source , 'aAccount' , getAccountName ( getPlayerAccount ( source ) ) )
end
)


addEventHandler ( 'onResourceStart' , resourceRoot , function ( )
for _ , v in ipairs ( getElementsByType ( 'player' ) ) do
setElementData ( v , 'aAccount' , getAccountName ( getPlayerAccount ( v ) ) )
end
end
)

 

مسوي 3 احداث بنفس الاسم و3 لوبات لنفس الشيء حطهم بحدث واحد وبلوب واحد يقلل الضغط @_@

  • Haha 1
Link to comment
2 minutes ago, MR.StoRm said:

المهم يشتغل xD 

قصدك المهم يضغط على السيرفر ؟ xD

Just now, x[B-B]'#Mr:SrOrE',<3 said:

زبط 
مشكور لي كم يوم أحول وكل واحد يعطيني كود ولآ يزبط معي

بدل هذا بالكود الي عطاك اياه ستورم عشان الضغط يقل

addEventHandler ( 'onPlayerJoin' , root , function (  )
setElementData ( source , 'aSerial' , getPlayerSerial ( source ) )
setElementData ( source , 'aIP' , getPlayerIP ( source ) )
end
)

addEventHandler ( 'onPlayerLogin' , root , function (  )
setElementData ( source , 'aAccount' , getAccountName ( getPlayerAccount ( source ) ) )
end
)

addEventHandler ( 'onResourceStart' , resourceRoot , function ( )
for _ , v in ipairs ( getElementsByType ( 'player' ) ) do
setElementData ( v , 'aAccount' , getAccountName ( getPlayerAccount ( v ) ) or "Guest" )
setElementData ( v , 'aIP' , getPlayerIP ( v ) )
setElementData ( v , 'aSerial' , getPlayerSerial ( v ) )      
end
end
)
Edited by iMr.WiFi..!
  • Thanks 1
Link to comment

للمعلوميه مايحتاج سيرفر عشان تجيب سيريال اللاعب في الكلنت .

getPlayerSerial()

ويضبط . مايحتاج تحط لها داتا

بإختصار لو تبي تجيب سيريال الكلنت فقط يمديك تستعملها للكلنت لكن لو بتجيب حق لاعبين اخرين م تقدر بالكلنت .

Link to comment
10 hours ago, Rakan# said:

للمعلوميه مايحتاج سيرفر عشان تجيب سيريال اللاعب في الكلنت .

getPlayerSerial()

ويضبط . مايحتاج تحط لها داتا

بإختصار لو تبي تجيب سيريال الكلنت فقط يمديك تستعملها للكلنت لكن لو بتجيب حق لاعبين اخرين م تقدر بالكلنت .

لا يشيخ 
جلب السيريال فقط سيرفر 

Link to comment
2 minutes ago, Rakan# said:

جربت ولا رميت كلام من كيسك ؟

Note: The client side version of getPlayerSerial has been deprecated as it can return the wrong value for some players, and is potentially insecure. The following article assumes that the function is serverside only.

Edited by MR.StoRm
Link to comment
Just now, #,+( _xiRoc[K]; > said:

 

موجودة بالويكي ,
Note: The client side version of getPlayerSerial has been deprecated as it can return the wrong value for some players, and is potentially insecure. The following article assumes that the function is serverside only.

Link to comment
1 minute ago, #,+( _xiRoc[K]; > said:

 

نا قلت يجيب سيريال اللاعب فقط يعني ماينفع اجيب سيريال لاعب اخر في الكلنت انا عندي مود مسويه اصلا

طيب ورا ماتروحون تجربون ؟

On ١٨‏/١١‏/٢٠١٦ at 01:59, </Mr.Tn6eL> said:

_getSerial = getPlayerSerial
function getPlayerSerial(p)
	return (isElement(p) and getElementType(p) == "player") and getElementData(p, "serial") or _getSerial()
end

ركز باخر شي

or _getSerial()

Link to comment
2 minutes ago, Rakan# said:

نا قلت يجيب سيريال اللاعب فقط يعني ماينفع اجيب سيريال لاعب اخر في الكلنت انا عندي مود مسويه اصلا

طيب ورا ماتروحون تجربون ؟

Note: The client side version of getPlayerSerial has been deprecated as it can return the wrong value for some players, and is potentially insecure. The following article assumes that the function is serverside only.

Link to comment
Just now, MR.StoRm said:

Note: The client side version of getPlayerSerial has been deprecated as it can return the wrong value for some players, and is potentially insecure. The following article assumes that the function is serverside only.

طيب ذا للاعبين اخرين , انا قلت يجيب الخاص بالكلنت فقط ؟ كيف تفهم يخوي

Link to comment
3 minutes ago, Rakan# said:

نا قلت يجيب سيريال اللاعب فقط يعني ماينفع اجيب سيريال لاعب اخر في الكلنت انا عندي مود مسويه اصلا

طيب ورا ماتروحون تجربون ؟

ركز باخر شي

or _getSerial()

الويكي اصلا مكتوب فيه

Note: The client side version of getPlayerSerial has been deprecated as it can return the wrong value for some players, and is potentially insecure. The following article assumes that the function is serverside only.

يعني ممكن يعطي قيمة غلط

Link to comment

اخوي راكان , كيف عرفت ان قصد الويكي يقول : اذا استخدمت الكود بجهة الكلنت ويكون خاص بسيريالك انت , راح يشتغل معك؟

يمكن كان المقصد من كلام الويكي : راح تظهر اخطاء عند بعض اللاعبين , لما قال بعض اللاعبين يقصد المبرمجين اي بمعني الشخص الي جالس يبرمج المود

موب يمكن يكون زي ما انت فاهم !! و من المحتمل ان يكون كلامي هذا غلط , فـ عشان تتفادي الاخطاء خله بالسيرفر وريح راسك

( الإحتياط واجب )

واذا ما اقتنعت بكلامي فـ هذا رأيك وانا احترم رايك , ولكن اذا صاحب الموضوع مايبي اخطاء بالمستقبل يسمع كلام الويكي

لأن الي حذر من الكود هم نفسهم الي سوو الكود , فهل تقدر تقنعني ان انت اذكي منهم مع احترامي لك ؟

@Rakan#

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