Downloaded Models not Executed/Visible In-Game
Greetings,
Just here to inquire about a little problem I've been facing with Server Models. I'm running a reHLDS Deathrun Server with reAMXModX 1.8.3. I've been wanting to have custom model for Admins specifically with ADMIN_SLAY access and here I found this little plugin that does just what I want. Now the case is, for some reason, I'm facing the exact same problem is this guy in this thread. Model downloads successfully, but somehow just doesn't show up on a player. All players are just with the standard HL-Models. I tried opening the specific model I was trynna install in jed's model viewer and it did load successfully. Here's my edit in the above mentioned plugin : PHP Code:
Checked plugins.ini just to see if any other plugins blocks or replaces the custom model, but no sources looked suspicious enough, also verified that it USED to work before, it just stopped suddenly 2 days ago after a mapchange Tried other code(not mine) to get the thing to actually execute inside the server : PHP Code:
Here's my server.cfg : PHP Code:
So, I'm out here trying to find some luck, and just kinda come up with something for this small problem. Hope the details provided were enough to analyze the problem. Thanks for considering this post. Kindest Regards, ZEDD |
Re: Downloaded Models not Executed/Visible In-Game
1.AMXX 1.8.3 has support for rehlds/regamedll so please use that instead of reamxx.
2.You should post in scripting help or suggestions/requests forum. 3.You are using a very old plugin with a horrible method of changing player models, I strongly advise you not to use that. |
Re: Downloaded Models not Executed/Visible In-Game
Quote:
Thanks for your cooperative response, HamelEagle. First off, I apologize for misposting the thread in the wrong section, It'd be totally fine if you could move it out to "Scripting Help", I'll make sure I post the right thing under the right title from the next time. Secondarily, for... Quote:
Again, I realize this is slowly turning into "Scripting Help", but I'll definitely rethink about where I post my stuff. For 1) I never knew stock version of AMXX1.8.3 supported ReGameDLL/reHLDS at all, Thanks for letting me know. For now, I'll keep that step at the end as I'd love to try with your #3 as the code I'm using is old. After updating it, if that doesn't work, I'll rethink if I really want models on my server or not, because switching AMXX may or may not cause problems in the smooth functionality of the server, i.e. Crashes. Currently, my server running over 125 plugins is so far so good with no error log since months, i know its a lot to handle for the CPU, but it hasn't called out for a rescue since a while, so I'd love to keep the versions the same as far as its not forcibly needed to do. Anyways, Thanks again. Looking forward to any help, to be appreciated. Thanks and Regards, ZEDD UPDATE : I tried this, pretty everything in this entire thread : Quote:
Any help is appreciated. |
Re: Downloaded Models not Executed/Visible In-Game
I suggest to disable all other plugins and test only the model changer. You may have a plugin that sets models back.
Btw, are you using cl_minmodels? The plugin you quoted is more close to what you should be using. Tho, notice that it only sets models for admins with ADMIN_LEVEL_H. |
Re: Downloaded Models not Executed/Visible In-Game
Quote:
I've never used cl_minmodels. After reviewing some other threads related to that CVar, I tried setting it on 0, which made no difference. Setting it to 1 basically forces the default leet/gign models which will be visible to every client, if I'm not wrong. I tried setting it to 0, which didn't make any difference. The tricky part is, I disabled literally every single plugin on the server with nothing but the code I quoted in my previous reply and the 3rd Person Camera plugin (Which doesn't reset models) so I can watch my character. It still didn't function properly. No model came up even with every plugin disabled I've edited it to work with ADMIN_RESERVATION access. Please let me know if I missed anything : PHP Code:
Appreciate your replies. Regards, ZEDD |
Re: Downloaded Models not Executed/Visible In-Game
Before telling you what's wrong I want to say you should ALWAYS do some debugging. Put some messages around if check and functions, and based off this messages you will know what code gets executed and what not(see message, means code is executed).
Your did some mistakes. All you should have edited in the original plugin are this two constants: PHP Code:
Now, if you want to know some things you did wrong: PHP Code:
What it should look like is: PHP Code:
PHP Code:
PHP Code:
|
Re: Downloaded Models not Executed/Visible In-Game
Quote:
Definitely something to learn right there. Just to make sure I follow it correctly, here's the edit again : PHP Code:
|
All times are GMT -4. The time now is 08:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.