SA-MP Forums Archive
I can't fix this impossible thing[HELP] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I can't fix this impossible thing[HELP] (/showthread.php?tid=229191)



I can't fix this impossible thing[HELP] - jejemonerz123 - 21.02.2011

I don't see the bar that I have made with Progress Bar. Here is my code

pawn Код:
#define FILTERSCRIPT

#include <a_samp>
#include <progress>


new Bar:Deh;

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    Deh = CreateProgressBar(557.00, 212.00, 55.50, 1.50, 376089275, 100.0);
    ShowProgressBarForAll(Deh);
    return 1;
}
A help will be very very generous


Re: I can't fix this impossible thing[HELP] - jejemonerz123 - 21.02.2011

i have done that but the problem still there


Re: I can't fix this impossible thing[HELP] - Markx - 21.02.2011

Try this:
pawn Код:
#define FILTERSCRIPT

#include <a_samp>
#include <progress>


new Bar:Deh;

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    Deh = CreateProgressBar(557.00, 212.00, 55.50, 1.50, 376089275, 100.0);
    return 1;
}

public OnPlayerConnect(playerid)
{
    ShowProgressBarForAll(Deh);
    return 1;
}



Re: I can't fix this impossible thing[HELP] - jejemonerz123 - 21.02.2011

Quote:
Originally Posted by Markx
Посмотреть сообщение
Try this:
pawn Код:
#define FILTERSCRIPT

#include <a_samp>
#include <progress>


new Bar:Deh;

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    Deh = CreateProgressBar(557.00, 212.00, 55.50, 1.50, 376089275, 100.0);
    return 1;
}

public OnPlayerConnect(playerid)
{
    ShowProgressBarForAll(Deh);
    return 1;
}
I have tried your code. But the bar doesn't shows up


Re: I can't fix this impossible thing[HELP] - jejemonerz123 - 21.02.2011

but how is this possible? I can't figure it out

EDIT : Anyone can show me any way of using progress bar include? I need it urgent


Re: I can't fix this impossible thing[HELP] - jejemonerz123 - 21.02.2011

i have asked it but no one is replying


Re: I can't fix this impossible thing[HELP] - jejemonerz123 - 21.02.2011

can anyone give me an example script of the progress bar include


Re: I can't fix this impossible thing[HELP] - BBAT - 21.02.2011

try this

pawn Код:
#define FILTERSCRIPT

#include <a_samp>
#include <progress>
#include <foreach>


new Bar:Deh[MAX_PLAYERS];

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    foreach(Player, i)
   {
        Deh[i] = CreateProgressBar(557.00, 212.00, 55.50, 1.50, 376089275, 100.0);
   }
   return 1;
}

public OnPlayerConnect(playerid)
{
    return 1;
}

public OnPlayerSpawn(playerid)
{
    ShowProgressBarForAll(Deh[playerid]);
    return 1;
}



Re: I can't fix this impossible thing[HELP] - jejemonerz123 - 21.02.2011

nope it does not work


Re: I can't fix this impossible thing[HELP] - BBAT - 21.02.2011

so quickly tested. Maybe you need to remove the foreach loop