Raised This Month: $18 Target: $400
 4% 

are there native cvar ( host_framerate ) or change speed game


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LiZou Mapper
Member
Join Date: Oct 2018
Location: Morocco
Old 02-10-2020 , 15:22   are there native cvar ( host_framerate ) or change speed game
Reply With Quote #1

Hi
i want ask any someone
host_framerate 0
all know this cvar
when make
host_framrate 0.5 -> become game speed is fast
host_framrate -0.5 -> become game speed is slow
are any there in AMX Mod X, there any 'native' change game speed !
e.g. : get_framehost() ?

i search in amxmodx.org/api, but i don't found anything ?
Please Little Help
__________________
.:[LiZou Mapper]:.
Play, Play, Play, Play, Play, Play, Play, Play = Die *_*
LiZou Mapper is online now
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-10-2020 , 22:11   Re: are there native cvar ( host_framerate ) or change speed game
Reply With Quote #2

What do you mean by "game speed"?

Also, you can get and set any cvar (whether or not it does what you want when you change it depends on the cvar). Simply use the cvar functions in AMX Mod X:

Code:
get_cvar_*()
get_pcvar_*()
set_cvar_*()
set_pcvar_*()
To use the pcvar functions with cvars that are not created in your plugin, use get_cvar_pointer() to get the proper reference to the cvar.
__________________

Last edited by fysiks; 02-10-2020 at 22:12.
fysiks is offline
LiZou Mapper
Member
Join Date: Oct 2018
Location: Morocco
Old 07-27-2020 , 17:02   Re: are there native cvar ( host_framerate ) or change speed game
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
What do you mean by "game speed"?

Also, you can get and set any cvar (whether or not it does what you want when you change it depends on the cvar). Simply use the cvar functions in AMX Mod X:

Code:
get_cvar_*()
get_pcvar_*()
set_cvar_*()
set_pcvar_*()
To use the pcvar functions with cvars that are not created in your plugin, use get_cvar_pointer() to get the proper reference to the cvar.
but i need active sv_cheats 1, i don't want active cheatw
so,there any method in ReAPI or from any include or located in some modules
__________________
.:[LiZou Mapper]:.
Play, Play, Play, Play, Play, Play, Play, Play = Die *_*
LiZou Mapper is online now
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-27-2020 , 20:07   Re: are there native cvar ( host_framerate ) or change speed game
Reply With Quote #4

What are you talking about? How is sv_cheats related to using AMXX and cvars?!
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Gabe Iggy
Veteran Member
Join Date: Mar 2011
Location: Chile
Old 07-28-2020 , 13:30   Re: are there native cvar ( host_framerate ) or change speed game
Reply With Quote #5

Sadly, it's not possible to speed up/down the game because the cvar that manages it is not registered.
__________________
Gabe Iggy is offline
KliPPy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 08-02-2020 , 16:22   Re: are there native cvar ( host_framerate ) or change speed game
Reply With Quote #6

Quote:
Originally Posted by Gabe Iggy View Post
Sadly, it's not possible to speed up/down the game because the cvar that manages it is not registered.
The cvar is networked according to Solo, so I guess it's possible to alter it using Orpheu or similar means. Might be worth trying that out.
__________________

Last edited by KliPPy; 08-02-2020 at 16:22.
KliPPy is offline
Reply


Thread Tools
Display Modes

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:52.


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