Posts
835
Respect
195Add +1
Forum Rank
The Decider
Primary Group
Community Mapper
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!Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
This should work(hopefully, never tested it xD).
EDIT: Removed the cost, didn't add that in the code so it was useless.
Since i don't know how to script how do i make it so that the ray gun replaces the weapon the player is holding
because your code just gives the player a ray gun and gives and extra slot like mulekick.
here you have
the code has a reference to change weapon
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
Sorry for asking so many questions, but could you make it so the trigger get deleted. so only one player can use it.
Stop taking my thunder dammit xD
noup :3 haha. hey dd what is the point of checking for if the player current weapon is defined? xD lol i htink that in this context the current weapon will obviosly be difined, you should have made that the "if" checks if the player weapons.size is == to 2 , cause if he has 1 weap this code will leave the player with just one weapon. also the get players is uneeded.
so....
haha i actually am (/u\) but you dont have to say it (/n\) lol
but im sure the code has to work this way xD
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Well, that changes things a bit.
How about this?
Just wondering, why are you doing players = getplayers(); if the next line sets players to whichever player triggers it? Also, I would change the F in the hintstring to &&1.
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
Well, that changes things a bit.
How about this?
i dont understand ._.' haha the second code would take the players weapon even if he only had 1 weap D: and nobody wants to end up with just 1 weap :s