
GamerDeMTA
Members-
Posts
559 -
Joined
-
Last visited
Everything posted by GamerDeMTA
-
Put a video when a player joins the server with a MP4 or that formats or only with shaders or what?
-
Thanks and can you say me how to do this? I want to put when a player joins/respawns in freeroam he has skin, but I put the skin ID 1, but now I want to put the skin ID 1 and 2. See line 19 local spawnpoint addEventHandler("onResourceStart", resourceRoot, function() spawnpoint = getRandomSpawnPoint() resetMapInfo() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) function spawn(player) if not isElement(player) then return end if get("spawnreset") == "onSpawn" then spawnpoint = getRandomSpawnPoint() end exports.spawnmanager:spawnPlayerAtSpawnpoint(player,spawnpoint,false) repeat until setElementModel(player,1) fadeCamera(player, true) setCameraTarget(player, player) showChat(player, true) end function getRandomSpawnPoint () local spawnpoints = getElementsByType("spawnpoint") return spawnpoints[math.random(1,#spawnpoints)] end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerQuit",root, function () if getPlayerCount() == 1 and get("spawnreset") == "onServerEmpty" then spawnpoint = getRandomSpawnPoint() end end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 1800, 1, source) end )
-
Can you give me an example? because you said a GUI but I want an image
-
Can you give me an example with Skins ID 1 and 2?
-
I need this: When a player has 10 of health or less, It shows him in the screen a image called for example "image.png", in all the screen
-
See this (LINE 19): local spawnpoint addEventHandler("onResourceStart", resourceRoot, function() spawnpoint = getRandomSpawnPoint() resetMapInfo() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) function spawn(player) if not isElement(player) then return end if get("spawnreset") == "onSpawn" then spawnpoint = getRandomSpawnPoint() end exports.spawnmanager:spawnPlayerAtSpawnpoint(player,spawnpoint,false) repeat until setElementModel(player,SkinID) fadeCamera(player, true) setCameraTarget(player, player) showChat(player, true) end function getRandomSpawnPoint () local spawnpoints = getElementsByType("spawnpoint") return spawnpoints[math.random(1,#spawnpoints)] end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerQuit",root, function () if getPlayerCount() == 1 and get("spawnreset") == "onServerEmpty" then spawnpoint = getRandomSpawnPoint() end end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 1800, 1, source) end ) I changed it to the Skin 1 instead random, and now I want to put the Skin ID 1 and 2, how to do?
-
No, I've freeroam and changed it to the Skin ID "0" when you enter/spawn, but I want to put Only 2 Skins, more than that one. But not randomly
-
I haven't the file "bookmarks.xml", how I add the default bookmarks? Thanks.
-
I changed in the LUA which skin the players have when they Join/Respawn, but I want more skins than one
-
How to create that? + Sorry
-
Can someone say me that?
-
Can I do an arrow instead of a cilynder with this?
GamerDeMTA replied to GamerDeMTA's topic in Scripting
Can someone help me with that? -
can someone help me with that?
-
I changed, but I can put more than 1 skin for the players? Cuz I only chose 1 but I want more
-
Can I do an arrow instead of a cilynder with this?
GamerDeMTA replied to GamerDeMTA's topic in Scripting
and how to do for Receive a new skin when you hit the marker? -
Can I do an arrow instead of a cilynder with this?
GamerDeMTA replied to GamerDeMTA's topic in Scripting
but for set an interior? -
Can I do an arrow instead of a cilynder with this?
GamerDeMTA replied to GamerDeMTA's topic in Scripting
How? -
Can I do an arrow instead of a cilynder with this?
GamerDeMTA replied to GamerDeMTA's topic in Scripting
Also how to set an Interior to teleport to a INT? -
marker = createMarker ( -651.29998779297,954.29998779297,11.10000038147, "cylinder", 2, 0, 255, 0, 225 ) addEventHandler("onMarkerHit",marker, function (player) if (getElementType(player) == "player") then setElementPosition (player,-699.29998779297,964.09997558594,121.19999694824) end end )
-
Difficult to decompile
-
Can I unite Resource PLAY with Freeroam in one resource?
GamerDeMTA replied to GamerDeMTA's topic in Scripting
Can you say what I must do for unite two? -
Can I unite Resource PLAY with Freeroam in one resource?
GamerDeMTA replied to GamerDeMTA's topic in Scripting
PLAY Contains these 3 files: MAP. broph.lua local spawnpoint addEventHandler("onResourceStart", resourceRoot, function() spawnpoint = getRandomSpawnPoint() resetMapInfo() for i,player in ipairs(getElementsByType("player")) do spawn(player) end end ) function spawn(player) if not isElement(player) then return end if get("spawnreset") == "onSpawn" then spawnpoint = getRandomSpawnPoint() end exports.spawnmanager:spawnPlayerAtSpawnpoint(player,spawnpoint,false) repeat until setElementModel(player,math.random(312)) fadeCamera(player, true) setCameraTarget(player, player) showChat(player, true) end function getRandomSpawnPoint () local spawnpoints = getElementsByType("spawnpoint") return spawnpoints[math.random(1,#spawnpoints)] end addEventHandler("onPlayerJoin", root, function() spawn(source) end ) addEventHandler("onPlayerQuit",root, function () if getPlayerCount() == 1 and get("spawnreset") == "onServerEmpty" then spawnpoint = getRandomSpawnPoint() end end ) addEventHandler("onPlayerWasted", root, function() setTimer(spawn, 1800, 1, source) end ) meta "BrophY" description="A playtest/freeroam mode" version="1" type="gamemode" /> resource="freeroam" /> resource="spawnmanager" /> "*spawnreset" value="onSpawn" friendlyname="Spawn Reset" accept="onSpawn,onServerEmpty,onServerStart" desc="When should a new spawnpoint be chosen?" /> "broph.map" /> And Freeroam meta -- arc_'s Freeroam script --> -- You are allowed to modify this resource or add functionality to it. --> -- You may use the modified resource in your server and redistribute it. --> -- However, the original credits and this license must always stay intact. --> -- Also, give your modified resource a different name, like "'s --> -- extended freeroam", to avoid confusion for users. --> "Freeroam GUI" author="arc_" version="1.3.4" /> -
can someone give me the Script? or is like Music in the maps?
-
Thanks, you always help me