How do I leave the name of the teams I've changed auto? Because every time you change the map I have to go up the console command g_TeamName_Allies Add active, as I leave automatic, without having to keep going to the console?
Code:
wait 1000
g_TeamName_Allies "bananas"
Save as 'teamnames.script' in /addon/scripts
Woe to the problem where you live, how I create the script? in my addon folder has just written a script example.
(08-01-2012, 01:14)JariZ Wrote: [ -> ]Code:
wait 1000
g_TeamName_Allies "bananas"
Save as 'teamnames.script' in /addon/scripts
When I save the file teamnames.script and run the server, the server crashes.
I am placing the following command:
wait 2000
g_TeamName_Allies "^ 3Clan"
wait 2000
g_TeamName_Axis "^ 1Visitantes"
Help me please.
I created the plugin and add commands in sv_config: [SCRIPT]
Enabled = 1
/ / Enable the server script [0-1]
Script = teamnames.SCRIPT
/ / Server script to run
However, nothing has changed. Help please
(08-01-2012, 18:11)danieltuf Wrote: [ -> ]I created the plugin and add commands in sv_config: [SCRIPT]
Enabled = 1
/ / Enable the server script [0-1]
Script = teamnames.SCRIPT
/ / Server script to run
However, nothing has changed. Help please
works ok here, only difference is i added the names to example.script.
Quote:only difference is i added the names to example.script.
It's the same as yours.
Read his post again
(08-02-2012, 02:59)JariZ Wrote: [ -> ]Quote:only difference is i added the names to example.script.
It's the same as yours.
Read his post again
err no it isn't, he created a new script then saved it, i didn't. I used the default one.
I created the plugin and add commands in sv_config: [SCRIPT]
Enabled = 1
/ / Enable the server script [0-1]
Script = teamnames.SCRIPT <<<<-------------
that is not the same.
/ / Server script to run
mine
use the code below with the attached script.
[SCRIPT]
Enabled=1
//Enable the server script [0-1]
Script=example.script
//Server script to run
Here did not work, I left here my example file, and server_cfg if they can take a look to help me, I use Promod plugin and mAddons v1.0.3