New smlib update available: smlib 0.9.2 beta
Compatibility breaks: none
Changes:
Quote:
Made the argument classname of the Function Entity_FindByName() optional.
Added Function Entity_FindByHammerId()
Added Function Entity_FindByClassName() for completion.
Added Function Math_IsInBounds()
Fixed Function File_LoadTranslations()
Fixed Effect_DissolveEntity() (it used a wrong netprop).
Added parameter dissolveType to Effect_DissolveEntity() and Effect_DissolvePlayerRagDoll()
Fixed some comments.
Added a few missing comments.
|
Download here.
Quote:
Originally Posted by zeroibis
I noticed that when using:
Client_SetActiveWeapon(client, weapon);
if you set it to knife you do not see it until you fire.
|
I couldn't reproduce this behavior, it's working fine for me.
Can you post some example code ? thanks.
__________________