- 0
Problemă AdminBar
-
Similar Content
-
- 2 answers
- 647 views
-
Problema turf
By Soryn.,
- 3 answers
- 413 views
-
- 0 replies
- 159 views
-
- 2 replies
- 331 views
-
- 1 reply
- 204 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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??
Link to comment
Share on other sites
16 answers 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.