Jump to content

ZeyadGTX

Members
  • Posts

    451
  • Joined

  • Last visited

Everything posted by ZeyadGTX

  1. My level system shows Lv : and XP: In my Hud by using @ dxDrawText Function The Problem is, that's what shown in my Hud LV: 50 XP : 65004 How Can i make it get the Experience required to level up like this , Lv: 50 XP : 65004 / 70004 What Do i need an XML ?? or Script to show Exp Required Please Help ?? What To Make ! dxDrawText: if XP and LV then dxDrawText("XP #FFFFFF"..XP, sWidth*(670/1280), sHeight*(689/720), sWidth*(621/1280), sHeight*(715/720), tocolor(255, 255, 255, 255), (0.8/1280)*sWidth,(0.8/720)*sHeight,"bankgothic", "left", "top", false, false, true, true, false) dxDrawText("LV: #FFFFFF"..LV, sWidth*(350/1280), sHeight*(689/720), sWidth*(372/1280), sHeight*(715/720), tocolor(255, 255, 255, 255), (0.8/1280)*sWidth,(0.8/720)*sHeight,"bankgothic", "left", "top", false, false, true, true, false) end
  2. I toke that Code from your EXP system that's my Level System Script ( Part Of ) Server.Lua function win(ammo, killer, weapon, bodypart) if (killer and getElementType(killer) == "player" and killer ~= source) then local H = getElementData(killer, "EXP") or 0 local S = getElementData(killer, "LV") or 0 local killer1 = getPlayerName(killer) local noob = getPlayerName(source) local experience = math.random(25, 100) setElementData(killer, "EXP", tonumber(H)+experience) local H = tonumber(H) + experience triggerClientEvent(killer, "onTestExp", killer, experience) if (tonumber(H) >= 100 and tonumber(H) <=400) then setElementData(killer, "LV", 1) setElementData(killer, "experience.rank", "Private") elseif (tonumber(H) >= 401 and tonumber(H) <=600) then setElementData(killer, "LV", 2) elseif (tonumber(H) >= 601 and tonumber(H) <=800) then setElementData(killer, "LV", 3) elseif (tonumber(H) >= 801 and tonumber(H) <=1000) then setElementData(killer, "LV", 4) setElementData(killer, "experience.rank", "Private First Class") elseif (tonumber(H) >= 1001 and tonumber(H) <=1200) then setElementData(killer, "LV", 5) elseif (tonumber(H) >= 1201 and tonumber(H) <=1400) then setElementData(killer, "LV", 6) elseif (tonumber(H) >= 1401 and tonumber(H) <=1600) then setElementData(killer, "LV", 7) setElementData(killer, "experience.rank", "Specialist") elseif (tonumber(H) >= 1601 and tonumber(H) <=1800) then setElementData(killer, "LV", -- s8) --> elseif (tonumber(H) >= 1801 and tonumber(H) <=2000) then setElementData(killer, "LV", 9) elseif (tonumber(H) >= 2001 and tonumber(H) <=2200) then setElementData(killer, "LV", 10) setElementData(killer, "experience.rank", "Corporal") elseif (tonumber(H) >= 2201 and tonumber(H) <=2400) then setElementData(killer, "LV", 11) elseif (tonumber(H) >= 2401 and tonumber(H) <=2600) then setElementData(killer, "LV", 12) elseif (tonumber(H) >= 2601 and tonumber(H) <=2800) then setElementData(killer, "LV", 13) setElementData(killer, "experience.rank", "Sergeant") elseif (tonumber(H) >= 2801 and tonumber(H) <=4000) then setElementData(killer, "LV", 14) elseif (tonumber(H) >= 4001 and tonumber(H) <=000) then setElementData(killer, "LV", 15) elseif (tonumber(H) >= 4201 and tonumber(H) <=4400) then setElementData(killer, "LV", 16) setElementData(killer, "experience.rank", "Staff Sergeant") elseif (tonumber(H) >= 4401 and tonumber(H) <=4600) then setElementData(killer, "LV", 17) elseif (tonumber(H) >= 4601 and tonumber(H) <=4800) then setElementData(killer, "LV", 18) elseif (tonumber(H) >= 4801 and tonumber(H) <=4900) then setElementData(killer, "LV", 19) elseif (tonumber(H) >= 4901 and tonumber(H) <=7000) then setElementData(killer, "LV", 20) setElementData(killer, "experience.rank", "Sergeant First Class") elseif (tonumber(H) >= 7001 and tonumber(H) <=9000) then setElementData(killer, "LV", 21) elseif (tonumber(H) >= 9001 and tonumber(H) <=10000) then setElementData(killer, "LV", 22) elseif (tonumber(H) >= 10001 and tonumber(H) <=12000) then setElementData(killer, "LV", 23) elseif (tonumber(H) >= 12001 and tonumber(H) <=13000) then setElementData(killer, "LV", 24) setElementData(killer, "experience.rank", "Master Sergeant") elseif (tonumber(H) >= 13001 and tonumber(H) <=14000) then setElementData(killer, "LV", 25) elseif (tonumber(H) >= 14001 and tonumber(H) <=15000) then setElementData(killer, "LV", 26) elseif (tonumber(H) >= 15001 and tonumber(H) <=16000) then setElementData(killer, "LV", 27) elseif (tonumber(H) >= 16001 and tonumber(H) <=17000) then setElementData(killer, "LV", 28) setElementData(killer, "experience.rank", "First Sergeant") elseif (tonumber(H) >= 17001 and tonumber(H) <=20000) then setElementData(killer, "LV", 29) elseif (tonumber(H) >= 20001 and tonumber(H) <=22000) then setElementData(killer, "LV", 30) elseif (tonumber(H) >= 22001 and tonumber(H) <=24000) then setElementData(killer, "LV", 31) elseif (tonumber(H) >= 24001 and tonumber(H) <=26000) then setElementData(killer, "LV", 32) setElementData(killer, "experience.rank", "Sergeant Major") elseif (tonumber(H) >= 26001 and tonumber(H) <=28000) then setElementData(killer, "LV", 33) elseif (tonumber(H) >= 28001 and tonumber(H) <=30000) then setElementData(killer, "LV", 34) elseif (tonumber(H) >= 30001 and tonumber(H) <=32000) then setElementData(killer, "LV", 35) elseif (tonumber(H) >= 32001 and tonumber(H) <=34000) then setElementData(killer, "LV", 36) setElementData(killer, "experience.rank", "Command Sergeant Major") elseif (tonumber(H) >= 34001 and tonumber(H) <=36000) then setElementData(killer, "LV", 37) elseif (tonumber(H) >= 36001 and tonumber(H) <=38000) then setElementData(killer, "LV", 38) elseif (tonumber(H) >= 38001 and tonumber(H) <=40000) then setElementData(killer, "LV", 39) elseif (tonumber(H) >= 40001 and tonumber(H) <=42000) then setElementData(killer, "LV", 40) setElementData(killer, "experience.rank", "2nd Lieutenant") elseif (tonumber(H) >= 42001 and tonumber(H) <=44000) then
  3. Hello , Would you mind helping me with something..!? anyway i've a Level System it works perfectly and it draws image in hud successfully , all what i need is showing how much xp needed to level up i can see in my hud like this... Exp: 100 can't it be EXP:100 /500 what shall i do ? Txt File like this or what ? or should i script something! "Test 1" experienceRequired = "60" /> "Test 2" experienceRequired = "110" /> "Test 3" experienceRequired = "160" /> "Test 4" experienceRequired = "250" /> "Test 5" experienceRequired = "500" /> "Test 6" experienceRequired = "1000" /> "Test 7" experienceRequired = "1250" /> "Test 8" experienceRequired = "1500" /> "Test 9" experienceRequired = "1820" /> "Test 10" experienceRequired = "2000" /> "Test 11" experienceRequired = "2800" /> "Test 12" experienceRequired = "3000" /> "Test 13" experienceRequired = "5000" /> "Test 14" experienceRequired = "7000" /> "Test 15" experienceRequired = "9000" /> "Test 16" experienceRequired = "11000" /> "Test 17" experienceRequired = "15000" /> "Test 18" experienceRequired = "19000" /> "Test 19" experienceRequired = "21000" /> "Test 20" experienceRequired = "25000" /> "Test 21" experienceRequired = "30000" /> "Test 22" experienceRequired = "35000" /> "Test 23" experienceRequired = "40000" /> "Test 24" experienceRequired = "45000" /> "Test 25" experienceRequired = "60000" /> "Test 26" experienceRequired = "65000" /> "Test 27" experienceRequired = "70000" /> "Test 28" experienceRequired = "85000" /> "Test 29" experienceRequired = "90000" /> "Test 30" experienceRequired = "95000" /> "Test 31" experienceRequired = "100000" /> "Test 32" experienceRequired = "110000" /> "Test 33" experienceRequired = "120000" /> "Test 34" experienceRequired = "130000" /> "Test 35" experienceRequired = "140000" /> "Test 36" experienceRequired = "150000" /> "Test 37" experienceRequired = "160000" /> "Test 38" experienceRequired = "170000" /> "Test 39" experienceRequired = "180000" /> "Test 40" experienceRequired = "190000" /> "Test 41" experienceRequired = "200000" /> "Test 42" experienceRequired = "210000" /> "Test 43" experienceRequired = "220000" /> "Test 44" experienceRequired = "230000" /> "Test 45" experienceRequired = "240000" /> "Test 46" experienceRequired = "250000" /> "Test 47" experienceRequired = "260000" /> "Test 48" experienceRequired = "270000" /> "Test 49" experienceRequired = "280000" /> "Test 50" experienceRequired = "290000" /> "Test 51" experienceRequired = "300000" />
  4. Needs to Local server , my server is hosted on Vortex Company
  5. No the script has problem i think
  6. ZeyadGTX

    Staff

    Tried that to draw Text for admins - Moderators but not working Client function showOnlineStaff(moderators,admins) moderatorText = "Moderators: " adminText = "Admins: " for k,moderator in ipairs(moderators) do local name = getPlayerName(moderator):gsub("#%x%x%x%x%x%x","") if k == 1 then moderatorText = moderatorText..""..name else moderatorText = moderatorText..", "..name end end for k,admin in ipairs(admins) do local name = getPlayerName(admin):gsub("#%x%x%x%x%x%x","") if k == 1 then adminText = adminText..""..name else adminText = adminText..", "..name end end end addEvent("onClientStaffRefresh", true) addEventHandler("onClientStaffRefresh", getRootElement(), showOnlineStaff) function showStaffMembers() if getElementData(player, "state.hud") == "disabled" then return end if moderatorText then dxDrawText(moderatorText, (8/1024)*sWidth, (730/768)*sHeight, (130/1024)*sWidth, (130/768)*sHeight, tocolor (255, 255, 255, 255), (0.4/1366)*sWidth,(0.4/768)*sHeight,"bankgothic","left","top",false,false,false,false) end if adminText then dxDrawText(adminText, (8/1024)*sWidth, (745/768)*sHeight, (130/1024)*sWidth, (130/768)*sHeight, tocolor (255, 255, 255, 255), (0.4/1366)*sWidth,(0.4/768)*sHeight,"bankgothic","left","top",false,false,false,false) end end addEventHandler("onClientRender", getRootElement(), showStaffMembers) Server : function ShowStaffMembers() players = getElementsByType ( "player" ) admins = "" for k,v in ipairs(players) do local accountname = "" if (isGuestAccount(getPlayerAccount(v)) == false) then accountname = getAccountName (getPlayerAccount(v)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Console" ) ) then if (admins == "") then admins = getPlayerName(v) else admins = admins .. ", " .. getPlayerName(v) end end end end triggerClientEvent("showOnlineStaff", getResourceRootElement(), admins) end addEventHandler( "onPlayerChat", getRootElement(), showStaffMembers )
  7. I had Small problem i use the Community's Download script. but i had small problem first ;. the car is not replaced second ;. hight ping + network trouble each 5 seconds I use that script to replace my buffalo car using the downloader script because i have much download Downloader Script Client File and Server : Client : function math.round(number, decimals, method) decimals = decimals or 0 local factor = 10 ^ decimals if (method == "ceil" or method == "floor") then return math[method](number * factor) / factor else return tonumber(("%."..decimals.."f"):format(number)) end end function table.size(tab) local length = 0 for _ in pairs(tab) do length = length + 1 end return length end downloads = {} function downloadFile (file, saveTo, interval) local path = "" if not file then return false; end if string.find(file, ":") == 1 then path = file else if sourceResource then path = ":"..getResourceName(sourceResource).."/"..file else path = file end end if string.len(path) == 0 then outputDebugString("There must be a valid file to download from.") return false; else if not saveTo then return false; end local saveToPath = "" if string.find(saveTo, ":") == 1 then saveToPath = saveTo else if sourceResource then saveToPath = ":"..getResourceName(sourceResource).."/"..saveTo else saveToPath = saveTo end end if string.len(saveToPath) == 0 then outputDebugString("You must enter a place for the file to be saved to.") return false; else if not interval then interval = 500 end triggerServerEvent("xdownload:downloadFile", getLocalPlayer(), path, saveToPath, interval) return end end end function getClientFileSize(file, type) -- Types, "MB", "BYTE", "KB" local path = "" if not file then return false; end if string.find(file, ":") == 1 then path = file else if sourceResource then path = ":"..getResourceName(sourceResource).."/"..file else path = file end end if string.len(path) == 0 then outputDebugString("There must be a valid file to read from.") return false; else local tFile = fileOpen(path, true) if tFile then local size = fileGetSize (tFile) if string.upper(type) == "KB" then size = math.round(size / 1024, 2) elseif string.upper(type) == "MB" then size = math.round(size / 1048576, 2) end fileClose(tFile) return size; else return false; end end end addEvent("xdownload:returnPartString", true) addEventHandler("xdownload:returnPartString", getRootElement(), function (clientFile, data) if not downloads[clientFile] then downloads[clientFile] = {} downloads[clientFile]['settings'] = {filename="N/A", size="N/A", estimatedTime="N/A"} downloads[clientFile]['files'] = {} end table.insert(downloads[clientFile]['files'], data) end ) addEvent("onClientDownloadPreStart", true) addEventHandler("onClientDownloadPreStart", getRootElement(), function (clientFile, interval, fileSize, fileTime) timeToDownload = math.round(fileTime * interval / 1000 / 60, 2) --outputConsole("pre start :" .. clientFile ..", "..fileSize) downloads[clientFile] = {} downloads[clientFile]['settings'] = {filename=clientFile, size=fileSize, estimatedtime=timeToDownload, teachfile=interval} downloads[clientFile]['files'] = {} end ) addEvent("onClientDownloadComplete", true) addEventHandler("onClientDownloadComplete", getRootElement(), function (file) if downloads[file] then newFile = fileCreate(file) for k, data in ipairs(downloads[file]['files']) do fileWrite(newFile, data[1]) end fileClose(newFile) downloads[file] = nil --outputConsole("Download complete?") else outputDebugString("Download complete, but can't find the chunks of data?", 3) end end ) addEvent("onClientDownloadFailure", true) addEventHandler("onClientDownloadFailure", getRootElement(), function () end ) Server : function math.round(number, decimals, method) decimals = decimals or 0 local factor = 10 ^ decimals if (method == "ceil" or method == "floor") then return math[method](number * factor) / factor else return tonumber(("%."..decimals.."f"):format(number)) end end local perdownload = 30000 addEvent("xdownload:downloadFile", true) addEventHandler("xdownload:downloadFile", getRootElement(), function (serverFile, clientFile, interval) local file = fileOpen(serverFile) if file then local fileSize = fileGetSize ( file ) local fileTimes = math.round(fileSize / perdownload, 0 , "ceil") if fileTimes == 0 then fileTimes = 1 end triggerEvent("onDownloadPreStart", source, serverFile, clientFile, interval, fileSize, fileTimes) triggerClientEvent(source, "onClientDownloadPreStart", source, clientFile, interval, fileSize, fileTimes) local timer = setTimer( function (source, file, fileSize, fileTimes, serverFile, clientFile, t) p = getPlayerFromName("[Hivi]xownage") -- outputChatBox("sending client data.." .. fileTimes, p, 0, 255, 0) if fileIsEOF(file) then -- outputChatBox("download complete", p, 0, 255, 0) triggerEvent("onDownloadComplete", source, serverFile, clientFile) triggerClientEvent(source, "onClientDownloadComplete", source, clientFile) else fstring = fileRead(file, perdownload) local rData = {fstring} triggerClientEvent(source, "xdownload:returnPartString", source, clientFile, rData) end end , interval, fileTimes + 1, source, file, fileSize, fileTimes, serverFile, clientFile, t) else triggerEvent("onDownloadFailure", source, serverFile, clientFile, interval) triggerClientEvent(source, "onClientDownloadFailure", source, serverFile, clientFile, interval) end end ) function getServerFileSize(file, type) local path = "" if not file then return false; end if string.find(file, ":") == 1 then path = file else if sourceResource then path = ":"..getResourceName(sourceResource).."/"..file else path = file end end if string.len(path) == 0 then outputDebugString("There must be a valid file to read from.", 3) return false; else local tFile = fileOpen(path, true) if tFile then local size = fileGetSize (tFile) if string.upper(type) == "KB" then size = math.round(size / 1024, 2, "ceil") elseif string.upper(type) == "MB" then size = math.round(size / 1048576, 2, "ceil" ) end fileClose(tFile) return size; else return false; end end end addEvent("onDownloadFailure", true) addEvent("onDownloadComplete", true) addEvent("onDownloadPreStart", true) My Car Script : -- Generated using GM2MC ( GTA:SA Models To MTA:SA Converter ) by SoRa mods = { {"buffalo.txd", 565, "txd"}, {"buffalo.dff", 565, "dff"} } addEventHandler('onClientResourceStart',resourceRoot,function () for k, mod in ipairs(mods) do if mod[3] == "txd" then if engineImportTXD( mod[1], mod[2]) == false then exports.download:downloadFile(mod[1], mod[1], 1000) end elseif mod[3] == "dff" then if engineReplaceModel( mod[1], mod[2] ) == false then exports.download:downloadFile(mod[1], mod[1], 1000) end end end end) addEventHandler("onClientDownloadComplete", getRootElement(), function (theFile) for k, mod in ipairs(mods) do if string.find(theFile, mod[1]) then if mod[3] == "txd" then engineImportTXD( mod[1], mod[2]) elseif mod[3] == "dff" then engineReplaceModel( mod[1], mod[2] ) end end end end ) And This is the Car Script's Meta <?xml version="1.0" encoding="utf-8" standalone="yes"?> "sss" type="misc" name="Aston" description="Aston" />
  8. ZeyadGTX

    HUD~~V 2.0

    Those who you call kids can understand what debug says.. And i don't see any point of stealing your hud, Who can't make a simple hud? Tunisians will try to steal my hud , and say that "i made it" and i don't see an Important Reply
  9. ZeyadGTX

    HUD~~V 2.0

    Because Some kids Gonna take it and change my credits , then say i made it and Bla bla bla
  10. ZeyadGTX

    HUD~~V 2.0

    Download : https://community.multitheftauto.com/index.php?p=resources&s=details&id=10277
  11. ZeyadGTX

    HUD~~V 2.0

    I just Show My HUD i'll release it soon Decompiled To Re-Edit it as you want
  12. ZeyadGTX

    HUD~~V 2.0

    My Second Hud I made in MTA ! I hope You'll like it -FPS / Ping -KM/H / Vehicle Health -Zone ( Locations ) -Health -Time -Armor -Money ( $ image Rotates 360* Using getTickCount ) -Oxygen -Weapons Image + 25 Images for Weapons Here is Some Images : - When You Have Health - When You have Health + Armor - When You Have Health + Armor + When you're in Water using isElementInWater -Vehicle KM/H , Vehicle Health -All HUD Components Image I'll Upload it To Commnuity soon Decompiled Which enables you to edit it as you wish.! Please Rate it and thanks , Be sure that this is my second hud i made And Tanks.
  13. His color in Chat is White ! i need his name = his nametag color
  14. ZeyadGTX

    Ban

    Can some one tell me how to make something like that To ban Country " Tunisia " " Egypt " What Functions Should i use http://i.imgur.com/6iKzd14.png
  15. Hello I made small script which adds [ Admin ] [ Warden ] etc.. but the problem that if you made /start playercolors you can see double messages and i would like players having colors not to be white so i must /start playercolors But i have double messages Playercolors Script local lowerBound,upperBound = unpack(get"color_range") g_Root = getRootElement () g_ResourceRoot = getResourceRootElement ( getThisResource () ) addEventHandler ( "onResourceStart", g_ResourceRoot, function() for i,player in ipairs(getElementsByType"player") do processPlayer ( player ) end end ) function processPlayer ( player ) player = player or source local r, g, b = math.random(lowerBound, upperBound), math.random(lowerBound, upperBound), math.random(lowerBound, upperBound) setPlayerNametagColor(player, r, g, b) end addEventHandler ( "onPlayerJoin", g_Root, processPlayer ) addEventHandler('onPlayerChat', g_Root, function(msg, type) if type == 0 then cancelEvent() local r, g, b = getPlayerColor(source) local name = getPlayerName(source) local msg = msg:gsub('#%x%x%x%x%x%x', '') outputChatBox( name.. ': #FFFFFF' .. msg, g_Root, r, g, b, true) outputServerLog( "CHAT: " .. name .. ": " .. msg ) end end ) addEventHandler('onPlayerChat', g_Root, function(msg, type) if type == 1 then cancelEvent() local r, g, b = getPlayerColor(source) local name = getPlayerName(source) local msg = msg:gsub('#%x%x%x%x%x%x', '') end end ) getPlayerColor = getPlayerNametagColor getPlayerColour = getPlayerNametagColor My Admin Tag Script addEventHandler ( "onPlayerChat", root, function ( msg, type ) if isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "Console" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#006400[ Owner ] " .. getPlayerName ( source ) .. ":#FFFFFF " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "Moderator" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#0064FF[ Warden ] " .. getPlayerName ( source ) .." :#FFFFFF " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "V.I.P" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#000000[ V.I.P ]#FF9600 " .. getPlayerName ( source ) .." :#FFFFFF " .. msg, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup ( "user." .. getAccountName(getPlayerAccount(source)), aclGetGroup ( "Everyone" ) ) and type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#00FF00[ Player ] " .. getPlayerName ( source ) .. " :#ffffff " .. msg, getRootElement(), r, g, b, true ) end end )
  16. ZeyadGTX

    Chat

    Does some one have a script For Making the first word in Chat Capital like Spider: Hello even if i written Spider:hello it becomes Spider:Hello
  17. ZeyadGTX

    Server list spam

    Please THis GUy is cloning my server !!! mtasa://5.9.161.6:22057
  18. ZeyadGTX

    banPlayer

    The Player Banned Successfully but There is no outputChatBox
  19. ZeyadGTX

    banPlayer

    I can't See OutputChatBox actually it's not working !
  20. ZeyadGTX

    banPlayer

    but you forgot to add Function to ban Tunisia ? local countries = { [ "TN" ] = true } local serials = { [ "" ] = true } function paises ( banner) local gCountry = exports.admin:getPlayerCountry ( source ) or "N/A" local gSerial = getPlayerSerial ( source ) if ( serials [ gSerial ] ) then elseif ( countries [gCountry] ) then banPlayer(source,true,false,true,"Console","Tunisia is Banned.",0) outputChatBox("#FFFFFF"..getPlayerName(source).."#FF0000Has Been Banned by "..getPlayerName(banner)..". #FFFFFF[Reason : Tunisia Is Banned.]", root, 255,255,255,true) end end addEventHandler ( "onPlayerJoin", getRootElement(), paises )
  21. ZeyadGTX

    banPlayer

    It Doesn't Outputchatbox local countries = { [ "TN" ] = true } local serials = { [ "" ] = true } function paises ( ) local gCountry = exports.admin:getPlayerCountry ( source ) or "N/A" local gSerial = getPlayerSerial ( source ) if ( serials [ gSerial ] ) then elseif ( countries [gCountry] ) then banPlayer(source,true,false,true,"Console","Tunisia is Banned.",0) outputChatBox(#FFFFFFgetPlayerName(source).."#FF0000Has Been Banned.#FFFFFF[Reason : Tunisia Is Banned.]", root, 255,255,255,true) end end addEventHandler ( "onPlayerJoin", getRootElement(), paises )
×
×
  • Create New...