Jump to content

Ayee

Members
  • Posts

    41
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Ayee

  1. I installed mta server on centos 7 how can i add to it ftp and mysql to it
  2. ممكن في المستقبل
  3. Ayee

    help

    no i didnt i did scan to mta its found 62 FILE HAve virus
  4. Ayee

    help

    well i downloaded avast and i did full scan and i did reinstall to mta but i didn't do anything to GTA and nothing happened before is there other program?
  5. Ayee

    help

    https://upload.mtasa.com/u/187968650/eax.dll_ this link
  6. Ayee

    help

    https://pastebin.mtasa.com/449260691 gave me this
  7. Ayee

    help

    done i did full scan and only scan to mta and nothing happened
  8. Ayee

    what's worng

    its LangChat Script idk why its wont work and its not giving errors at debugscript Could anyone help me addCommandHandler("LangChat", function (thePlayer, cn, ...) if isPlayerMuted(thePlayer) or isGuestAccount(getPlayerAccount(thePlayer)) then return end if isTimer(spam[thePlayer]) then exports.GTCMessages:sendClientMessage("Anti-spam: please refrain from spamming the chats!",thePlayer, 255, 0, 0) return end if plang[getElementData(thePlayer, "Country")] then ctr = plang[getElementData(thePlayer, "Country")] isclg = true else ctr = getElementData(thePlayer, "Country") isclg = false end r, g, b = getTeamColor(getPlayerTeam(thePlayer)) if getTeamName(getPlayerTeam(thePlayer)) == "Government" and getElementData(thePlayer,"Clan") == "SWAT" then r, g, b = 12, 2, 219 end if getTeamName(getPlayerTeam(thePlayer)) == "Government" and getElementData(thePlayer,"Clan") == "Military" then r, g, b = 21, 97, 8 end spam[thePlayer] = setTimer(function () end, 1000, 1) for k, v in ipairs(getElementsByType("player")) do --- getElementData(v, "nonEnglishChat")) if(ifnot(isclg, plang[getElementData(v, "Country")], getElementData(v, "Country")) == ctr ) then if getElementData(v,"nonEnglishChat") then outputChatBox("("..ctr..") "..string.gsub(getPlayerName(thePlayer), "#%x%x%x%x%x%x", "")..": #FFFFFF"..table.concat({...}, " "), v, r, g, b, true) end end end outputServerLog("LANGCHAT: ("..ctr..") "..getPlayerName(thePlayer)..": "..table.concat({...}, " ")) logThis("Lang Chat", "("..ctr..") "..getPlayerName(thePlayer)..": "..table.concat({...}, " ")) end) function ifnot(a, b, c) if a then return b else return c end end plang = { --- Arabic End ["Portugal"] = "Portuguese", ["Brazil"] = "Portuguese", ["Slovenia"] = "Ex-Yu", ["Serbia"] = "Ex-Yu", ["Croatia"] = "Ex-Yu", ["Macedonia"] = "Ex-Yu", } addEventHandler("onPlayerJoin", getRootElement(), function () bindKey(source, "5", "down", "chatbox", "LangChat") dap = source fetchRemote("http://134.119.223.179/json/"..getPlayerIP(dap), countryCheck, "", false, dap) end) function countryCheck(resp, erno, dap) if resp ~= "ERROR" then if(fromJSON(resp)["query"] == "127.0.0.1") then pip = "Portugal" else pip = fromJSON(resp)["country"] end setElementData(dap, "Country", pip) setElementData(dap, "CC", string.lower(fromJSON(resp)["countryCode"] or "zz")) if fileExists(":admin/client/images/flags/"..getElementData(dap, "CC")..".png") then path = ":admin/client/images/flags/"..getElementData(dap, "CC")..".png" else path = ":admin/client/images/flags/zz.png" end setElementData(dap,"Pic",path) if getAccountName(getPlayerAccount(dap)) == "Maxman" then setElementData(dap, "Country", "Brazil") end end end
  9. Ayee

    help

    im getting auto kick from the game (Kicked From VF #20007000) Can Any one Help me to fix it ScreenShot
  10. slots so low of mta we need like 50,100slot
  11. Ayee

    Problem in code

    im asking for help from Good One not from you i didnt ask u for help then dont talk
  12. Ayee

    Problem in code

    yes i think problem in them can u help me?
  13. Ayee

    Problem in code

    local sx,sy = guiGetScreenSize() addEvent("onInventoryShowNeeded",true) addEventHandler("onInventoryShowNeeded", root, function(items) if not isElement(invwdw) then invwdw = guiCreateWindow((sx - 291)/2,(sy - 445)/2, 291, 445, "GTE:RPG Inventory", false) guiWindowSetSizable(invwdw, false) logo = guiCreateStaticImage(70, 22, 149, 56, ":SAEGLogin/logo.png", false, invwdw) invgrid = guiCreateGridList(9, 81, 273, 311, false, invwdw) guiGridListAddColumn(invgrid, "Item", 0.5) guiGridListAddColumn(invgrid, "Quantitiy", 0.5) for i,v in ipairs(items) do row = guiGridListAddRow(invgrid) guiGridListSetItemText(invgrid, row, 1, v["item"], false, false) guiGridListSetItemText(invgrid, row, 2, v["quant"].." unit(s)", false, false) end closebtn = guiCreateButton(213, 396, 69, 39, "Close", false, invwdw) infolabel = guiCreateLabel(10, 396, 196, 36, "Double mouse 'Right' click to use!\nDouble mouse 'Left' click to drop!", false, invwdw) guiSetFont(infolabel, "default-bold-small") guiLabelSetHorizontalAlign(infolabel, "center", false) guiLabelSetVerticalAlign(infolabel, "center") else destroyElement(invwdw) end end ) addEventHandler("onClientGUIDoubleClick",root,function() if isElement(invwdw) then if source == invgrid then local sel = guiGridListGetSelectedItem(invgrid) local item = guiGridListGetItemText(invgrid,sel,1) local quan = guiGridListGetItemText(invgrid,sel,2) local quan = string.gsub(quan,"unit(s)","") local quan = tonumber(quan) triggerServerEvent("useItem",localPlayer,item) end end end) addEvent("updateInvGridList",true) addEventHandler("updateInvGridList",root,function(items) if isElement(invwdw) then destroyElement(invgrid) --local items = getElementData(localPlayer,"inventoryitems") invgrid = guiCreateGridList(9, 81, 273, 311, false, invwdw) guiGridListAddColumn(invgrid, "Item", 0.5) guiGridListAddColumn(invgrid, "Quantitiy", 0.5) for i,v in ipairs(items) do row = guiGridListAddRow(invgrid) guiGridListSetItemText(invgrid, row, 1, v["item"] or v[1], false, false) guiGridListSetItemText(invgrid, row, 2, (v["quant"] or v[2]).." unit(s)", false, false) end end end) thanks for Read. if u can help please help me
  14. Ayee

    Need Script

    I need attach script to attach players i saw it in servers they do/attach attach player if u have please help me Thanks for Reading
  15. Ayee

    Need Help

    How Can I Change Vehicles Names. Thanks for Reading
  16. bro can u give me your Face Book i want talk with u

     

  17. i'm here i can help you Some Informition about me My name is Youssef i from EGYPT i have 18 Year i can speek english and arabic and France i plated mta 4 Years and my FaceBook:https://www.facebook.com/maxmanyoussf
  18. كل حاجا شغله بس انا عاوز اخود لبشوغلنا ما بتشتغل This Code Jobs This Client
×
×
  • Create New...