Jump to content
  • 0

Report/Cheaters Ca pe bugged


Question

Posted

Stie cineva cum fac un sistem de genu asta? 

Eu am ceva facut in gamemode dar cand da cineva /report nu apare. (Eu l-am luat din alt GM si am pus astea in el)

new PlayerText: ReportsTD;

            }    
            if(PlayerInfo[pAdmin] >= 1) {
                new reports=0,cheaters=0,strr[128];
                foreach(Player,id)
                {
                    if(GetPVarInt(i, "Reported") == 1)  { reports++; }
                    if(GetPVarInt(i, "Reported") == 2)  { cheaters++; }
                }
                if(reports > 0)
                {
                    PlayerTextDrawShow(i, ReportsTD);
                    format(strr,sizeof(strr),"REPORTS: ~r~%d~w~ / CHEATERS: ~r~%d",reports,cheaters);
                    PlayerTextDrawSetString(i, ReportsTD, strr);
                }
                else if(reports == 0) { PlayerTextDrawHide(i, ReportsTD); }
            }

 

 

 

Screenshot_1.png

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.