AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Trying to make my own models config file (https://forums.alliedmods.net/showthread.php?t=174272)

bibu 12-18-2011 06:40

Trying to make my own models config file
 
Could anyone help me how to make my own models config file? Most of you will say that there are already plugins like that, for example connor's player models plugin. I just need to customize it and need todo several checks before setting the model and the way of hooking when player changes the team, is also bad for me. And also, I don't really understand it with the cells he made. However I would really appreciate it if someone can help me with that. I would like to much such config file:

Quote:

; set skin according to steamid
;"STEAM_0:1:23456789" "terrorist_model" "ct_model"
That would be the same, also the precache system how it works with "*T.mdl" models. Now to set the models, I would like todo it in Ham_Spawn, do my own checks and set it there. For sure I will not use "cs_set_user_model" since it causes svc_bad. Gonna use the api from connor and hope that it works that way. I tried todo what I can on my own, but I think it isn't worth to read it since it also doesn't work.

Any help is appreciated.

ConnorMcLeod 12-18-2011 06:48

Re: Trying to make my own models config file
 
Set at spawn could generate sames issues as cs_set_user_model.
I haven't understood what is wrong with the plugin.

bibu 12-18-2011 06:52

Re: Trying to make my own models config file
 
I would need to check some conditions and also like spawning in the enemy team with another model... like mole from wc3ft.

I never had any issues with setting model with your api on spawn.


All times are GMT -4. The time now is 12:07.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.