Quote:
Originally Posted by iBeatz
Again, the break is there, I just didn't copy and paste it properly.
I was verifying params[0] after that function was called, so that the function would be called no matter what params[0] was, but it seems that placing the function after the verification fixes the problem, so thanks fowlplay.
Why would it be called twice in the first place though?
|
You can triggerclient any weapon from any script on the server-side so you should be validating the first parameter to make sure a rogue script isn't just sending it random data.