mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2026-06-05 07:02:33 +00:00
main shared
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
!/main/
|
!/main/
|
||||||
/main/*
|
/main/*
|
||||||
!/main/server.cfg
|
!/main/server.cfg
|
||||||
|
!/main_shared/
|
||||||
|
|
||||||
# Folder to not ignore
|
# Folder to not ignore
|
||||||
!/mods/
|
!/mods/
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
init()
|
||||||
|
{
|
||||||
|
level.clientid = 0;
|
||||||
|
level thread onPlayerConnect();
|
||||||
|
}
|
||||||
|
onPlayerConnect()
|
||||||
|
{
|
||||||
|
for(;;)
|
||||||
|
{
|
||||||
|
level waittill("connecting", player);
|
||||||
|
player.clientid = level.clientid;
|
||||||
|
level.clientid++;
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user