[FilterScript] My First FS :Hungry System (with Progress Bar) nice for RP
#17

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.
Reply


Messages In This Thread
My First FS :Hungry System (with Progress Bar) nice for RP Update V2.0 - by RipLagger - 19.06.2012, 15:34
Re : My First FS :Hungry System (with Progress Bar) nice for RP - by Smail_Smith - 19.06.2012, 15:35
Re: Re : My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 19.06.2012, 15:37
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by christiand - 19.06.2012, 18:37
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by sherlock - 19.06.2012, 19:17
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by Cena44 - 20.06.2012, 07:03
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 20.06.2012, 07:08
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by christiand - 20.06.2012, 07:22
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 20.06.2012, 07:31
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by Faisal_khan - 20.06.2012, 07:32
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 20.06.2012, 07:43
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by burnuk - 20.06.2012, 19:16
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 21.06.2012, 04:37
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by pasha97 - 21.06.2012, 06:49
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by Dr4mX123 - 21.06.2012, 07:30
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 21.06.2012, 08:54
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by burnuk - 21.06.2012, 16:53
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 21.06.2012, 18:47
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by Aldy_Putra - 22.06.2012, 11:30
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by Niko_boy - 22.06.2012, 11:45
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by Don_Gambino - 22.06.2012, 13:03
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 23.06.2012, 01:10
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by Lordzy - 23.06.2012, 01:41
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 23.06.2012, 01:44
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by iWind - 26.06.2012, 18:30
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 28.06.2012, 16:22
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by FaldiGunZ - 08.07.2012, 00:56
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 08.07.2012, 04:43
Respuesta: My First FS :Hungry System (with Progress Bar) nice for RP - by Gamer_007 - 08.07.2012, 06:37
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by rami.chaar2 - 17.07.2012, 22:36
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by [WA]iRonan - 30.11.2012, 11:14
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by Ballu Miaa - 30.11.2012, 11:47
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by RipLagger - 25.12.2012, 12:01
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by Kiyozi_Mu - 26.12.2012, 06:29
Re: My First FS :Hungry System (with Progress Bar) nice for RP - by Unirom Shaw - 26.12.2012, 07:10

Forum Jump:


Users browsing this thread: 5 Guest(s)