Jump to content

#تعديل


Adham

Recommended Posts

سلام عليكم يوم عملت مود توزيع فلوس لللكل

ما تفتح اللوحة

كلنت

  
GUIEditor = { 
    button = {}, 
    label = {} 
} 
addEventHandler("onClientResourceStart", resourceRoot, 
    function() 
        wnd = guiCreateWindow(192, 172, 428, 264, ":: Teams Systeam ::", false) 
        guiWindowSetSizable(wnd, false) 
        guiSetVisible(wnd, false) 
        Boton_Send = guiCreateButton(87, 148, 249, 38, "Send Money To all", false, wnd) 
        GUIEditor.button[1] = guiCreateButton(87, 191, 249, 38, "X", false, wnd) 
        Money_Edit = guiCreateEdit(89, 103, 242, 39, "", false, wnd) 
        GUIEditor.label[1] = guiCreateLabel(89, 78, 187, 15, "Money:", false, wnd) 
        GUIEditor.label[2] = guiCreateLabel(22, 239, 173, 15, "Created By [L]e3bA | v3.4.1", false, wnd) 
        guiLabelSetColor(GUIEditor.label[2], 255, 0, 0)     
    end 
) 
  
-- 
  
  
function Open () 
    guiSetVisible(wnd, true) 
    showCursor(true) 
end 
addEvent("Abrir", true) 
addEventHandler("Abrir", getLocalPlayer(), Open) 
  
function close () 
    guiSetVisible(GUI, false) 
    showCursor(false) 
end 
addEventHandler("onClientGUIClick", GUIEditor.button[1], close, false) 
  
function sendm () 
    name = getPlayerName(getLocalPlayer()) 
    cantidad = guiGetText(Money_Edit) 
    triggerServerEvent("SendMoney1",getRootElement(),cantidad,name) 
end 
addEventHandler("onClientGUIClick", Boton_Send, sendm, false) 

سرفر

function onAdmins ( thePlayer ) 
local cuenta = getAccountName( getPlayerAccount(thePlayer) ) 
    if isObjectInACLGroup("user."..cuenta, aclGetGroup("Console")) then 
        triggerClientEvent ( "Abrir", thePlayer) 
    else 
        outputChatBox("* انت لم تملك الخصيه للدخول", thePlayer, 255, 0, 0, true) 
    end 
end 
addCommandHandler("sendmoney", onAdmins) 
  
function Enviar (cantidad, name) 
    givePlayerMoney(getRootElement(), tonumber(cantidad)) 
    outputChatBox("#00ffffنظام حافز :تم منيح الجميع $100000"..cantidad, getRootElement(), 255, 255, 255, true) 
end 
addEvent("SendMoney1", true) 
addEventHandler("SendMoney1", getRootElement(), Enviar) 

Link to comment
outputChatBox("* انت لم تملك الخصيه للدخول", thePlayer, 255, 0, 0, true) 

^ ما هذا ي رجل ><

عموماً وين اللوب ؟ وفيه أخطاء كثير

هذا إذا ماعنده خصيه مايقدر يدخل

:mrgreen::mrgreen: ههههههههههههههههههههههههههههه

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