xX_Ma[D]arA_xX Posted September 3, 2017 Share Posted September 3, 2017 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
#BrosS Posted September 3, 2017 Share Posted September 3, 2017 (edited) 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 September 3, 2017 by #BrosS Link to comment
xNKM51 Posted October 9, 2017 Author Share Posted October 9, 2017 م يزبط --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
Adham Posted October 9, 2017 Share Posted October 9, 2017 (edited) جرب ذا انا هاتف # غير مجرب 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 October 9, 2017 by Deativated Link to comment
xNKM51 Posted October 13, 2017 Author Share Posted October 13, 2017 كل ألآكواد عطتوني م زبط ولآ واحد Link to comment
xNKM51 Posted October 13, 2017 Author Share Posted October 13, 2017 (edited) أتمناء تساعدوني حولت كل ألاكواد طرحتو لي م نفع معي ولآ واحد --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 October 13, 2017 by x[B-B]'#Mr:SrOrE',<3 Link to comment
MR.StoRm Posted October 13, 2017 Share Posted October 13, 2017 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
iMr.WiFi..! Posted October 13, 2017 Share Posted October 13, 2017 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 لوبات لنفس الشيء حطهم بحدث واحد وبلوب واحد يقلل الضغط @_@ 1 Link to comment
MR.StoRm Posted October 13, 2017 Share Posted October 13, 2017 Just now, iMr.WiFi..! said: مسوي 3 احداث بنفس الاسم و3 لوبات لنفس الشيء حطهم بحدث واحد وبلوب واحد يقلل الضغط @_@ المهم يشتغل Link to comment
xNKM51 Posted October 13, 2017 Author Share Posted October 13, 2017 زبط مشكور لي كم يوم أحول وكل واحد يعطيني كود ولآ يزبط معي Link to comment
iMr.WiFi..! Posted October 13, 2017 Share Posted October 13, 2017 (edited) 2 minutes ago, MR.StoRm said: المهم يشتغل قصدك المهم يضغط على السيرفر ؟ 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 October 13, 2017 by iMr.WiFi..! 1 Link to comment
MR.StoRm Posted October 13, 2017 Share Posted October 13, 2017 2 minutes ago, x[B-B]'#Mr:SrOrE',<3 said: زبط مشكور لي كم يوم أحول وكل واحد يعطيني كود ولآ يزبط معي حياك الله Link to comment
^iiEcoo'x_) Posted October 13, 2017 Share Posted October 13, 2017 @iMr.WiFi..! inspect إستعمل هذه الوظيفة ، رح تسهل عليك وتقلل أكواد . Link to comment
Rakan# Posted October 13, 2017 Share Posted October 13, 2017 للمعلوميه مايحتاج سيرفر عشان تجيب سيريال اللاعب في الكلنت . getPlayerSerial() ويضبط . مايحتاج تحط لها داتا بإختصار لو تبي تجيب سيريال الكلنت فقط يمديك تستعملها للكلنت لكن لو بتجيب حق لاعبين اخرين م تقدر بالكلنت . Link to comment
MR.StoRm Posted October 14, 2017 Share Posted October 14, 2017 10 hours ago, Rakan# said: للمعلوميه مايحتاج سيرفر عشان تجيب سيريال اللاعب في الكلنت . getPlayerSerial() ويضبط . مايحتاج تحط لها داتا بإختصار لو تبي تجيب سيريال الكلنت فقط يمديك تستعملها للكلنت لكن لو بتجيب حق لاعبين اخرين م تقدر بالكلنت . لا يشيخ جلب السيريال فقط سيرفر Link to comment
Rakan# Posted October 14, 2017 Share Posted October 14, 2017 (edited) 6 hours ago, MR.StoRm said: لا يشيخ جلب السيريال فقط سيرفر جربت ولا رميت كلام من كيسك ؟ يرحم امك لاتقول كلام مو متأكد منه ! Edited October 14, 2017 by Rakan# Link to comment
MR.StoRm Posted October 14, 2017 Share Posted October 14, 2017 (edited) 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 October 14, 2017 by MR.StoRm Link to comment
Rockyz Posted October 14, 2017 Share Posted October 14, 2017 2 minutes ago, Rakan# said: جربت ولا رميت كلام من كيسك ؟ يرحم امك لاتقول كلام مو متأكد منه ! Link to comment
MR.StoRm Posted October 14, 2017 Share Posted October 14, 2017 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
Rakan# Posted October 14, 2017 Share Posted October 14, 2017 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
MR.StoRm Posted October 14, 2017 Share Posted October 14, 2017 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
Rakan# Posted October 14, 2017 Share Posted October 14, 2017 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
Rockyz Posted October 14, 2017 Share Posted October 14, 2017 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# Posted October 14, 2017 Share Posted October 14, 2017 (edited) 2 minutes ago, Rakan# said: طيب ذا للاعبين اخرين , انا قلت يجيب الخاص بالكلنت فقط ؟ كيف تفهم يخوي Edited October 14, 2017 by Rakan# 1 Link to comment
!#NssoR_) Posted October 14, 2017 Share Posted October 14, 2017 اخوي راكان , كيف عرفت ان قصد الويكي يقول : اذا استخدمت الكود بجهة الكلنت ويكون خاص بسيريالك انت , راح يشتغل معك؟ يمكن كان المقصد من كلام الويكي : راح تظهر اخطاء عند بعض اللاعبين , لما قال بعض اللاعبين يقصد المبرمجين اي بمعني الشخص الي جالس يبرمج المود موب يمكن يكون زي ما انت فاهم !! و من المحتمل ان يكون كلامي هذا غلط , فـ عشان تتفادي الاخطاء خله بالسيرفر وريح راسك ( الإحتياط واجب ) واذا ما اقتنعت بكلامي فـ هذا رأيك وانا احترم رايك , ولكن اذا صاحب الموضوع مايبي اخطاء بالمستقبل يسمع كلام الويكي لأن الي حذر من الكود هم نفسهم الي سوو الكود , فهل تقدر تقنعني ان انت اذكي منهم مع احترامي لك ؟ @Rakan# Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now