mirror of
https://github.com/ineedbots/t4_bot_warfare.git
synced 2025-09-23 07:06:39 +00:00
t4 refactor
This commit is contained in:
@@ -12,6 +12,24 @@ init()
|
||||
level.bot_builtins[ "fs_fclose" ] = ::do_fs_fclose;
|
||||
level.bot_builtins[ "fs_readline" ] = ::do_fs_readline;
|
||||
level.bot_builtins[ "fs_writeline" ] = ::do_fs_writeline;
|
||||
level.bot_builtins[ "notifyonplayercommand" ] = ::do_notifyonplayercommand;
|
||||
level.bot_builtins[ "cmdexec" ] = ::do_cmdexec;
|
||||
level.bot_builtins[ "ishost" ] = ::do_ishost;
|
||||
}
|
||||
|
||||
do_notifyonplayercommand( a, b )
|
||||
{
|
||||
self notifyonplayercommand( a, b );
|
||||
}
|
||||
|
||||
do_cmdexec( a )
|
||||
{
|
||||
cmdexec( a );
|
||||
}
|
||||
|
||||
do_ishost()
|
||||
{
|
||||
return self ishost();
|
||||
}
|
||||
|
||||
do_printconsole( s )
|
||||
|
Reference in New Issue
Block a user