-
Posts
82 -
Joined
-
Last visited
Everything posted by -ffn-python
-
I couldn't do it can you help
-
Oh Thanks. Map Finish 1st which how points I can give ??
-
Well. Can you help I'm new in this Programming
-
Shows as Winning Number 0 New Code. local screenW, screenH = guiGetScreenSize() function Test(kazanma) local Nick = "PlayerNick:"..getPlayerName(localPlayer) local Test = "MapsWin:"..tostring(kazanma) dxDrawRectangle(screenW * 0.2709, screenH * 0.1966, screenW * 0.4458, screenH * 0.5247, tocolor(0, 0, 0, 179), false) dxDrawText("PLAYER STATS SYSTEM BY PYTHON", screenW * 0.2826, screenH * 0.1966, screenW * 0.6918, screenH * 0.2357, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(Test, screenW * 0.2753, screenH * 0.3164, screenW * 0.5322, screenH * 0.3529, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(Nick, screenW * 0.2753, screenH * 0.2799, screenW * 0.5322, screenH * 0.3164, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) end addEventHandler("onClientRender", root, Test) addEvent("onClientPythonStats", true ) addEventHandler("onClientPythonStats", root, Test) -- SERVER SIDE function hello() setElementData(getLocalPlayer(),"wins", getElementData(getLocalPlayer(),"wins") + 1) end addCommandHandler("givewins",hello) My old Code. Client.lua local screenW, screenH = guiGetScreenSize() addEvent("onClientPythonStats", true ) addEventHandler("onClientPythonStats", root, Test) function Test(kazanma) local Nick = "PlayerNick:"..getPlayerName(localPlayer) local kazanma = "Maps Win:"..tostring(kazanma) dxDrawRectangle(screenW * 0.2709, screenH * 0.1966, screenW * 0.4458, screenH * 0.5247, tocolor(0, 0, 0, 179), false) dxDrawText("PLAYER STATS SYSTEM BY PYTHON", screenW * 0.2826, screenH * 0.1966, screenW * 0.6918, screenH * 0.2357, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(kazanma, screenW * 0.2753, screenH * 0.3164, screenW * 0.5322, screenH * 0.3529, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(Nick, screenW * 0.2753, screenH * 0.2799, screenW * 0.5322, screenH * 0.3164, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) end addEventHandler("onClientRender", root, Test) server.lua addEvent("onPythonStats", true) addEventHandler("onPythonStats", root, function() local kazanma = getElementData(client, "wins") triggerClientEvent(client, "onClientPythonStats", client, kazanma) end)
-
I'm added him. , Already you give Code
-
don't work. value error .
-
I think your bad english , Still not false writes Show
-
spawnPlayer getPedOccupiedVehicle setElementData setElementDimension createVehicle
-
My Server Destruction Derby. Winning Show
-
Can you help?? Now I can't do it.
-
value nil show ??
-
addEventHandler("onClientResourceStart",root function() triggerServerEvent ("onPythonStats", localPlayer) end )
-
Client.lua local screenW, screenH = guiGetScreenSize() addEvent("onClientPythonStats", true ) addEventHandler("onClientPythonStats", root, Test) function Test(kazanma) local Nick = "PlayerNick:"..getPlayerName(localPlayer) local kazanma = "Maps Win:"..tostring(kazanma) dxDrawRectangle(screenW * 0.2709, screenH * 0.1966, screenW * 0.4458, screenH * 0.5247, tocolor(0, 0, 0, 179), false) dxDrawText("PLAYER STATS SYSTEM BY PYTHON", screenW * 0.2826, screenH * 0.1966, screenW * 0.6918, screenH * 0.2357, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(kazanma, screenW * 0.2753, screenH * 0.3164, screenW * 0.5322, screenH * 0.3529, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(Nick, screenW * 0.2753, screenH * 0.2799, screenW * 0.5322, screenH * 0.3164, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) end addEventHandler("onClientRender", root, Test) server.lua addEvent("onPythonStats", true) addEventHandler("onPythonStats", root, function() local kazanma = getElementData(client, "wins") triggerClientEvent(client, "onClientPythonStats", client, kazanma) end)
-
hard to write ? local bind = {State=false,KeyHere="u"} bindKey(bind.KeyHere,"down", function() if bind.State == false then addEventHandler("onClientRender", root, PanelOpen) bind.State= true else removeEventHandler("onClientRender", root, PanelClose) bind.State = false end end) Closing animation local bind = {State=false,KeyHere="u"} bindKey(bind.KeyHere,"down", function() if bind.State == false then addEventHandler("onClientRender", root, PanelOpen) bind.State= true else addEventHandler("onClientRender", root, PanelClose) bind.State = false end end)
-
Burayı Kontrol Edermisin. local ortakveri = getAccountData(ac,"ortakveri") if getClanData(ortakveri,"isim") == "false" then
-
I can not help if you do not take pictures.
-
You can Upload Debugscript image ? Please Upload .
-
local bind = {State=false,KeyHere="u"} bindKey(bind.KeyHere,"down", function() if bind.State == false then -- addEventHandler Here your code bind.State= true else -- removeEventHandler Here your code bind.State = false end end)
-
HypexFont = dxCreateFont( "FontName.ttf", 20 ) posOne = 0 posTwo = 0 posThree = 0 posFour = 0 red = 255 green = 255 blue = 255 dxDrawText("HYPEX FONT TEST", posOne, posTwo, PosThree, posFour, tocolor(red,green,blue), 1, HypexFont)
-
Hi Bro. Example; local theInput local textColor = tocolor(0, 0, 0, 255) local editBoxColor = tocolor(255, 255, 255, 255) addEventHandler("onClientRender", root, function() if theInput then dxDrawRectangle(395, 395, 100, 55, editBoxColor) dxDrawText(theInput, 400, 400, 90, 45, textColor) end end ) addEventHandler("onClientCharacter", root, function(theChar) theInput = theInput .. theChar end ) -- handling the backspace key: addEventHandler("onClientKey", root, function(theButton, state) if theButton == "backspace" and state == "down" then theInput = theInput:sub(1, theInput:len()-1) end end )
-
Stolen Script. The Only Edit! https://community.multitheftauto.com/index.php?p= ... s&id=12035 DONE
-
Already FFS-style user panel. Change Server Name
-
I'm Fixed. Solved!
