spawndelay drinn, botkick on mapstart drinn, akimbo msg draussen..

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@382 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-09-14 19:13:37 +00:00
parent 15e422feee
commit 3016ac98a4
32 changed files with 281 additions and 211 deletions
+4 -4
View File
@@ -69,11 +69,11 @@ void connects(char *servername)
disconnect(1); // reset state
addserver(servername);
conoutf("attempting to connect to %s", (int)servername);
conoutf("attempting to connect to %s", servername);
ENetAddress address = { ENET_HOST_ANY, CUBE_SERVER_PORT };
if(enet_address_set_host(&address, servername) < 0)
{
conoutf("could not resolve server %s", (int) servername);
conoutf("could not resolve server %s", servername);
return;
};
@@ -144,8 +144,8 @@ void trydisconnect()
};
string ctext;
void toserver(char *text) { conoutf("%s:\f %s", (int)player1->name, (int)text); strn0cpy(ctext, text, 80); };
void echo(char *text) { conoutf("%s", (int)text); };
void toserver(char *text) { conoutf("%s:\f %s", player1->name, text); strn0cpy(ctext, text, 80); };
void echo(char *text) { conoutf("%s", text); };
COMMAND(echo, ARG_VARI);
COMMANDN(say, toserver, ARG_VARI);