Robis
Members-
Posts
21 -
Joined
-
Last visited
Everything posted by Robis
-
Everything is in control, i just made it by myself.
-
Do i have to script these two commands or they are built in MTA?
-
Hard for beginners, like me. I though that it wouldn't be that hard! Well...
-
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!
-
MTA Wiki not working for me.
-
a Dayz Base system.
-
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?
-
Still looking for help!
-
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)
-
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'.
-
But when i open Admin Panel (P), click Maps, these maps is shown in 'no gamemode' list.
-
I've got the error when i do that - mapmanager_exports.lua:68: mapmanager: Map 'AreaMAP' is not compatible with 'roleplay'
-
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.
-
Well, i added .map files in [maps] folder. But i cant see any maps loaded. http://prntscr.com/dnzfid
-
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
-
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..
-
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..
-
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!
-
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!
-
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
-
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]
