As far as i know that shouldn't change as it's the element and that will always stay the same, you can put some element into variable and keep using it until it gets destroyed.
This is not a client issue as far as i know. I had the same problem few times with my server as well, about 50% of players couldn't connect so i restarted it and the issue was resolved. It happened few times after the server was up for several weeks, MTA team then released patch for the server and since then it didn't happen.
No, why would you put setTimer there? If you use root in onClientResourceStart, the function will get called on start of any resource. If you use resourceRoot it will get called just for your resource the code is in.
Why would you use onClientFileDownloadComplete? If you want it to get called on player's join use onClientResourceStart. And these are events, not functions.
What is that?? That's the example from the wiki page, that has nothing to do with it.
Simply check the command and if it's equal to whatever command you have there use cancelEvent so it won't get called.
Learn the very basics of scripting first, you don't have any knowledge as i can see.
source is undefined most likely...
Try this instead:
addEventHandler("onPlayerJoin", root,
function ()
bindKey(source, "u", "down", "chatbox", "party")
end)
Or simply use bindKey client sided.
That's what it's for, that's its purpose, that people like you can't edit and perhaps steal other people's work. Stop trying to decompile scripts and learn to script yourself instead!
I still don't understand what you want... that list is a list of vehicle upgrades. id is the ID of the upgrade (Vehicle Upgrades) and there is also its name. If you want to use that file in another resource use path: ":admin/conf/upgrades.xml"
Are you sure? I remember that i was able to trigger onPlayerWasted. But that wasn't using triggerServerEvent but just triggerEvent and the handler was in another resource.
It's because of this part:
if not respawn then
destroyElement(v)
else
destroyElement(v)
end
What is that? You destroy it no matter what respawn is. Remove the else part.
You're a funny guy. Of course you can't... you can show anything you want in scoreboard but you can't make "fake players". Attract real players in other way...