Multiple Models
Hi,
I am trying to do a multiple models plugin. The way it will work is by saying /madmin you get model of admin etc. So I tried lots of combination and any of them don't work correctly. My sma so far looks like that PHP Code:
|
Re: Multiple Models
It looks fine, what's the problem?
Just some suggestions All you have to change with this code is modelfiles[][] = { ... } Use whatever you want. Code:
|
Re: Multiple Models
The problem was that server crashed.
Now your plugin is running but doesn't work :/ . I even added client_print while changing model but it also doesn't work. Are you sure it's correct? |
Re: Multiple Models
Sorry i forgot this line:
Code:
|
Re: Multiple Models
It would be perfect if it run a properly name of model. First I got this
Code:
FATAL ERROR (shutting down): Mod_NumForName: models/player/dmin_te/dmin_te.mdl not foundCode:
FATAL ERROR (shutting down): Mod_NumForName: models/player/admin_te/admin_te.mdl not found |
Re: Multiple Models
Does the file exist on the server?
|
Re: Multiple Models
I mean, the problem isn't nonexistent file but the fact that first it says "Where the heck is dmin_te.mdl" and then "I'd like admin_te.mdl back".
Like, it requires 2 pairs of models dmin_te, dmin_ct and admin_te, admin_ct. |
Re: Multiple Models
new modelfiles[][]
-> new modelfiles[][][] |
Re: Multiple Models
Thank you very much guys, you're awesome.
I've also added /mreset, which allow you to come back to your basic model. |
Re: Multiple Models
Quote:
|
| All times are GMT -4. The time now is 15:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.