Quote:
Originally Posted by RipLagger
have you add this?
pawn Код:
public OnPlayerSpawn(playerid) { new file[256],n[MAX_PLAYER_NAME]; GetPlayerName(playerid,n,MAX_PLAYER_NAME); format(file,sizeof(file),"Stats/%s.txt",n); if(!dini_Exists(file)) { dini_Create(file); dini_IntSet(file,"Hunger",100); } hungry[playerid] = CreateProgressBar(528.00, 115.00, 76.50, 8.50, 0x0000BBAA, 100.0); ShowProgressBarForPlayer(playerid, hungry[playerid]); TextDrawShowForPlayer(playerid, Hungry); SetProgressBarValue(hungry[playerid], dini_Int(file,"Hunger")); return 1; }
|
i use it as a filterscript, the lines you gave me are already in the fs. but still its not showing, and i tried to add it in my GM but i got some errors when compiling it.