Raised This Month: $ Target: $400
 0% 

set_user_maxspeed, entity_set_vector


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 07-28-2011 , 09:15   Re: set_user_maxspeed, entity_set_vector
Reply With Quote #1

Quote:
Originally Posted by eNeMy` View Post
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` View Post
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?

Last edited by SnoW; 07-28-2011 at 09:59.
SnoW is offline
Send a message via MSN to SnoW
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:55.


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