Raised This Month: $ Target: $400
 0% 

[PROBLEM SOLVED] server_cmd problems


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
shino
Senior Member
Join Date: May 2006
Old 07-05-2006 , 15:29   [PROBLEM SOLVED] server_cmd problems
Reply With Quote #1

first problem:
Code:
register_cvar("bc_teamA","NiP"); register_cvar("bc_teamB","fnatic"); get_cvar_string("bc_teamA",bcTeamA,31); get_cvar_string("bc_teamB",bcTeamB,31); server_cmd("say Teams %s and %s, choose your leader!",bcTeamA,bcTeamB);

well, server_cmd launches at round start, but it shows only "Teams and , choose your leader!", without any names.

second problem:
Code:
server_cmd("hostname Counter Strike Fun Play")
this also launches at round start, but it changes the name of the server only to Counter

sorry for the code, i'm watching portugal vs. france and there's penalty as i wrote gbye

EDIT: damn french!
__________________


+karma if i am helpful

Last edited by shino; 07-05-2006 at 16:48.
shino is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-05-2006 , 15:51   Re: server_cmd problems
Reply With Quote #2

Code:
server_cmd("say ^"Teams %s and %s, choose your leader!^"",bcTeamA,bcTeamB); server_cmd("hostname ^"Counter Strike Fun Play^"");
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
shino
Senior Member
Join Date: May 2006
Old 07-05-2006 , 16:09   Re: server_cmd problems
Reply With Quote #3

doesn't help... neither of these two

EDIT: hostname ... works, but the first problem is still unsolved
__________________


+karma if i am helpful

Last edited by shino; 07-05-2006 at 16:29.
shino is offline
shino
Senior Member
Join Date: May 2006
Old 07-05-2006 , 16:35   Re: server_cmd problems
Reply With Quote #4

no, cvars don't work even if i stand on my hand.

i tried also:

Code:
server_cmd("hostname ^"%s vs. %s - Powered by Battle Controll^"",bcTeamA,bcTeamB);

it doesn't work, it shows < vs. - Powered by Battle Controll>
__________________


+karma if i am helpful
shino is offline
Old 02-07-2014, 21:34
Asim0
This message has been deleted by hornet. Reason: Useless post
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 08:08.


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