Re: Knife Models
It's much work, I don't fell like doing it. I made a transformation of this plugin that you can use for other weapons. Here's the code:
PHP Code:
PHP Code:
PHP Code:
|
Re: Knife Models
Quote:
|
Re: Knife Models
The same thing you wrote between crx_ and _models, but with small letters. So, it will be /m4a1.
|
Re: Knife Models
Quote:
he have to choose again the model! How can i put the plugin save the model, for steam id or something |
Re: Knife Models
That's not a problem, it's how I made it work. I'll add a saving option later.
|
Re: Knife Models
Quote:
|
Re: Knife Models
In order to tell you, I would need to provide code, so if I could do that, I would have done it instead. I'll do it tomorrow if I have time.
|
Re: Knife Models
Quote:
|
Re: Knife Models
Here:
PHP Code:
|
Re: Knife Models
Could you add Sub menu ? Please I really want it. something like this:
/knife ----------- 1. CS GO Knifes 2. Fun Knifes --------------- 1. knife skin 2. knife skin 3. knife skin 4. knife skin 5. knife skin ---------------------- 1. knife skin 2. knife skin 3. knife skin 4. knife skin 5. knife skin pls |
Re: Knife Models
Quote:
|
Re: Knife Models
I tried it too and it works.
|
Re: Knife Models
Quote:
|
Re: Knife Models
What about damage cvar?
|
Re: Knife Models
The plugin focuses only on knife models. If I add damage, then people will ask to add gravity, speed, etc. There's no point of adding damage when everyone can change their knife model at any time.
|
Re: Knife Models
I suggest you to add CT/TE knives, and for this, I mean: when you type /knife, it will open a menu with 2 options: CT knives and TE knives, so you can choose different knives for both teams (I know you can change them anytime, but it would still be nice, in my opinion) and save our choice by SteamID (as panipani said it is buggy).
Thank you for reading this. |
Re: Knife Models
Hi OciXCrom,
I will report an bug. I define a flag for one knife, but all the knives are VIP. All the knives under the flagged knife are VIP. Could you please fix the problem? |
Re: Knife Models
Show your KnifeModels.ini file content.
|
Re: Knife Models
The KnifeModels.ini file is below.
Code:
[M9 Bayonet] |
Re: Knife Models
Try moving the default knife on top. Are you using the latest version of the plugin?
// Edit: nevermind, I saw what the problem is. Fixed. Download the new version (v2.1.1). |
Re: Knife Models
Quote:
|
Re: Knife Models
Quote:
|
Re: Knife Models
It's not a problem. I would actually recommend you to leave the first knife to be the default one.
|
Re: Knife Models
Quote:
|
Re: Knife Models
Hi OciXcrom, sweet coding there, I really liked it! I was hoping... is there a way to replace guns models to player models? I know it would be different since chooseteam, but I would like to choose player models from a menu :) away from choosteam
|
Re: Knife Models
Quote:
|
Re: Knife Models
Quote:
|
Re: Knife Models
Quote:
|
Re: Knife Models
1.
PHP Code:
PHP Code:
3. PHP Code:
PHP Code:
(could also use a switch and check for specific characters instead of using if and equal, but not very important) Be consistent with naming conventions: you have things like play_knife_sound, detect_knife_sound and then things like ColorChat, PushKnife, etc. Use one style. |
Re: Knife Models
Quote:
2. Done. 3. Not exactly like that, because it doesn't need to precache a sound every time. I changed it however so it's no longer duplicated. PHP Code:
|
Re: Knife Models
After a very fast check it looks fine.
|
Re: Knife Models
Congrats OciXCorn for the approval!
|
Re: Knife Models
Thanks. It's nice to see that at least one approver is still alive.
|
Re: Knife Models [XP System Support!]
https://img.shields.io/badge/update-...2018-green.svg
https://i.imgur.com/Ni54An2.png |
Re: Knife Models [XP System Support]
What do I need to change to instead of using Knife models but Player models? Thanks, nice plugin btw
nice plugin btw, another question, Instead of showing LEVEL: 1 how can I show Rank: XX? |
Re: Knife Models [XP System Support]
Quote:
|
Re: Knife Models [XP System Support]
Quote:
You can change the text from the language file - data/lang/KnifeModels.txt |
Re: Knife Models [XP System Support]
Nice updates! Gonna test it soon. But... Since you did not answer, do you feel like doing this? Great job.
Quote:
|
Re: Knife Models [XP System Support]
Having different knives for both teams bothers me because when the player switches team, the knife should be removed. I'll see what I can do.
|
Re: Knife Models [XP System Support]
I mean I need to change Level: 1 to Rank: Newbie, how to do so?
|
| All times are GMT -4. The time now is 07:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.