Страница 8 от 18
Knife Models [XP System Support]
Публикувано на: 18 Авг 2018, 10:06
от Maverick
Може би не го ползвам правилно или просто се бъгва при мен но при мен не работи много добре.
Ето така ми е в KnifeModels.ini
Код за потвърждение: Избери целия код
[Default]
V_MODEL = models/v_knife.mdl
[Butterfly]
V_MODEL = models/butterfly.mdl
FLAG = b
[Karambit]
V_MODEL = models/karambit.mdl
FLAG = b
И изписва това също
- 20180818092419_1.jpg (263.07 KiB) Преглеждано 4386 пъти
- 20180818092419_1.jpg (263.07 KiB) Преглеждано 4386 пъти
- 20180818092419_1.jpg (263.07 KiB) Преглеждано 4386 пъти
- 20180818092419_1.jpg (263.07 KiB) Преглеждано 4386 пъти
И не се запаметяват като съм избрал нож, след reconnect пак съм си с нормалният нож.
amxx.cfg
Не използвам ранк системата.
Всички файлове съм ги обновил.
Knife Models [XP System Support]
Публикувано на: 18 Авг 2018, 10:25
от TheRedShoko
Липсва ти lang файла, затова ти изписва ML_NOTFOUND.
Knife Models [XP System Support]
Публикувано на: 18 Авг 2018, 10:45
от Maverick
Тука си е
Явно нещо не го засича. То аз си имах старият файл но го обнових с последният.
Knife Models [XP System Support]
Публикувано на: 18 Авг 2018, 23:51
от OciXCrom
Смени кодировката му на ANSI.
Knife Models [XP System Support]
Публикувано на: 19 Авг 2018, 09:23
от Maverick
Добре така стана и вече текста си се показва както трябва.
- 20180819091048_1.jpg (282.38 KiB) Преглеждано 4304 пъти
- 20180819091048_1.jpg (282.38 KiB) Преглеждано 4304 пъти
И km_save_choice "1" работи до някъде, но не както би трявало. Излизам от сървара влизам и в менюто пише че съм с този който съм избрал но скина не му се появява автоматично.
Knife Models [XP System Support]
Публикувано на: 24 Авг 2018, 03:37
от onixsone
@ocixcrom
Hello I use this plugin as you know but I would ask if you have the possibility to extend it to be able to use weapons as well and not be limited to knife.
I know you have the custom shop but do not offer it with xp using your rank system and custom weapons last only for a while.
I think it would be cool if this plugin had its expanded utility for weapons as well as working with the rank system and launching the Knifes + Weapons Models. What do you think of the idea?
It would be awesome because this plugin works great with the rank system.
Or if you do not want to extend this plugin would like to know if you would be able to add the weapons without taking up too much of your time.
Knife Models [XP System Support]
Публикувано на: 24 Авг 2018, 14:11
от OciXCrom
Yes, this is something that many people have requested and I want to do it eventually. It's not an easy task to make such a plugin though, so I can't tell for sure when I'll make it. I'm busy with something else at the moment, so this will have to wait.
For now you can use separate plugins for each weapon as mentioned here -
viewtopic.php?f=33&t=4966&p=28466#p28466
Knife Models [XP System Support]
Публикувано на: 24 Авг 2018, 17:47
от onixsone
OciXCrom™ написа: ↑24 Авг 2018, 14:11
Yes, this is something that many people have requested and I want to do it eventually. It's not an easy task to make such a plugin though, so I can't tell for sure when I'll make it. I'm busy with something else at the moment, so this will have to wait.
For now you can use separate plugins for each weapon as mentioned here -
viewtopic.php?f=33&t=4966&p=28466#p28466
@ocixcrom
Very good!
First of all thank you for these separate plugins because it will not be difficult to change to other weapons.
This is very cool to be able to make gun models available to players using xp from each of them.
Another idea that maybe would be cool is to modify the plugin custom shop to use xp in place of points ie use the option of points xp or points in money as it replacing the plugin point to use xp and integrate it into the rank system it would look great.
Thanks man!
Knife Models [XP System Support]
Публикувано на: 24 Авг 2018, 20:18
от OciXCrom
onixsone написа: ↑24 Авг 2018, 17:47Another idea that maybe would be cool is to modify the plugin custom shop to use xp in place of points ie use the option of points xp or points in money as it replacing the plugin point to use xp and integrate it into the rank system it would look great.
You can do this as well. It's even explained in the plugin's thread how to do it. Simply replace the
cshop_settings.inc file with this one and recompile
custom_shop.sma:
Код за потвърждение: Избери целия код
#if defined _cshop_settings_included
#endinput
#endif
#include <crxranks>
#define _cshop_settings_included
#define DEFAULT_SOUND "items/gunpickup2.wav"
#define FLAG_ADMIN ADMIN_BAN
#define LANG_TYPE LANG_SERVER
#define MAX_ITEMS 100
/*
* Change the lines below if you want to use a native for your money currency, e.g. Ammo Packs, BaseBuilder Credits, JBPacks, etc.
* Example (%1 = id | %2 = amount):
native zp_get_user_ammo_packs(id)
native zp_set_user_ammo_packs(id, amount)
#define get_user_money(%1) zp_get_user_ammo_packs(%1)
#define set_user_money(%1,%2) zp_set_user_ammo_packs(%1, %2)
*/
#define get_user_money(%1) crxranks_get_user_xp(%1)
#define set_user_money(%1,%2) crxranks_set_user_xp(%1, %2)
/* Don't touch this line unless you know what you're doing */
#define take_user_money(%1,%2) set_user_money(%1, get_user_money(%1) - %2)
This will replace the usage of the default CS money with the XP from the rank system.
Knife Models [XP System Support]
Публикувано на: 24 Авг 2018, 22:45
от onixsone
OciXCrom™ написа: ↑24 Авг 2018, 20:18
You can do this as well. It's even explained in the plugin's thread how to do it. Simply replace the
cshop_settings.inc file with this one and recompile
custom_shop.sma:
Aff, I had not even noticed that, sorry man.