Raised This Month: $222 Target: $400
 55% 

cmd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rrduna
Member
Join Date: Nov 2010
Location: Brazil
Old 11-30-2010 , 17:33   cmd
Reply With Quote #1

what is the full line of command that is used to run settings on clients?
rrduna is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-30-2010 , 18:20   Re: cmd
Reply With Quote #2

Quote:
Originally Posted by rrduna View Post
what is the full line of command that is used to run settings on clients?
What are you trying to do?
__________________
fysiks is offline
rrduna
Member
Join Date: Nov 2010
Location: Brazil
Old 11-30-2010 , 18:43   Re: cmd
Reply With Quote #3

something more or less so.
I want to make the sky map change for everyone, but do not want anything like that
with those plugin customization file. cfg
I want everything inside the script.

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Plugin Name"
#define VERSION "1.0"
#define AUTHOR "AMXX-Studio"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...
}

public 
precache_sky(){
    
    
client_cmd(0"sv_skycolor_b 0")
    
client_cmd(0"sv_skycolor_g 0")
    
client_cmd(0"sv_skycolor_r 0")
    
    
client_cmd(0"sv_skyname space")
    
    
client_cmd(0"sv_skyvec_x 0.365677")
    
client_cmd(0"sv_skyvec_y 0.340999")
    
client_cmd(0"sv_skyvec_z -0.896025")

rrduna is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-30-2010 , 18:53   Re: cmd
Reply With Quote #4

You don't need to change the client settings for that, only the server.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
rrduna
Member
Join Date: Nov 2010
Location: Brazil
Old 11-30-2010 , 18:57   Re: cmd
Reply With Quote #5

But I want to change the settings with a plugin.
Driving the cvars of toggles and if possible, make a precache the sky for customer.

Last edited by rrduna; 11-30-2010 at 19:01.
rrduna 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 19:16.


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