Adding custom weapons
Hey there! How could I add custom weapons? I don't need something entirely new, something based on existing weapons would suit my needs. Let me explain: what I need is a vip menu, made of four elements: crystal awp, golden awp, crystal deagle and golden deagle.
I could not find a function that sets a different skin to a weapon, so I thought of the custom weapon thing as the only way of doing it. So... my question: how could I do the custom weapons? |
Re: Adding custom weapons
There's a lot of information regarding this subject. You should try searching, try what you find, and then come back here with the issues you encountered.
|
Re: Adding custom weapons
Ok. I'll do that. I've done that before, but didn't really find much. Anyway, I'll try a more accurate search these days. I'll be back here in a couple of days, after a complete search. Thanks! :)
|
Re: Adding custom weapons
Quote:
Code:
|
Re: Adding custom weapons
Quote:
|
Re: Adding custom weapons
Quote:
|
Re: Adding custom weapons
I found this in AMXX Documentation, regarding that function: "Do not use this to set models, use entity_set_model." Should I use that function with the same entity?
EDIT: Apparently, using those entities with entity_set_model returns compiling errors. EDIT2: I've done some searching in the includes, the "entity_set_model" function has been replaced with "fm_entity_set_model". Now... the plugin compiles clean. I'm gonna test it to see how it works (if it does) and I will be back with another edit, the third, hopefully the last. |
Re: Adding custom weapons
Don't use anything from fakemeta_util, you can do it much faster without it
You are probably using entity_set_model incorrectly if you are getting compile errors |
Re: Adding custom weapons
Yeah, I probably am using that function unproperly. Could you please give me a sample of the proper using of that?
|
Re: Adding custom weapons
entity_set_model(EntityIndex, "ModelPath");
|
| All times are GMT -4. The time now is 13:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.