VIP Plugin 3.0 question
Hello everyone
I have a question. I successfully installed the vip plugin 3.0. I also installed vip models. so that you can see who is VIP. I downloaded a weapon model pack. is it possible to add these weapon models? so that only the vips have it? best regards ! |
Re: VIP Plugin 3.0 question
Is this the vip plugin you're using? https://forums.alliedmods.net/showthread.php?p=675900
|
Re: VIP Plugin 3.0 question
Hi CrazY.
Yes, that's exactly |
Re: VIP Plugin 3.0 question
There you go
Create a file named vip_models.ini in addons/amxmodx/configs/ The syntax is Code:
"weapon name" "path to v_model" "path to p_model"Code:
"weapon_ak47" "models/v_ak47.mdl" "models/p_ak47.mdl"Code:
"weapon_ak47" "" "models/p_ak47.mdl"Code:
#include <amxmodx> |
Re: VIP Plugin 3.0 question
Hello CrazY.
many, many thanks for your effort and help! I think I got it that far. nevertheless i still have a question? I understand correctly when I write this line in the .ini: Quote:
can I also use this code: Code:
#include <amxmodx>Many thanks and best regards !! edit: I have tried to compile (.sma to .amxx) this code. unfortunately i get an error message: Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler. |
Re: VIP Plugin 3.0 question
Yes exactly, if the player isn't vip he's going to see the default CS models. The first quote is the weapon name, the second is the view model, the one you see in your hands, almost always is the one that starts with v_ in the file name and the third quote is the weapon model, this is what other players will see when you're holding that weapon, this is almost always the model starting with p_ in the file name and yes, it will work with any weapon even with c4, except for shield. If you need it to work with shield I'll have to modify the plugin. Just make sure you enable the plugin after any other that also changes the weapon models. With that I mean just set it below other plugins in plugins.ini file
You're getting that error because of your amxmodx version. The code below will work with amxmodx 1.8.2, I guess this is the version you are using. You should consider updating amxmodx to 1.9 or later but this is more to a suggestion than a requirement. Code:
#include <amxmodx> |
Re: VIP Plugin 3.0 question
Hello CrazY.
again many, many thanks for your help! The new code from you can now be compiled into an .amxx. I uploaded these to / addons / amxmodx / plugins. I also added the entry (vip_models.amxx) in the plugins.ini in the last place. I also created a vip_models.ini (addons/amxmodx/configs) the content is: "weapon_ak47" "models / v_ak47.mdl" "models / p_ak47.mdl" "weapon_awp" "models / v_awp.mdl" "models / p_awp.mdl" "weapon_famas" "models / v_famas.mdl" "models / p_famas.mdl" "weapon_galil" "models / v_galil.mdl" "models / p_galil.mdl" "weapon_m4a1" "models / v_m4a1.mdl" "models / p_m4a1.mdl" "weapon_scout" "models / v_scout.mdl" "models / p_scout.mdl" I also uploaded the new weapon models to the cstrike / models folder: v_ak47.mdl v_awp.mdl v_famas.mdl v_galil.mdl v_m4a1.mdl v_scout.mdl Unfortunately, as a VIP, I don't get any new weapon models in my hand. am i doing something wrong? did I understand something quickly? do I have to delete the .mdl files on my pc so that they have to be downloaded again from the server? best regards |
Re: VIP Plugin 3.0 question
You shouldn't replace the default CS files. Rename the custom models you're going to upload or you can create a folder in the models directory, call it vip and upload all custom models there, then in the ini you would set models/vip/filename.mdl instead of models/filename.mdl, where "filename" you would replace with the model names.
Also, the file path shouldn't contain spaces in the ini. This is how it should look: Code:
"weapon_ak47" "models/v_ak47.mdl" "models/p_ak47.mdl"Code:
"weapon_ak47" "models/vip/v_ak47.mdl" "models/vip/p_ak47.mdl" |
Re: VIP Plugin 3.0 question
Hello CrazY.
now it's going perfectly! I did it the way you described it. created a vip folder in the models folder and added / uploaded the new weapon models there. again, many, many thanks for the help! a quick question about amxmod 1.9.0. if I were to switch to the current version, will my current add-ons continue to run normally? or can there be problems? best regards |
Re: VIP Plugin 3.0 question
Cool, I'm happy to help
I forgot to mention that you can name the folder as you prefer, it doesn't need to be "vip", can be anything without spaces and could even be a folder of a sub-folder. As for updating amxmodx, yes all plugins are supposed to work with later versions, you may get some warnings when compiling the plugins but you can simply ignore them. If you don't really want to bother with that don't worry, stick with 1.8.2 there won't be any problems at all, just with plugins that were made for later versions or if it ever happen of a later version becoming stable, what isn't the case currently, so don't worry. |
| All times are GMT -4. The time now is 20:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.