-
Posts
1,134 -
Joined
-
Last visited
-
Days Won
37
Everything posted by NeXuS™
-
This section is asking for HELP not for a whole script.
- 5 replies
-
- system level
- exp
-
(and 4 more)
Tagged with:
-
And whats not working with it?
- 5 replies
-
- system level
- exp
-
(and 4 more)
Tagged with:
-
Hey Lorder, Can you describe a bit more about your project? Also, this script makes no sense :D.
-
You could easily do this script with this list of functions and events: onClientClick, getElementModel, triggerServerEvent, getElementPosition, setElementPosition, setElementFrozen, setPedAnimation I linked these functions in an order which you would need in your script. This forum is for help, not for asking scripts, just start writing it, and you have any PROBLEM, we'll help ya.
-
<export function="isPlayerInTable" type="server"/>
-
Does "Tables" have "isPlayerInTable" as an exported function in it's meta.xml?
-
moveObject with a low tick number, and just use that one over and over.
-
You can go to the Wiki site, and check the example. It's doing the exactly same as you want to.
-
You could add a timer to check his oxygen level, and if its going down (its under 1000), you can set his level back to 1k. (https://wiki.multitheftauto.com/wiki/SetPedOxygenLevel)
- 1 reply
-
- 1
-
-
You could use onVehicleStartEnter, and then cancelEvent() it. So if the car is locked, cancelEvent(), and they wont be able to even press F on it.
-
Hey dima3367, How would that buy come up? Whould it be a PayPal, SMS, or else? If you can give me further info, we can discuss about it.
-
function serverContainer.loginClient(user, pass) local qh = dbQuery(serverContainer.connection,'SELECT * FROM mybb_users WHERE username = ?',user) local result, row, errmsg = dbPoll ( qh, 5000 ) end addEvent('onClientLogins', true) addEventHandler('onClientLogins', root, serverContainer.loginClient) Try this one, and reply if it's still crashing it.
-
Hey Dimos7, You have to use setElementData, to set the vehicle's current fuel level. You have to use setTimer, and getDistanceBetweenPoints2D, to get the travelled distance, and some multiplies to get the fuel decreasing. Write a comment if you need further help.
-
Kk, I'll try it when I get home. Thanks for you advice, will write about it after the job.
-
Hey Tasumi, Can you explain a bit better what you want to do?
-
If you set the dbPoll's timeout to -1, will it run?
-
Hey Gabriele01, You can easily make this code by yourself. There are two ways. 1. You go near a base, where you can see a marker, if you go inside that marker, you can type /code [!code] 2. You go near a base, where you can see a marker, if you inside that marker, you can type /code [!code], and a gate'll open. I can write you both of these scripts, choose one of them.
-
addEventHandler("onPlayerVehicleEnter", getRootElement(), function(theVeh) if not getVehicleEngineState(theVeh) then setVehicleEngineState(theVeh, false) end end) And then just add a commandHandler to a startEngine function.
-
I do have 3ds Max, but because I have a dff file, I have to import it with Kam's Max script or what?
-
Ahh, ffs. Is there any way to re-export a model?
-
I have the model already. Why would I export it?
-
What? The bumper is only one dff file, and thats all. I have two different bumpers for each car. So they are 2 bumpers/car, and I have about 10 cars which need to be done by this method. (They have mods for like Sultan's bumper, and I want it to work on a different car, so I have to mod it to a different object, because we have a different car on the Sultan already.) But I can't figure it out. Everytime when I change the DFF's load ID (eg. 1137 to 1337), it crashes.