Yes this works perfect:
PHP Code:
//ยง-=-=-=-=-=-=-=-=-= Set Player Model =-=-=-=-=-=-=-=-=-ยง
SetEntProp(client, Prop_Send, "m_nModelIndex", PrecacheModel(MDLSTRING));
//ยง-=-=-=-=-=-=-=-=-= Set Player Arms =-=-=-=-=-=-=-=-=-ยง
SetEntPropString(client, Prop_Send, "m_szArmsModel", ARMSSTRING);
But is some times while i change models i got this erros on console:
PHP Code:
Bad pstudiohdr in GetSequenceLinearMotion()!
Sometimes people who play on my server have their game crashed, and I believe it is because of this error.
The error appears quickly in 4 or 6 lines on SRCDS console and soon disappears, it seems that is the moment that is changing the models of the player.
Regards.
__________________
My Plugins |
VIEW HERE | I accept private requests, send me a PM.
Buy respawn | Uber Recall | Grenade drop | Damage Supperssor
Meet the Medic | Disguise Expert | Crazy Jet
CZSBrasil TEAM