mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-05-29 22:37:42 +00:00
unused
This commit is contained in:
parent
230d89edf5
commit
901895a10d
@ -38,30 +38,6 @@ BotBuiltinPrintConsole( s )
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Writes to the file, mode can be "append" or "write"
|
||||
*/
|
||||
BotBuiltinFileWrite( file, contents, mode )
|
||||
{
|
||||
if ( isdefined( level.bot_builtins ) && isdefined( level.bot_builtins[ "filewrite" ] ) )
|
||||
{
|
||||
[[ level.bot_builtins[ "filewrite" ] ]]( file, contents, mode );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Returns the whole file as a string
|
||||
*/
|
||||
BotBuiltinFileRead( file )
|
||||
{
|
||||
if ( isdefined( level.bot_builtins ) && isdefined( level.bot_builtins[ "fileread" ] ) )
|
||||
{
|
||||
return [[ level.bot_builtins[ "fileread" ] ]]( file );
|
||||
}
|
||||
|
||||
return undefined;
|
||||
}
|
||||
|
||||
/*
|
||||
Test if a file exists
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user