Jump to content

.:HyPeX:.

Members
  • Posts

    1,255
  • Joined

  • Last visited

Everything posted by .:HyPeX:.

  1. It is still giving errors.. (those 4), and i can see as if BF3 was a map and not a gamemode. (Simply NoshairCannals cant find a gamemode parent to belong to) EDIT: Something was buged, a refreshall fixed it... Im still getting the interval error.
  2. Nothing, the map is still same since long time ago Edit: Idk why i now can see BF3 in Maps tab on admin panel.. this is the meta <meta> <info author="HyPeX" name="BF3" type="gamemode" version="1.0" /> <script src="BF3_Core_C.lua" type="client" cache="false" /> <script src="BF3_Vehicles.lua" type="server" /> <script src="BF3_MapManager.lua" type="server" /> <script src="BF3_MapManager_C.lua" type="client" cache="false" /> <script src="BF3_Models.lua" type="client" cache="false" /> <script src="BF3_Joiner.lua" type="server" /> <script src="BF3_Joiner_C.lua" type="client" cache="false" /> <script src="BF3_Core_S.lua" type="server" /> <file src="fonts/podium.ttf" /> <file src="fonts/BF3.ttf" /> <file src="fonts/asd.ttf" /> <file src="fonts/bhz.ttf" /> <file src="bf3cosas/bf3.mp3" /> <script src="BF3_WeaponSound.lua" type="client" cache="false" /> <script src="BF3_NameTags.lua" type="client" cache="false" /> <file src="sounds/Colt45.wav" /> <file src="sounds/Deagle.wav" /> <file src="sounds/Silenced.wav" /> <file src="sounds/Shotgun.wav" /> <file src="sounds/Sawed-Off.wav" /> <file src="sounds/Combat Shotgun.wav" /> <file src="sounds/UZI_Tec9.wav" /> <file src="sounds/MP5.wav" /> <file src="sounds/M4_AK47.wav" /> <file src="sounds/Rifle.wav" /> <file src="sounds/Sniper.wav" /> <file src="sounds/war.mp3" download="false" /> <file src="skins/army.dff" /> <file src="skins/army.txd" /> <file src="skins/swat.dff" /> <file src="skins/swat.txd" /> <file src="img/chapa.png" /> <file src="img/hud.png" /> <file src="img/TeamWon.png" /> <file src="img/Lobby.png" /> <file src="img/TeamLost.png" /> <file src="weapons/m4.dff" /> <file src="weapons/m4.txd" /> <file src="weapons/rocketla.dff" /> <file src="weapons/rocketla.txd" /> <file src="weapons/satchel.dff" /> <file src="weapons/satchel.txd" /> <file src="weapons/shotgspa.dff" /> <file src="weapons/shotgspa.txd" /> <file src="weapons/silenced.dff" /> <file src="weapons/silenced.txd" /> <file src="weapons/sniper.dff" /> <file src="weapons/sniper.txd" /> <min_mta_version client="1.3.1-9.04690"></min_mta_version> </meta>
  3. Im still getting those 4 errors..
  4. why not "BattleField 3"? and if ur referring to the folder, it is "BF3" And now i started to randomly recive this messages instead of the normal Interval error on script startup: mapmanager_exports.lua:206: isMapCompatibleWithGamemode: Invalid Gamemode Resource mapmanager_exports.lua:69: Bad Argument @ 'getResourceName' mapmanager_exports.lua:69: attempto to concatenate a boolean value BF3_MapManager.lua:23: call: failed to call 'mapmanager:changeGamemodeMap'
  5. The problem is that MapTable doesnt contain anything, its just emtpy when it should have the map.. And this is weird, becouse when i start the gamemode it starts with my map.. Gamemode Meta: Map Playing Meta:
  6. What is that? and executeCommandHandler server-side has a player argument. He mixed my client side with my server side.. didnt even paid attention. @Topic: Fixed this by sendind to root element and player as arg 1. Client Side = if Player == getLocalPlayer()
  7. Bump, can anybody tell me how to make this work?
  8. It was a cut part of the code, not needed to add ends or stuff. It's the forum's lua code thingy, its width is too shor and lines down alot of stuff, i have everything in one line, so its okay for me
  9. Hey guys i got a weird problem, i cant trigger an event Client-Side, it says its not added, but it is! Script_S: function SetPlayerTeam(prev, acc, auto) OnlineTable[source] = source local acc = getPlayerAccount(source) if getAccountData(acc, "Played") ~= false then outputChatBox(" Player "..string.gsub(getPlayerName(source), "#%x%x%x%x%x%x", "").. " Logged in", getRootElement(), TextColour.R, TextColour.G, TextColour.B) triggerClientEvent("onClientPlayerLogin", getRootElement(), source) And Script_C: function OnPlayerLogin(player) if player == getLocalPlayer() then executeCommandHandler("gui23456") end end addEvent("onClientPlayerLogin", true) addEventHandler("onClientPlayerLogin", getRootElement(), OnPlayerLogin)
  10. Hey guys, how could i create a custom radar? is there a txd replace? img? Thanks in advance HyPeX
  11. Hey guys, im attempt to index field '?' ( a number value ) on the Spawn[mathed].X, can anybody help me out? local Spawned = #Aspawn local mathed = math.random(Spawned) spawnPlayer(player, ASpawn[mathed].X, ASpawn[mathed].Y, ASpawn[mathed].Z) Table: ASpawn = { { X = 4853.3422851563, Y = -1423.1859130859, Z = 6.1449999809265 }, { X = 4822.6494140625, Y = -1435.6208496094, Z = 6.1978998184204 }, { X = 4872.5166015625, Y = -1423.2080078125, Z = 6 }, { X = 4869.5439453125, Y = -1434.0322265625, Z = 6 }, { X = 4900.1625976563, Y = -1445.7026367188, Z = 3.2283999919891 }, { X = 4889.5844726563, Y = -1437.6313476563, Z = 6.6807999610901 }, { X = 4868, Y = -1441.8647460938, Z = 9.2 }, } EDIT: It worked alone now, somehow..
  12. dont you read? local MapTable = exports.mapmanager:getMapsCompatibleWithGamemode( exports.mapmanager:getRunningGamemode() )
  13. hey guys.. im getting that the interval (math.random) is empty.. any idea whis is this? There's a map compatible with my gamemode.. so it should work local thisResource = getResourceRootElement(getThisResource()) local MapTable = exports.mapmanager:getMapsCompatibleWithGamemode( exports.mapmanager:getRunningGamemode() ) MapList = {} function onGameModeStart() MapList = {} for i, v in ipairs(MapTable) do table.insert(MapList, v) end local maps = #MapList local mapStart = math.random(maps) exports.mapmanager:changeGamemodeMap( MapList[ mapStart ] ) end addEventHandler("onResourceStart", thisResource, onGameModeStart)
  14. i readed somewhere a script example or smth to create a 1st person camera, just like shooters, anyone knows where it is? (or how to create one)
  15. What i actually wanted was the myTable [ 6 ] thingy, all i wanted is how to retirve °6 value.
  16. Humm yeah, thought he wanted to get the ammo in clips too. Btw I knew that getPedTotalAmmo includes clip. Because I think he probably wants to do a custom HUD. Exactly. Thanks for the help guys!
  17. hey guys, how can i retrive a value from a certain table position? Lets say i got a 6-inserted objects table (table.insert) and i wanted to retrive the value from pos 6, How to do this?
  18. hey guys, how can i retrive wich weapon a player is currently using and wich ammo he has got? (included clip)
  19. Um.. what about if we're talking about a table inside onClientRender? (For a dxDraw on every table element).. if i know wich pos im looking at, i can lower the draw in screen, thats what i need.
  20. K is the position in table?
  21. Hey guys, how can i know wich position of the table im looking at with a loop on a table? (it is filled up with table.insert)
  22. It might be, but its the easiest way atm. And somehow, after i reconnected, everyone is shown as not part of my team( even if my team)
  23. Aparently, it will not work if i've restarted the script, but if i've joined it works.. strange somehow Anyways it doesnt bothers, im struck here, it always recognizes as if the player was in my team, no matter what. unction RadarTeamBlips() for i, v in ipairs(getElementsByType("player")) do if getPlayerTeam(v) == getPlayerTeam(getLocalPlayer()) then createBlipAttachedTo(v, 62, 2, 0, 255, 0, 255, 0, 65535) else createBlipAttachedTo(v, 59, 2, 0, 255, 0, 255, 0, 65535) end end end addEventHandler("onClientRender", getRootElement(), RadarTeamBlips)
×
×
  • Create New...