Raised This Month: $ Target: $400
 0% 

Set_user_maxspeed question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Isaac999
Senior Member
Join Date: Nov 2011
Location: Home
Old 01-18-2012 , 07:43   Set_user_maxspeed question
Reply With Quote #1

PHP Code:
public fw_PreThink(id)
{
       if (
is_user_alive(id))
       {
              if (
mybool[id])
              {
                     
set_user_maxspeed(id) == 1.0
              
}
        }

if I set mybool[id] = false; means hes sspeed will be normal?
__________________
Isaac999 is offline
DarkGL
Senior Member
Join Date: Aug 2010
Location: Warsaw, Poland
Old 01-18-2012 , 07:57   Re: Set_user_maxspeed question
Reply With Quote #2

Code:
set_user_maxspeed(id) == 1.0
http://www.amxmodx.org/funcwiki.php?go=func&id=123
__________________
DarkGL is offline
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 01-18-2012 , 09:26   Re: Set_user_maxspeed question
Reply With Quote #3

Setting a client's maxspeed permanently and efficiently
__________________
Impossible is Nothing
Sylwester is offline
Isaac999
Senior Member
Join Date: Nov 2011
Location: Home
Old 01-19-2012 , 10:18   Re: Set_user_maxspeed question
Reply With Quote #4

Quote:
Originally Posted by DarkGL View Post
Code:
set_user_maxspeed(id) == 1.0
http://www.amxmodx.org/funcwiki.php?go=func&id=123
Thank you, i din't known -1.0 is the default speed

Quote:
Originally Posted by Sylwester View Post
I don't like using ham, it doesn't support bots
__________________
Isaac999 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-19-2012 , 10:51   Re: Set_user_maxspeed question
Reply With Quote #5

Ham works fine on bots.
__________________
Arkshine is offline
Isaac999
Senior Member
Join Date: Nov 2011
Location: Home
Old 01-19-2012 , 21:53   Re: Set_user_maxspeed question
Reply With Quote #6

Quote:
Originally Posted by Arkshine View Post
Ham works fine on bots.
I use zbot
__________________
Isaac999 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 14:57.


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