Take a picture of the reported player screen.
Does not work in SRCs V1 and TH.
In warz_server.sln
Search For:
Add Below:Code:int Cmd_GiveItem(obj_ServerPlayer* plr, const char* cmd);
Search for:Code:int Cmd_Report(obj_ServerPlayer* plr, const char* cmd); // System send ScreenShot By Jailson Mendes
Add above:Code:int ServerGameLogic::Cmd_GiveItem(obj_ServerPlayer* plr, const char* cmd)
Search for:Code:int ServerGameLogic::Cmd_Report(obj_ServerPlayer *plr, const char *cmd) // System send ScreenShot By Jailson Mendes { for(int i=0; i<curPlayers_; ++i) { obj_ServerPlayer* pl = plrList_[i]; plr->security_screenshotRequestSentAt = r3dGetTime(); PKT_S2C_CheatWarning_s sn; sn.cheatId = 255; p2pSendToPeer(pl->peerId_, pl, &sn, sizeof(sn),true); break; } //r3dAddReport("%s: %s \n", plr->userName, cmd); return 0; }
Add Below:Code:int ServerGameLogic::ProcessChatCommand(obj_ServerPlayer* plr, const char* cmd)
Code:if(strncmp(cmd, "/report", 7) == 0) // System send ScreenShot By Jailson Mendes return Cmd_Report(plr, cmd);
HardcorePVP JAILSON MENDES


Reply With Quote![[Tutorial] System Screen report for src V2](http://ragezone.com/hyper728.png)



