Jump to content

Robis

Members
  • Posts

    21
  • Joined

  • Last visited

Everything posted by Robis

  1. Everything is in control, i just made it by myself.
  2. Do i have to script these two commands or they are built in MTA?
  3. Hard for beginners, like me. I though that it wouldn't be that hard! Well...
  4. I can't understand what you mean with group and value. It could be awesmoe, if you could make me a script, heres a weapon sounds to disable: (I need not modded sounds, but original sounds to disable) M4, AK-47, Silenced Pistol, Pistol, TEC-9, MP5, Uzi, Desert Eagle, Sniper Rifle, Rifle. Thanks!
  5. Is there a way to disable original weapon sounds, as i have installed modded sounds, i need to know how to remove original. can someone help me?
  6. Still looking for help!
  7. I installed this map, but it said that error map: http://adf.ly/1a84r6 from website: http://www.mtascripts.ovh/page2.html (DayZ LS Map)
  8. Maps isnt corrupted, i think. I've tried a lot of maps. But it still says ERROR: mapmanager\mapmanager_exports.lua:68: mapmanager: Map 'z-51Beta' is not compatible with 'DayZ'.
  9. But when i open Admin Panel (P), click Maps, these maps is shown in 'no gamemode' list.
  10. I've got the error when i do that - mapmanager_exports.lua:68: mapmanager: Map 'AreaMAP' is not compatible with 'roleplay'
  11. Well i did this: http://prntscr.com/dnzk12 But map still wont load. I didnt add in mta config anything. I didnt do anything. Just put the map in [maps] folder.
  12. Well, i added .map files in [maps] folder. But i cant see any maps loaded. http://prntscr.com/dnzfid
  13. And i should add folder name to mta config? Like: <resource src="map" startup="1" protected="0" /> And do i need meta.xml there (in map folder) Map file have to looks like this? http://prntscr.com/dnzbhi
  14. Hello, i have a problem. Can someone teach me how to add maps to my MTA server, cause im newbie, i want to learn. Add it to installed server..
  15. Robis

    How to add maps?

    Hello, i have a problem. Can someone teach me how to add maps to my MTA server, cause im newbie, i want to learn. Add it to installed server..
  16. Hello! I have an warning showing up in my console! Can anyone help me fix this? Gamemode: DayZ WARNING: Bad argument @ 'getElementData' [Expected element at argument 1, got nil] Script: function setEngineStateByPlayer (playersource) ------------------------------------------------ local parent = getElementData(veh,"parent") --WARNING HERE ------------------------------------------------------ if isElement(parent) and tonumber(getElementData(parent,"fuel"))then if getElementData(parent,"fuel") <= 0 then outputChatBox("This vehicle tank is empty!", playersource, 255, 22, 0) return end end local veh = getPedOccupiedVehicle (playersource) setVehicleEngineState (veh, not getVehicleEngineState(veh)) if getVehicleEngineState(veh) == true then triggerClientEvent (playersource, "displayClientInfo", playersource,"Vehicle","You started the Engine.",22,255,0) else triggerClientEvent (playersource, "displayClientInfo", playersource,"Vehicle","You stopped the Engine. ",255,22,0) end end Thanks!
  17. Hello! Im newbie, so can anyone help me with these warnings? Bad argument @ 'destroyElement' [Expected element at argument 1, got boolean] and Bad argument @ 'getPlayerName' [Expected element at argument 1, got boolean] script: triggerClientEvent ( "onRollMessageStart", getRootElement(),"#FFFFFF"..getPlayerName(source).." #FFFFFFwas killed by "..(getPlayerName(killer) or "unknown")..".",0,22,255, "died") destroyElement(getElementData(source, "playerCol")) Dayz Gamemode! Thanks!
  18. I cant understand? Heres my function - how should i replace with it? function setEngineStateByPlayer (playersource) if getElementData(getElementData(veh,"parent"),"fuel") <= 0 then outputChatBox("This vehicle tank is empty!", playersource, 255, 22, 0) return end local veh = getPedOccupiedVehicle (playersource) setVehicleEngineState (veh, not getVehicleEngineState(veh)) if getVehicleEngineState(veh) == true then triggerClientEvent (playersource, "displayClientInfo", playersource,"Vehicle","You started the Engine.",22,255,0) else triggerClientEvent (playersource, "displayClientInfo", playersource,"Vehicle","You stopped the Engine. ",255,22,0) end end
  19. I have an error, which is hard to fix ( for me ) can anyone help? SCRIPT: if getElementData(getElementData(veh,"parent"),"fuel") <= 0 then ERROR: attempt to compare boolean with number [DUP x21]
×
×
  • Create New...