Code Explanation
Can anybody please explain me the below code briefly,Connor McLeod gave me this code to disable picking up ground weapons,It works,All the weapons on ground were not visible to anybody.But wanted to disable picking up not making them invisible,Can you provide me other method for this or explain me below code please
PHP Code:
|
Re: Code Explanation
It loops through all default map weapon entities and removes them on each round start.
Instead, to block picking them up: Code:
|
Re: Code Explanation
It's more efficient to remove those weapons, why do you want to keep them on ?
|
Re: Code Explanation
I don't want to disable weapons for Other clients,Only for person who uses (/giveme) command
Your code was impossible for me to understand,But,Thanks anyway! |
Re: Code Explanation
Can I user it that way?
I want to disable pickups only for those who uses "/giveme" command. PHP Code:
|
Public Tag Usage
Can I user it that way?
I want to disable pickups only for those who uses "/giveme" command. PHP Code:
|
Re: Public Tag Usage
Please Reply,Everything is stuck just because of these constants and functions...
|
Re: Public Tag Usage
Don't make extra threads, I'm already in the process of answering your other one ... Don't bump either - you waited 1 hour for a response ... Don't be impatient.
|
Re: Public Tag Usage
Create a global variable and set it's value in cmd_GiveWeapon handler. Then check whether the user has allowed it or not in the ham hook.
|
Re: Code Explanation
No, you can't put a function header inside another. You would do it like this:
Code:
|
| All times are GMT -4. The time now is 06:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.