Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!I re-wrote the script to be much shorter, and more flexible. I'm not trying to step on your toes, or 1-up you or anything like that. Just figured this might help, especially if you are busy and I know you've mentioned updating the script anyways, so maybe this will save you the trouble. If you don't use it that's fine also, no offense taken. I'm not the best scripter, but pretty decent I believe, lol. Here it is.
No problem
leonardo745, looking back at your original code, I noticed you weren't getting the trigger using
so the game never knew what trigger it was looking for
Well, I stumbled upon this topic while searching through the help section. Hope this helps
http://ugx-mods.com/forum/index.php/topic,13911.0.html
someone in the topic mentioned that it worked for them.
you might need to use thisI can't really test anything at the moment because my game won't open
- are you getting errors while linking your scripts?
- Have you done all the necessary steps to make those fx play?
You can check what gun they have using getCurrentWeapon() and if the current weapon is the tesla_gun, you can do whatever you want after that.