- 0
Report/Cheaters Ca pe bugged
-
Similar Content
-
- 0 replies
- 198 views
-
- 1 reply
- 202 views
-
- 2 replies
- 154 views
-
- 2 replies
- 566 views
-
- 2 replies
- 339 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
caltabos
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); }
}
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.