Weapon Pickup Block
How would I go about blocking anyone from picking up a weapon if a bool is true?
|
Re: Weapon Pickup Block
I saw you looked into it before (I stalked your profile) so you should know how to just block it. Loop through all players and if player has the bool set true, block, else don't.
Simple as that. I'm just too lazy to check up the actual code. Edit: You could try this: PHP Code:
|
Re: Weapon Pickup Block
Quote:
|
Re: Weapon Pickup Block
Updated my post.
|
Re: Weapon Pickup Block
Quote:
PHP Code:
|
Re: Weapon Pickup Block
My bad on that. It was wrecked who coded it wrong from the start. This just fucked things up, lol. Sec, I'll see if I can find some other way.
Edit: Updated first post. Tested and works. |
Re: Weapon Pickup Block
Fixed it in the tutorial as well.
|
Re: Weapon Pickup Block
I've tried like 6 methods and it still hasn't worked. The bool doesn't have an index, but I'm sure thats not the problem. I have it set the bool to true whenever an LR(last request) is in progress. So it SHOULD block it if gLastRequest is true. I don't have a clue whats wrong.
|
Re: Weapon Pickup Block
Quote:
|
Re: Weapon Pickup Block
Quote:
|
| All times are GMT -4. The time now is 00:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.