Michael_Tuner Posted April 1, 2010 Share Posted April 1, 2010 *Can clients crash MTA server? *If we can manage to create a script like a car spawner in Mods->Resources->Any servers resources, Can we use it? *How to define a Hitting player and Hit victim in Scripting? *Can scripts be used in maps? Please answer these Link to comment
dzek (varez) Posted April 1, 2010 Share Posted April 1, 2010 *Can clients crash MTA server? theoretically no, in practice, spawning some vehicles (via https://wiki.multitheftauto.com/wiki/Vehicle_IDs ) can do it (trains). but you can find/create an application that will restart server on crash. anyway, i've never got a server crash (my server is up from 31 December 2009) *If we can manage to create a script like a car spawner in Mods->Resources->Any servers resources, Can we use it? i don't understand your question.. *How to define a Hitting player and Hit victim in Scripting? -- clientside script function onDamageHandler(attacker, weapon, bodypart, loss) -- so now >> attacker << is the Hitting player -- and >> source << is the Hit victim end addEventHandler("onClientPedDamage", getRootElement(), onDamageHandler) *Can scripts be used in maps? of course! Link to comment
Mr.Hankey Posted April 1, 2010 Share Posted April 1, 2010 *If we can manage to create a script like a car spawner in Mods->Resources->Any servers resources, Can we use it? No, only scripts that have been downloaded from the server will be executed and if you try to edit an existing Script it will be redownloaded. Link to comment
Michael_Tuner Posted April 1, 2010 Author Share Posted April 1, 2010 *If we can manage to create a script like a car spawner in Mods->Resources->Any servers resources, Can we use it? No, only scripts that have been downloaded from the server will be executed and if you try to edit an existing Script it will be redownloaded. Bummer! Link to comment
robhol Posted April 1, 2010 Share Posted April 1, 2010 But of course, you shouldn't be trying to use others script at all, unless they released it... Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now