12.05.2011, 07:20
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:
Thanks.
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;
}