Problem
#1

Hi all,i have added the FPS counter to the server but i get errors while compiling:

error 001: expected token: ";", but found "-identifier-"
error 017: undefined symbol "GetPlayerFPS"

Complete line:

pawn Код:
new Text:FPS[MAX_PLAYERS];
public OnPlayerUpdate(playerid)
{
    new string[20]
    format(string, sizeof(string), "Your FPS: %d", GetPlayerFPS(playerid));
    TextDrawSetString(FPS[playerid], string);
    return 1;
}
Thanks.
Reply
#2

Please, firstly do not use OPU for things like that, why do you need your FPS to be so accurate and updated 30 times a second?
Reply
#3

Quote:
Originally Posted by Retardedwolf
Посмотреть сообщение
Please, firstly do not use OPU for things like that, why do you need your FPS to be so accurate and updated 30 times a second?
Because i like the perfect things.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)