Jump to content

GamerDeMTA

Members
  • Posts

    559
  • Joined

  • Last visited

Everything posted by GamerDeMTA

  1. But the play gamemode meta says "include resource freeroam", so freeroam isn't a gamemode, or is it?
  2. Only the player, what I must change?
  3. This will work? SERVER addEventHandler("onClientPlayerWasted", root, triggerClientEvent ("Client",root) end end) CLIENT function ClientSide() playSound ("no.mp3") end addEvent("Client",true, ClientSide ) addEventHandler("Client",root, ClientSide )
  4. I need to put a sound when a player die, can someone help me?
  5. I want to put an image in the right corner of the screen, also I want to Create a Clan
  6. ah Thanks and you know if I can do this? When a player is very near of 1 object It gives a weapon
  7. Put a video when a player joins in the server (like an intro).
  8. and markers replacing is stable? can say me stable things to replace textures? My idea is to put my texture and when u hit that u get a weapon
  9. and how to replace a Pickup Texture?
  10. Thanks It works! Ah, you know how to give someone a weapon when he hit a life pickup?
  11. Like In SAUR Utopia when you join, you must wait 30 seconds for read the rules. I want that for my GUI , i
  12. hey I've a problem with this, I want to put a fighting style to the players when they join but sometimes there is the fights tyle and sometimes no. addEventHandler ( 'onPlayerJoin', root, function ( ) setPedFightingStyle ( source, 6 ) end ) Also that script for change damage doesn't work with BRASS KNUCKLES local damage = setWeaponProperty(1, "poor", "damage", 14) local damage = setWeaponProperty(1, "std", "damage", 14) local damage = setWeaponProperty(1, "pro", "damage", 14) end
  13. and If I'm not using play how to give weapons to the players when they join and respawn?
  14. Don't works Can someone say me If the BRASS KNUCKLES [2] will work? and also give me a script for give weapons to players when they join the servers and spawn, I want to give him BRASS KNUCKLES when they Join / Respawn
  15. local damage = setWeaponProperty(0, "poor", "damage", 14) local damage = setWeaponProperty(0, "std", "damage", 14) local damage = setWeaponProperty(0, "pro", "damage", 14) end Is for do FIST more damage. I PUT IT AS CLIENT OR SERVER?
  16. Well I want to do this: A player recuperates health each 1 min.
  17. 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 )
×
×
  • Create New...