Jump to content

Crash


Recommended Posts

*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
*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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...