mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2026-10-14 05:21:27 +00:00
main shared
This commit is contained in:
1 parent
7dd5f3e93b
commit
9d6cc12626
2 files changed
+15
No files matched your search
@@ -13,6 +13,7 @@
|
||||
!/main/
|
||||
/main/*
|
||||
!/main/server.cfg
|
||||
!/main_shared/
|
||||
|
||||
# Folder to not ignore
|
||||
!/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