1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

tweak game interface bus mode

This commit is contained in:
RaidMax
2023-06-07 16:15:54 -05:00
parent fd7c8fcb4a
commit 29d4c65393
4 changed files with 70 additions and 34 deletions

View File

@ -102,24 +102,24 @@ WaitForClientEvents()
}
}
GetInboundData()
GetInboundData( location )
{
return FileRead( level.eventBus.inVar);
return FileRead( location );
}
GetOutboundData()
GetOutboundData( location )
{
return FileRead( level.eventBus.outVar );
return FileRead( location );
}
SetInboundData( data )
SetInboundData( location, data )
{
FileWrite( level.eventBus.inVar, data, "write" );
FileWrite( location, data, "write" );
}
SetOutboundData( data )
SetOutboundData( location, data )
{
FileWrite(level.eventBus.outVar, data, "write" );
FileWrite( location, data, "write" );
}
GetMaxClients()