MCPcopy Create free account
hub / github.com/assaultcube/AC / flagmessage

Function flagmessage

source/src/server.cpp:1351–1357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1349}
1350
1351void flagmessage(int flag, int message, int actor, int cn = -1)
1352{
1353 if(message == FM_KTFSCORE)
1354 sendf(cn, 1, "riiiii", SV_FLAGMSG, flag, message, actor, (sg->gamemillis - sg->sflaginfos[flag].stolentime) / 1000);
1355 else
1356 sendf(cn, 1, "riiii", SV_FLAGMSG, flag, message, actor);
1357}
1358
1359void flagaction(int flag, int action, int actor)
1360{

Callers 2

flagactionFunction · 0.85
htf_forceflagFunction · 0.85

Calls 1

sendfFunction · 0.85

Tested by

no test coverage detected