Quote:
Originally Posted by eNeMy`
How to set_user_maxspeed that it would be only with knife for this
Code:
new Float:speed = get_user_maxspeed(id) + get_cvar_num("amx_vip_speed")
set_user_maxspeed(id , speed)
|
Either use the newest hamsandwich module and Ham_CS_Player_ResetMaxSpeed or
this. You obviously need to set the speed only if the player has a knife ( search for this ), duh.
Quote:
Originally Posted by eNeMy`
How to do that with this(when i start shooting, it starts shaking the view) to stop shaking?
Code:
if(get_user_button(id) & IN_ATTACK)
entity_set_vector(id, EV_VEC_punchangle, Float:{0.0, 0.0, 0.0})
|
So you want to stop player's view shaking by punching him in the face? I bet that does not work. Isn't it more like the view shakes if you punch him in the face?
-> Could you explain what you want to do, remove recoil?