-
Posts
6,097 -
Joined
-
Last visited
-
Days Won
218
Everything posted by IIYAMA
-
Draken pls If you know what he is talking about, than help him. a vehicle is an element..... (theElement: The player or vehicle whose health you want to check. ) I know you are a much better scripter, but you are at the moment very unclear. Because I don't think he is talking about the vehicle health. He is talking about the damage that is visible. At doors etc.
-
I just continue with Dark Link conclusion about "visual damage", else he just want to save the health of the vehicle. ... https://wiki.multitheftauto.com/wiki/GetElementHealth ...
-
It is possible, but I am not sure if this script have to update these stats afther a player rejoins: Get https://wiki.multitheftauto.com/wiki/GetVehicleDoorState Set https://wiki.multitheftauto.com/wiki/SetVehicleDoorState (I don't know, if you can check the lights if they are damaged. Also it will happen to all the lights.) Get https://wiki.multitheftauto.com/wiki/Get ... LightState https://wiki.multitheftauto.com/wiki/Get ... rideLights Set https://wiki.multitheftauto.com/wiki/Set ... LightState https://wiki.multitheftauto.com/wiki/Set ... rideLights Maybe if you want this to: (I am also not sure about this one, if damage can sync this) https://wiki.multitheftauto.com/wiki/Get ... rOpenRatio https://wiki.multitheftauto.com/wiki/Set ... rOpenRatio
-
You can't use that as handler, You have to trigger from the script, that set this element data or you can use a timer.
-
The first thing I do is checking with the editor for any upgrades at the vehicle/spawnpoints If they are there, I remove from 1 vehicle the upgrades and replace them with the copies of this vehicle. If they aren't there. 1 Open .map 2 search for the words: vehicle 3 check if there are any upgrades added. Else You are not using the standard race resource.
-
he may can play a little with the offset, but I think that will be laggy.
-
You have to remove the upgrades with the map editor or you can change it in the .map script. (it is also possible that an map does have a script that cause these upgrades, but I never checked that out) Why you think these upgrades are in race resource? The race resource is only reading it.
-
Next time I wont help you. Because you are seriously lazy.
-
function weaponfire(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement) if not weapon <= 9 then --x,y,z = getElementPosition(getLocalPlayer()) x, y, z = getPedBonePosition ( getLocalPlayer(), 25 ) if not createProjectile(getLocalPlayer(),16,x,y,z,400) then end end end addEventHandler("onClientPlayerWeaponFire", root, weaponfire) Wiki MTA > https://wiki.multitheftauto.com easy to build.. I only don't know for sure if it works... 16 Grenade 17 Tear Gas Grenade 18 Molotov 19 Rocket (simple) 20 Rocket (heat seeking) 21 Air Bomb 39 Satchel Charge 58 Flare from hydra
-
yes, but if he changed his mind or he is not the only admin on the server. You never know
-
Script by Shadow(add by this person......): ---serverSide function show () local acc = getAccountName(getPlayerAccount( source)) if isObjectInACLGroup('user.'..acc, aclGetGroup('RADAR_ENABLE')) then toggleControl("radar", false) outputChatBox('radar disable',source,255,0,0) else toggleControl("radar", true) outputChatBox('radar enable',source,0,255,255) end addCommandHandler('radar', show) ---clientSide addEventHandler('onClientResourceStart', resourceRoot, function() toggleControl("radar", false) end) end 1 On your server. admin> resources > manage acl > adgroupe "RADAR_ENABLE" 2 Ad user login names to this group and they will be able to have f11 map. (adobjects "user.") The command to make it visible is now: "radar" thx to shadow.
-
https://wiki.multitheftauto.com/wiki/ToggleControl client and server side and you want client side client: toggleControl("radar", false) You better take a good look at X-SHADOW his script. function stopMap ( ) local getElementData ( "radar_allow" ) if radar_allow == 1 then toggleControl("radar", true) else toggleControl("radar", false) end end addEventHandler ( "onClientResourceStart", resourceRoot, stopMap )
-
btw I looked on google for disable f11 and I found this. https://forum.multitheftauto.com/viewtop ... 91&t=37288 I hope this will help you. ;D Regards IIYAMA >>>>>radar = Toggles the radar-map showing
-
Do I look stuppit? I know exactly what he wants. as I said you must force it of the rail and move it by script to another, when you hit something like a colshape. It is not possible to set the switch from rail to rail, because this is not possible in normal GTA SAN! There are mods for switches, but as far I know they can't be added in mta.
-
Maybe you can force it of the train rail, by using https://wiki.multitheftauto.com/wiki/SetTrainDerailable and https://wiki.multitheftauto.com/wiki/SetElementVelocity
-
He isn't clear about "map" he is talking about. Yes you are right about that. I have never seen the map in the escape menu, so I thought he meant "f11". I don't know all the possibility's of lua in combination with mta, so please. Stop flaming at me, everybody have the right to reply as long it is no spam and it has to do with the subject.
-
Can't you cancel the button with cancelevent?
-
ok, this was very clear information. thx
-
Elseif is something like "other" But why not?> if yes == 1 then if yes ==2 then end if yes ==3 then end if yes ==4 then end if yes ==5 then end end and else"is something like "or" ???????? I am right or wrong?
-
I love it To set degrees in negative value. It is much easier and you can also use it, when you want a map being symmetrical. I recommend you to use it.
-
Doen we
-
But if you set damage proof will the fire go out?
-
3.) How to create this fence with red light?: You can copie these lamp at the mountain on the left corner. Highest corner. (red is only visible at night) The road with red can't be found at the same stat. This road has an .txd file. https://wiki.multitheftauto.com/wiki/EngineImportTXD You can find this mod/txd in your client folder. It is not a shame people don't know the objects, there are very much objects. Only mappers who make much race maps, they mind these objects. It is a shame you are to lazy to search for it. -_-" I am not a person who is interesting in race. I make maps for stealth, end of the question.
-
better open your ports. It will solve it for 70 %.
-
Yes I have same problem sometimes. It is called download error. The data wont be sent from the server to the client. and the strange thing is that it not count for all the users. Some can join and some can't. Are you using hamachi? /this is not a topic for the script section but can be cause by a script/
