Raised This Month: $ Target: $400
 0% 

[REQ] change player speed when he drop c4


Post New Thread Reply   
 
Thread Tools Display Modes
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-09-2017 , 05:03   Re: [REQ] change player speed when he drop c4
Reply With Quote #21

He wants just to restore the original speed, whatever value it was.
__________________

Last edited by HamletEagle; 01-09-2017 at 05:03.
HamletEagle is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-09-2017 , 06:31   Re: [REQ] change player speed when he drop c4
Reply With Quote #22

I got that part, but his original request was to give 400 on drop, then he said 400 on pickup.
__________________
Bugsy is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 01-09-2017 , 07:29   Re: [REQ] change player speed when he drop c4
Reply With Quote #23

Bugsy, what does ExecuteHamB( Ham_Player_ResetMaxSpeed , id ); do? Set the speed to default?
__________________
edon1337 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-09-2017 , 07:46   Re: [REQ] change player speed when he drop c4
Reply With Quote #24

https://github.com/s1lentq/ReGameDLL...ayer.cpp#L7125
__________________
HamletEagle is offline
Old.School
Senior Member
Join Date: Sep 2015
Location: France
Old 01-09-2017 , 08:37   Re: [REQ] change player speed when he drop c4
Reply With Quote #25

Quote:
Originally Posted by Bugsy View Post
I got that part, but his original request was to give 400 on drop, then he said 400 on pickup.
like HamletEagle said

sorry but 400 on pickup was an example
__________________
You keep bringing B.R down .. He will rise again and kick Enemies asses !
Old.School is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 01-09-2017 , 19:13   Re: [REQ] change player speed when he drop c4
Reply With Quote #26

Quote:
Originally Posted by HamletEagle View Post
Thanks , when does a player have no active item ?
Quote:
// No active item, set the player's speed to default
I was searching for a native to set speed to default since long ago, lotta love <3
__________________
edon1337 is offline
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 09:17.


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