Raised This Month: $ Target: $400
 0% 

How to send a command to rcon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 12-08-2011 , 20:37   Re: How to send a command to rcon
Reply With Quote #1

PHP Code:
set_cvar_string("sv_gravity"600
__________________
kramesa is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-08-2011 , 22:34   Re: How to send a command to rcon
Reply With Quote #2

Quote:
Originally Posted by kramesa View Post
PHP Code:
set_cvar_string("sv_gravity"600
You have to use set_cvar_num() or make the 600 into a string. But, yes, if you are changing cvars it's recommended to use p/cvar natives.
__________________

Last edited by fysiks; 12-08-2011 at 22:34.
fysiks 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 12:05.


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