mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2025-04-20 16:45:43 +00:00
main shared
This commit is contained in:
parent
7dd5f3e93b
commit
9d6cc12626
1
.gitignore
vendored
1
.gitignore
vendored
@ -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/
|
||||||
|
14
main_shared/maps/mp/gametypes/_clientids.gsc
Normal file
14
main_shared/maps/mp/gametypes/_clientids.gsc
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
init()
|
||||||
|
{
|
||||||
|
level.clientid = 0;
|
||||||
|
level thread onPlayerConnect();
|
||||||
|
}
|
||||||
|
onPlayerConnect()
|
||||||
|
{
|
||||||
|
for(;;)
|
||||||
|
{
|
||||||
|
level waittill("connecting", player);
|
||||||
|
player.clientid = level.clientid;
|
||||||
|
level.clientid++;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user