- 0
Problemă AdminBar
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Bogdan1
Salut, am şi eu o problemă am incercat sa adaug AdminBar dar imi da eroarea de mai jos..
C:\Users\xBogdanSLL\Desktop\JUCAUSIIGM.pwn(9112) : error 017: undefined symbol "i"
if(PlayerInfo[pAdmin] >= 5)
{
new reports=0,cheaters=0;
foreach(new id : Player)
{
if(strcmp(reporttext[id], "NULL", true) && reportcheater[id] == -1)
{
reports++;
}
if(reportcheater[id] != -1)
{
cheaters++;
}
}
TextDrawShowForPlayer(i, AdminHUD);
format(string, sizeof(string), "Tick: ~b~%d~w~ / Reports: ~r~%d~w~ / Cheaters: ~r~%d~w~ / FPS: ~g~%d~w~ / Ping: ~r~%d~w~ / Anim: ~y~%d~w~", GetServerTickRate(), reports, cheaters, PlayerInfo[pFPS], GetPlayerPing(i), GetPlayerAnimationIndex(i));
TextDrawSetString(AdminHUD, string);
}
Cum pot rezolva??
16 answers 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 accountSign in
Already have an account? Sign in here.
Sign In Now