Raised This Month: $51 Target: $400
 12% 

Solved Cs_set_user_model problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tepegoz
Senior Member
Join Date: Apr 2019
Old 04-04-2019 , 05:45   Cs_set_user_model problem
Reply With Quote #1

Players can type "model zombie" or "model modelname" to console and player model is changing. This problem is on public cmdkeeper. How to change player model without cs_set_user_model? Please help me or edit sma. How to block players from writing model command?
Attached Files
File Type: sma Get Plugin or Get Source (soccerjamedit.sma - 320 views - 247.9 KB)

Last edited by tepegoz; 04-06-2019 at 12:24. Reason: solved
tepegoz is offline
thEsp
BANNED
Join Date: Aug 2017
Old 04-04-2019 , 05:48   Re: Cs_set_user_model problem
Reply With Quote #2

PHP Code:
entity_set_string(id,EV_SZ_model,"model"

Last edited by thEsp; 04-04-2019 at 05:50.
thEsp is offline
tepegoz
Senior Member
Join Date: Apr 2019
Old 04-04-2019 , 06:14   Re: Cs_set_user_model problem
Reply With Quote #3

Quote:
Originally Posted by thEsp View Post
PHP Code:
entity_set_string(id,EV_SZ_model,"model"
Same problem again. Players can write "model modelname" to the console.
tepegoz is offline
thEsp
BANNED
Join Date: Aug 2017
Old 04-04-2019 , 06:23   Re: Cs_set_user_model problem
Reply With Quote #4

https://forums.alliedmods.net/showthread.php?p=660187
What I said it's not about blocking, it's about changing the model without cstrike module.
thEsp is offline
tepegoz
Senior Member
Join Date: Apr 2019
Old 04-04-2019 , 06:34   Re: Cs_set_user_model problem
Reply With Quote #5

Block plugins ineffective. How to solve model command problem for my plugin? I don't know much. I tried fm_set_user_model , rg_set_user_model and I could not. I want change skin without player's model command.
tepegoz is offline
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 04-04-2019 , 06:55   Re: Cs_set_user_model problem
Reply With Quote #6

Quote:
Originally Posted by tepegoz View Post
Block plugins ineffective. How to solve model command problem for my plugin? I don't know much. I tried fm_set_user_model , rg_set_user_model and I could not. I want change skin without player's model command.
If you dont wanted to change model with command than remove "register_clmd "and put admin access , name , steamid to change model
__________________
SED LYF !!!
SHIELD755 is offline
thEsp
BANNED
Join Date: Aug 2017
Old 04-04-2019 , 07:00   Re: Cs_set_user_model problem
Reply With Quote #7

PHP Code:
#include <amxmodx>
#include <engine>

new g_model[] = "models/hgrunt.mdl"

public plugin_precache() precache_model(g_model)

public 
client_infochanged(identity_set_string(id,EV_SZ_model,g_model
try this, idk if it works or not. Make sure model filename is correct.

Last edited by thEsp; 04-04-2019 at 07:06.
thEsp is offline
tepegoz
Senior Member
Join Date: Apr 2019
Old 04-04-2019 , 07:16   Re: Cs_set_user_model problem
Reply With Quote #8

if you look at my plugin, when I type /gk to say , model is changing so my problem is command "model modelname". I am misunderstood I want change model with type /gk . Players who my server use "model zombie" and model is changing to zombie.
tepegoz is offline
E1_531G
Senior Member
Join Date: Dec 2017
Old 04-04-2019 , 07:49   Re: Cs_set_user_model problem
Reply With Quote #9

https://forums.alliedmods.net/showthread.php?t=161255
Somewhere on the forum you can find the 1.3 version.
__________________
My English is A0
E1_531G is offline
tepegoz
Senior Member
Join Date: Apr 2019
Old 04-04-2019 , 08:52   Re: Cs_set_user_model problem
Reply With Quote #10

Quote:
Originally Posted by E1_531G View Post
https://forums.alliedmods.net/showthread.php?t=161255
Somewhere on the forum you can find the 1.3 version.
I found but i don't know how to do it Can you help me or edit my plugin?
Attached Files
File Type: sma Get Plugin or Get Source (cs_player_models_api.sma - 282 views - 7.3 KB)
tepegoz is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:41.


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