-
Posts
93 -
Joined
-
Last visited
-
Days Won
1
Everything posted by LilDawage
-
to know Gropup name From database you should Create a table for it (CREATE TABLE IF NOT EXIST .. and get player Group from table using Database function
-
first : >>>>> function registerPlayer (p, username, password ) 2/ on same Function use : addAccount(username,password) >>>>>> allowed this Function on Acl for Default Group 3/ make Event or command Related with this Function
-
ok bro i will do when i'm free
-
addEventHandler("onPlayerSpawn",root,function() outputChatBox(tostring(getAccountID(getPlayerAccount(source)))) end) this bro Try to make source identified addEventHandler("onPlayerSpawn",root,function(p)
-
Yeh why not , and will be better
-
list table for Wanted levels : Create Girdlist guiGridListAddRow <<<< player name , and wanted level guiGridListSetItemText >>>>>> make table to loop all players have stars table sort <<<<<<<<< to make players wanted levels by orders for > to < More help contact me on discord thank you
-
Join our Forums Now : ugnrpg.ml
-
Underground Gaming Network UGN:RPG New RPG/CnR Server Developed by some Experienced Scripters / mappers : For More infos about News Visite Us on our Discord Channel : https://discord.gg/cfDHqN Thank You
-
if you already have Drift system scripts you just addEventHandler (onPlayerQuit , ..... MS = getElementData ("source", "drift points") setElementData ("source" ,"drift points" , MS) addEventHandler (onPlayerWasted the same codes and call(getResourceFromName("name of scoreboard resource"), "addScoreboardColumn", "drift points") bro this is just an exemple i dont know your script codes ( i mean about drift points ...) , i just give you an idea maybe help you , any problem contact me on dc
- 3 replies
-
- 1
-
-
- scoreboard
- drift
-
(and 1 more)
Tagged with:
-
wut i sould use : 1- onClientClick 2- getElementByType 3- getDistanceBetweenPoints3D 4- onClientClick use >>> witch panel you want to open it like function menu () , so you make it ... any help pm me on dc thank you
-
GUIEditor = { tab = {}, staticimage = {}, tabpanel = {}, edit = {}, button = {}, window = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0.11, 0.08, 0.77, 0.85, "لوحة التسجيل", true) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.73) GUIEditor.memo[1] = guiCreateMemo(0.05, 0.63, 0.18, 0.14, ".\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n", true, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.staticimage[1] = guiCreateStaticImage(0.04, 0.32, 0.21, 0.24, ":guieditor/images/examples/mtalogo.png", true, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("Tab", GUIEditor.tabpanel[1]) GUIEditor.edit[1] = guiCreateEdit(0.42, 0.38, 0.46, 0.06, "", true, GUIEditor.window[1]) GUIEditor.edit[2] = guiCreateEdit(0.42, 0.54, 0.46, 0.06, "", true, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(369, 520, 188, 53, "Login", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(716, 520, 188, 53, "Register", false, GUIEditor.window[1]) end ) local screenW, screenH = guiGetScreenSize ( ) addEventHandler("onClientRender", root, function() local playerX, playerY, playerZ = getElementPosition ( localPlayer ) local playerX, playerY, playerZ = getElementPosition ( localPlayer ) local playerZoneName = getZoneName ( playerX, playerY, playerZ ) dxDrawRectangle(147, 54, 986, 50, tocolor(101, 101, 101, 255), true) dxDrawText("لوحة التسجيل", (screenW * 0.1133) - 1, (screenH * 0.0750) - 1, (screenW * 0.8852) - 1, (screenH * 0.1444) - 1, tocolor(0, 0, 0, 255), 1.00, myFont, "center", "center", false, false, true, false, false) dxDrawText("لوحة التسجيل", (screenW * 0.1133) + 1, (screenH * 0.0750) - 1, (screenW * 0.8852) + 1, (screenH * 0.1444) - 1, tocolor(0, 0, 0, 255), 1.00, myFont, "center", "center", false, false, true, false, false) dxDrawText("لوحة التسجيل", (screenW * 0.1133) - 1, (screenH * 0.0750) + 1, (screenW * 0.8852) - 1, (screenH * 0.1444) + 1, tocolor(0, 0, 0, 255), 1.00, myFont, "center", "center", false, false, true, false, false) dxDrawText("لوحة التسجيل", (screenW * 0.1133) + 1, (screenH * 0.0750) + 1, (screenW * 0.8852) + 1, (screenH * 0.1444) + 1, tocolor(0, 0, 0, 255), 1.00, myFont, "center", "center", false, false, true, false, false) dxDrawText("لوحة التسجيل", screenW * 0.1133, screenH * 0.0750, screenW * 0.8852, screenH * 0.1444, tocolor(255, 255, 255, 255), 1.00, myFont, "center", "center", false, false, true, false, false) dxDrawRectangle(screenW * 0.3977, screenH * 0.7958, screenW * 0.1563, screenH * 0.0750, tocolor(84, 84, 84, 254), true) dxDrawRectangle(screenW * 0.6695, screenH * 0.7958, screenW * 0.1563, screenH * 0.0750, tocolor(84, 84, 84, 254), true) dxDrawText("دخول", screenW * 0.3977, screenH * 0.7958, screenW * 0.5539, screenH * 0.8708, tocolor(255, 255, 255, 255), 1.00, myFont, "center", "center", false, false, true, false, false) dxDrawText("انشاء حساب", screenW * 0.6695, screenH * 0.7958, screenW * 0.8258, screenH * 0.8708, tocolor(255, 255, 255, 255), 1.00, "center", "center", false, false, true, false, false) dxDrawText("حقوق طبع والنشر - فنون الريس © 2018", screenW * 0.7695, screenH * 0.9042, screenW * 0.8852, screenH * 0.9250, tocolor(255, 255, 255, 255), 1.00, myFont, "left", "top", false, false, true, false, false) end ) function HandleTheRendering ( ) addEventHandler ( "onClientRender", root, createText ) -- keep the text visible with onClientRender. end addEventHandler ( "onClientResourceStart", resourceRoot, HandleTheRendering ) -- Use 'toggle' command to switch custom font on and off addCommandHandler( "toggle", function() if not myFont then myFont = dxCreateFont( "hacen-liner-print-out-light.ttf", 45 ) -- Create custom font myFont = dxCreateFont( "hacen-liner-print-out-light.ttf", 30 ) myFont = dxCreateFont( "hacen-liner-print-out-light.ttf", 9 ) local myFont = dxCreateFont("hacen-liner-print-out-light.ttf", 45) local myFont = dxCreateFont("hacen-liner-print-out-light.ttf", 30) local myFont = dxCreateFont("hacen-liner-print-out-light.ttf", 9) local screenW, screenH = guiGetScreenSize() else destroyElement( myFont ) -- Destroy custom font myFont = nil end end )
-
https://wiki.multitheftauto.com/wiki/SetElementSpeed
-
addEventHandler("onPlayerCommand", root, function(cmd) if cmd == "admin" and getElementDimension(source) == 30 then cancelEvent() end end)
-
فكرة جيدة و يمكن تطبيقها
-
:هو يقصد مثل VM VirtualBox VMware مع الاسف لا توجد طريقة لمعرفة ذلك
-
[HELP]How do i draw a image in the freeroam panel
LilDawage replied to Soapbosnia's topic in Scripting
you Gui window for F1 name is ?