Adding New ACS Functions to ACC
Zandronum introduces several built-in ACS functions that are not yet supported by ACC, but it is simple to add them.
Steps
Find your ACC directory. The functions are enumerated in the zspecial.acs file. Near the bottom, find the line containing -1000:__EndOfList__(10);
and delete it or comment it out. Then paste
-100:ResetMap(0), -101:PlayerIsSpectator(1), -102:ConsolePlayerNumber(0), -103:GetTeamProperty(2), -104:GetPlayerLivesLeft(1), -105:SetPlayerLivesLeft(2), -106:KickFromGame(2), -107:GetGamemodeState(0), -108:SetDBEntry(3), -109:GetDBEntry(2), -110:SetDBEntryString(3), -111:GetDBEntryString(2), -112:IncrementDBEntry(3), -113:PlayerIsLoggedIn(1), -114:GetPlayerAccountName(1), -115:SortDBEntries(4), -116:CountDBResults(1), -117:FreeDBResults(1), -118:GetDBResultKeyString(2), -119:GetDBResultValueString(2), -120:GetDBResultValue(2), -121:GetDBEntryRank(3), -122:RequestScriptPuke(4), -123:BeginDBTransaction(0), -124:EndDBTransaction(0), -125:GetDBEntries(1), -126:NamedRequestScriptPuke(1,4), -127:SystemTime(0), -128:GetTimeProperty(2, 3), -129:Strftime(2, 3), -130:SetDeadSpectator(2), -131:SetActivatorToPlayer(1), -19260:GetTeamScore(1), -19261:SetTeamScore(2), -100000:__EndOfList__(10);
in its place. This will allow you to compile those commands in your ACS!