Jump to content

Crash


Recommended Posts

Posted

*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

Posted
*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! :)

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

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

userbarst3.png
Posted
*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!

Posted

But of course, you shouldn't be trying to use others script at all, unless they released it... :roll:

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

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