dreamstalker / rehlds

Reverse-engineered HLDS
GNU General Public License v3.0
652 stars 167 forks source link

[Bug Report] issue with setting cs_set_user_model #263

Closed indraraj26 closed 6 years ago

indraraj26 commented 7 years ago

It does not change the model.

Tested in windows/linux version Protocol version 48 Exe version 1.1.2.7 (cstrike) Exe build: 18:25:31 Nov 1 2016 (934) ReHLDS API version 2.13

you can test with my code : `#include

include

public plugin_init() { register_clcmd("say /model","set_model"); }

public set_model(id) { cs_set_user_model(id,"guerilla"); client_print(id,print_chat,"Your model is set to ts(guerilla)"); log_amx("Your model is set to ts(guerilla)"); } `

NewZMLife commented 7 years ago

use ReAMXMODX

indraraj26 commented 7 years ago

NewZMLife already using, this issue is from rehlds API as re-amxmodx haven't update anything in cstrike module as far as I know cs_set_user_model is common native btw have you tried my code ?

OsweRRR commented 6 years ago

you forgot of precache_model..

indraraj26 commented 6 years ago

@OsweRRR You don't need to precache default model it was Reamxmodx fault I have update the Amxmodx now its working