[REQ] Strip knife / set knife
Hi,
I need this menu which shows only once to an terrorist when they have joined the game. It will have the option to show the knife or not. Its like the hns_fakeknife cvar from the hidenseek mod. Quote:
The menu should look like this: Quote:
Thank you, i have tried creating this myself but i'm completely lost. Thanks in advance! |
Re: [REQ] Strip knife / set knife
You should try to explain in more detail without saying "like xyz plugin" .
|
Re: [REQ] Strip knife / set knife
Alright, i'm sorry.
When a player has joined the server and has chosen the terrorist team there should come up an menu which will ask the player if he wants an knife or not. If the player has chosen Yes, it will give the terrorist an Knife. If not, the knife will be removed. This menu will only show once when the player joined terrorist. |
Re: [REQ] Strip knife / set knife
Much better. Although I'm still confused as to whether you want to hide the knife or actually strip it, since you have used the term "strip" in your title but in your post you say "show the knife".
|
Re: [REQ] Strip knife / set knife
Sorry, i meant hiding the knife.
|
Re: [REQ] Strip knife / set knife
Is this what your looking for:
Code:
|
Re: [REQ] Strip knife / set knife
Yes, Thank you!
But can you maybe add so when the player is swapped over to CT it show the knife again. And when he goes to the Terrorist team the knife stays hiden. |
Re: [REQ] Strip knife / set knife
In last function, change :
PHP Code:
PHP Code:
|
Re: [REQ] Strip knife / set knife
Works perfect now, Thank you!
|
| All times are GMT -4. The time now is 16:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.