-
Posts
1,903 -
Joined
-
Last visited
-
Days Won
1
Everything posted by xeon17
-
My frist script was a Deagle Event function mensagemEvento ( ) outputChatBox ( "#00FFFF [sERVER] To Enter the Event write /participar in chat", getRootElement(), 255, 0, 0, true ) end addEventHandler ( "onResourceStart", getResourceRootElement ( ), mensagemEvento ) function funcoesEvento ( thePlayer ) takeAllWeapons ( thePlayer ) setElementDimension ( thePlayer, 300 ) setPedArmor ( thePlayer, 100 ) setElementHealth ( thePlayer, 569 ) giveWeapon ( thePlayer, 24, 1000000000 ) setElementPosition ( thePlayer, -260.60818481445, 2336.3356933594, 108.55751037598 ) outputChatBox("[EVENTO] You got a Deagle !.",thePlayer,0,255,255) outputChatBox("[EVENTO] You got health & armor.",thePlayer,0,255,255) addEventHandler ( "onPlayerSpawn", thePlayer, onSpawn ) end addCommandHandler ( "participar", funcoesEvento ) function parandoEvento ( ) outputChatBox ( "#00FFFFEvent Closed", getRootElement(), 255, 0, 0, true ) end addEventHandler ( "onResourceStop", getResourceRootElement ( ), parandoEvento ) function onSpawn ( ) takeAllWeapons ( source ) setElementDimension ( source, 300 ) setPedArmor ( source, 100 ) setElementHealth ( source, 569 ) giveWeapon ( source, 24, 1000000000 ) setElementPosition ( source, -260.60818481445, 2336.3356933594, 108.55751037598 ) end
-
Cuz , your posts are always for laughing True .
-
Of course , maybe he bumped the topic and ? he trying to help or whatever , the date when he posted isn't important and a post ''Godfatter you bumped this topic '' isn't needed. see 40% of your posts are useless always ''You bumped this topic etc etc '' what you trying with your useless posts ?
-
Did someone asked you something ? you're borring with your posts
-
Can someone give me the un-modificated normall GTA:SA Audio Files , cuz my are modificated and make my MTA lag a lot.. Thanks..
-
Allerdy i did local idname = get ( "idDataCaption" ) or "id" g_Players = {} function table.find(t, ...) if type(t) ~= 'table' then return false end local args = { ... } if #args == 0 then for k,v in pairs(t) do if v then return k, v end end return false end local value = table.remove(args) if value == '[nil]' then value = nil end for k,v in pairs(t) do for i,index in ipairs(args) do if type(index) == 'function' then v = index(v) else if index == '[last]' then index = #v end v = v[index] end end if v == value then return k, t[k] end end return false end function addElem(list, elem) local id local globList local newtable = { elem = elem } if not id then id = 1 while list[id] do id = id + 1 end end list[id] = newtable setElemID(elem, id) return id, newtable end function removeElem(list, elem) local id = table.find(list, 'elem', elem) if id then list[id] = nil setElemID(elem, nil) return id end end function getPlayerFromID(id) return g_Players[id] and isElement(g_Players[id].elem) and g_Players[id].elem end function getPlayerID(player) return getElemID(player) end function getElemID(elem) return elem and isElement(elem) and getElementData(elem, idname) end function setElemID(elem, id) if elem and isElement(elem) then setElementData(elem, idname, id) end end function onResourceStart () call ( getResourceFromName ( "scoreboard" ), "addScoreboardColumn", idname, root, 1, 0.05 ) for k, v in ipairs(getElementsByType("player")) do addElem(g_Players, v) end end addEventHandler ( "onResourceStart", resourceRoot, onResourceStart ) function onPlayerJoin() addElem(g_Players, source) end addEventHandler ( "onPlayerJoin", root, onPlayerJoin ) function onPlayerQuit (reason) local playerID = getElemID(source) g_Players[playerID] = nil end addEventHandler('onPlayerQuit', root, onPlayerQuit)
-
I need a Kick command by ID , this allerdy i have.
-
The script no work tryed everything to fix but.. function kickCommand(player, command, id, ...) if(id) then local playerID = tonumber(id) if(playerID) then local target = getPlayerFromID(playerID) if(target) then local args = { ... } local reason = "" for k,v in pairs(args) do reason = reason .. ' ' .. v end if(reason ~= "") then outputChatBox ( "O jogador " .. getPlayerName(target) .. "(" .. id .. ") " .. "foi kickado por " .. getPlayerName(player) .. "(" .. (getPlayerID(player) or "???") .. ") -> (motivo:" .. reason .. ").", root, 0, 236, 255) else outputChatBox ( "O jogador " .. getPlayerName(target) .. "(" .. id .. ") " .. "foi kickado por " .. getPlayerName(player) .. "(" .. (getPlayerID(player) or "???") .. ").", root, 0, 236, 255) end kickPlayer(target, player, reason) else outputChatBox ( "[ERRO] Player (" .. id .. ") não encontrado. ", player, 255, 0, 0) end else outputChatBox ( "[ERRO] ID (" .. id .. ") invalido. ", player, 255, 0, 0) end else outputChatBox ( "[servidor] use: /ikick [id] [motivo]", player, 255, 255, 255) end end addCommandHandler("ikick", kickCommand, true)
-
Thanks but it no work nothing happen i tryed everything i'm trying to add the bank ''Police Bank '' but its no working Please help "Western Onion" blip="true"> "361.8298" posY="173.6187" posZ="1008.3828" ATM="false" ATMRot="0.0" interior="3" /> "2412.7126" posY="1123.8426" posZ="10.8203" teleX="387.8428" teleY="173.6187" teleZ="1008.3828" teleRot="90" teleInterior="3" /> "389.8428" posY="173.6187" posZ="1008.3828" teleX="2414.7126" teleY="1123.0426" teleZ="10.8203" teleRot="270" teleInterior="0" interior="3" /> "Western Onion ATM #1" blip="false" depositAllowed="false" > "360.07577514648" posY="188.58430175781" posZ="1008.3828125" ATM="true" interior="3" ATMRot="0.0" markerSize="1" /> "Western Onion ATM #2" blip="false" depositAllowed="false" ATMInterior="3" > "364.07577514648" posY="188.58430175781" posZ="1008.3828125" ATM="true" interior="3" ATMRot="0.0" markerSize="1" /> "Western Onion ATM #3" ATMInterior="3" > "2630.6667480469" posY="1655.393046875" posZ="11.0234375" ATM="true" interior="0" ATMRot="180.0" markerSize="1" /> -- "Police Bank" blip="true" depositAllowed="true" > "2247.4074707031" posY="2396.6030273438" posZ="10.8203125" ATM="true" ATMRot="0.1" markerSize="2" interior="0" /> "2247.4074707031" posY="2396.6030273438" posZ="10.8203125" teleX="-26.518180847168" teleY="-56.052570343018" teleZ="1003.546875" teleRot="0.1" teleInterior="6" /> "-26.63883972168" posY="-57.783397674561" posZ="1003.546875" teleX="2247.6962890625" teleY="2398.3659667969" teleZ="10.8203125" teleRot="0.1" teleInterior="0" interior="6" /> -->
-
Hello , how can i spawn player when he die on 3 place's. When he die it should spawn him on some of the spawnpoints from the table. local mySpawnTable = { {331.06286621094, 1855.9083251953, 7.828125}, {216.45199584961, 1822.6893310547, 6.4140625}, {211.66558837891, 1810.6231689453, 21.8671875} } function makePlayerSpawn (player) local spawnPoint = mySpawnTable[math.random(#mySpawnTable)] -- random spawnpoint spawnPlayer(player,spawnPoint[1],spawnPoint[2],spawnPoint[3]) end But how ?
-
Yes i'm using , but i no understand the code . "Bank name here" blip="true" depositAllowed="true" > "0.0" posY="0.0" posZ="0.0" ATM="false" ATMRot="0.0" markerSize="2" interior="0" /> "0.0" posY="0.0" posZ="0.0" teleX="0.0" teleY="0.0" teleZ="0.0" teleRot="0.0" teleInterior="0" /> "0.0" posY="0.0" posZ="0.0" teleX="0.0" teleY="0.0" teleZ="0.0" teleRot="0.0" teleInterior="0" interior="0" /> what mean all this , can someone explain me please
-
We currently accept PayPal and CashU at this time. What's CashU ?
-
Sounds great i'll buy a Vortex Server. Can you tell me the info how to buy a server by Credit card or Telephone ? Thanks.
-
Soon i'll open a topic about the server but frist i asking for STAFF : Scripters , Mappers. About the gamemode : GangWar but not the GangWar much players know , its a very cool GangWar gamemode with over 100-200 players on day. So everyone can create a gang with a cool GangSystem created by me ( GangCreate , GangDelete , GangInvite , GangTag,GangLevel,GangKick,GangQuit ) and then the gangs fight for Bases , GangZona , Teritory , Village. There are a lot more things , the gamemode is great i'll full of great ideas about the server but i can't create everything alone i'm not so good scripter. So i asking here , if there are some scripters or mappers who wanna to be in STAFF of XeonGames and help to create a NEW , GREAT Gamemode ''XeonGames GangWar '' as i said i'm full of ideas and everyone will love the gamemode. Alerdy i created much of the scripts alone but i can't everything alone i need help. I know that most of Good scripters want money ,but i'm trying to create a server better than SAUR,SAES , FFS etc etc. The ideas i have are great , and i'm sure server will have 100-200 players every minute. If someone wanna talk with me about it , add me on skype (xeon-sdk) or contact me by Private Message on the Forum. We need scripters / mappers . Thanks , XeonGames STAFF
-
And will be the server online 99,9% ? without lag and some problems
-
Vortex have everything perfect , but can i buy a server by credit card or by telephone ? because there isn't paypal in my country. Thanks.
