Adham Posted April 1, 2016 Share Posted April 1, 2016 سلام عليكم اليوم انا لقيت مود توزيع الفلوس لما بوزع فلوس بيجلي في الشات انا مش عاوز يجلي في الشات عاوز يجلي فوق الهوا مود TopBarChat العامل اسود فوق كدا يعني لما اوزع فلوس تيجي الكلام البشات متجيش ب الشات تيجي فوق كلنت --[[ Name: admin-send-money-hl Description: Script to send money to all players Created by: lLinux (HackerlLinux) Contact: Skype: HackerlLinux FB: [url=http://www.fb.com/lLinux]www.fb.com/lLinux[/url] ]]-- function centerWindow (center_window) local screenW, screenH = guiGetScreenSize() local windowW, windowH = guiGetSize(center_window, false) local x, y = (screenW - windowW) /2,(screenH - windowH) /2 guiSetPosition(center_window, x, y, false) end GUI = guiCreateWindow(530, 297, 281, 85, "Send money to all players", false) guiWindowSetSizable(GUI, false) guiSetVisible(GUI, false) centerWindow (GUI) Label = guiCreateLabel(10, 33, 58, 15, "Amount $::", false, GUI) Money_Edit = guiCreateEdit(78, 31, 82, 21, "", false, GUI) guiEditSetMaxLength(Money_Edit, -- s8) --> Boton_Send = guiCreateButton(170, 31, 47, 21, "Send", false, GUI) guiSetProperty(Boton_Send, "NormalTextColour", "FFAAAAAA") CopyRight = guiCreateLabel(10, 60, 261, 15, "Script by lLinux (HackerlLinux) ", false, GUI) guiSetFont(CopyRight, "default-bold-small") guiLabelSetColor(CopyRight, 254, 120, 21) guiLabelSetHorizontalAlign(CopyRight, "center", false) Boton_Cancelar = guiCreateButton(223, 31, 47, 21, "Cancel", false, GUI) guiSetProperty(Boton_Cancelar, "NormalTextColour", "FFAAAAAA") function Open () guiSetVisible(GUI, true) showCursor(true) end addEvent("Abrir", true) addEventHandler("Abrir", getLocalPlayer(), Open) function close () guiSetVisible(GUI, false) showCursor(false) end addEventHandler("onClientGUIClick", Boton_Cancelar, 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("Admin")) then triggerClientEvent ( "Abrir", thePlayer) else outputChatBox("ACCESO DENEGADO!", thePlayer, 255, 0, 0, true) end end addCommandHandler("sendmoney", onAdmins) function Enviar (cantidad, name) givePlayerMoney(getRootElement(), tonumber(cantidad)) outputChatBox("#ffff00نظام حافز : تم منح الجميع $ "..cantidad, getRootElement(), 255, 255, 255, true) end addEvent("SendMoney1", true) addEventHandler("SendMoney1", getRootElement(), Enviar) Link to comment
Abdul KariM Posted April 1, 2016 Share Posted April 1, 2016 بـدل outputChatBox بــــ exports["TopBarChat"]:sendClientMessage TopBarChat = اسم المود , حق الكلام الي فوق Link to comment
Ahmed Ly Posted April 1, 2016 Share Posted April 1, 2016 function onAdmins ( thePlayer ) local cuenta = getAccountName( getPlayerAccount(thePlayer) ) if isObjectInACLGroup("user."..cuenta, aclGetGroup("Admin")) then triggerClientEvent ( "Abrir", thePlayer) else outputChatBox("ACCESO DENEGADO!", thePlayer, 255, 0, 0, true) end end addCommandHandler("sendmoney", onAdmins) function Enviar (cantidad, name) givePlayerMoney(getRootElement(), tonumber(cantidad)) exports["topbarchat"]:sendClientMessage("#ffff00نظام حافز : تم منح الجميع $ "..cantidad, getRootElement(), 255, 255, 255, true) end addEvent("SendMoney1", true) addEventHandler("SendMoney1", getRootElement(), Enviar) Link to comment
Sylence Posted April 1, 2016 Share Posted April 1, 2016 ما ظبتن function onAdmins ( thePlayer ) local cuenta = getAccountName( getPlayerAccount(thePlayer) ) if isObjectInACLGroup("user."..cuenta, aclGetGroup("Admin")) then triggerClientEvent ( "Abrir", thePlayer) else outputChatBox("ACCESO DENEGADO!", thePlayer, 255, 0, 0, true) end end addCommandHandler("sendmoney", onAdmins) function Enviar (cantidad, name) givePlayerMoney(getRootElement(), tonumber(cantidad)) exports["topbarchat"]:sendClientMessage("#ffff00نظام حافز : تم منح الجميع $ "..cantidad, getRootElement(), 255, 255, 255, true) end addEvent("SendMoney1", true) addEventHandler("SendMoney1", getRootElement(), Enviar) Link to comment
Ahmed Ly Posted April 1, 2016 Share Posted April 1, 2016 ما ظبت شغل المود TopBarChat قبل كل شي Link to comment
Abdul KariM Posted April 1, 2016 Share Posted April 1, 2016 ما ظبتن function onAdmins ( thePlayer ) local cuenta = getAccountName( getPlayerAccount(thePlayer) ) if isObjectInACLGroup("user."..cuenta, aclGetGroup("Admin")) then triggerClientEvent ( "Abrir", thePlayer) else outputChatBox("ACCESO DENEGADO!", thePlayer, 255, 0, 0, true) end end addCommandHandler("sendmoney", onAdmins) function Enviar (cantidad, name) givePlayerMoney(getRootElement(), tonumber(cantidad)) exports["topbarchat"]:sendClientMessage("#ffff00نظام حافز : تم منح الجميع $ "..cantidad, getRootElement(), 255, 255, 255, true) end addEvent("SendMoney1", true) addEventHandler("SendMoney1", getRootElement(), Enviar) عندي شعور انه انت [L]e3bA Link to comment
Adham Posted April 1, 2016 Author Share Posted April 1, 2016 شباب مش ممكن حد يديني مود توب بار شات؟ Link to comment
Ahmed Ly Posted April 1, 2016 Share Posted April 1, 2016 شباب مش ممكن حد يديني مود توب بار شات؟ https://community.multitheftauto.com/in ... ls&id=7668 + مش ممكن ؟ Link to comment
Ahmed Ly Posted April 1, 2016 Share Posted April 1, 2016 شكرااااااا لكم العفو حياك الله 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