need example
#1

i download progress bar creater and i create progress bar and i found this code by export my project
but i dont know how to run this bar when player connect to the server plz tell me how to use this.

Quote:

#include <a_samp>
#include <progress2>

new PlayerBar:Bar0[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
Bar0[playerid] = CreatePlayerProgressBar(playerid, 18.000000, 323.000000, 133.000000, 3.200000, -1429936641, 100.0000, 0);

return 1;
}

public OnPlayerSpawn(playerid)
{
ShowPlayerProgressBar(playerid, Bar0[playerid]);

return 1;
}

Reply


Messages In This Thread
need example - by LovelySoomro - 08.01.2016, 07:19
Re: need example - by Rufio - 08.01.2016, 08:29
Re: need example - by LovelySoomro - 08.01.2016, 08:51
Re: need example - by Rufio - 08.01.2016, 08:52
Re: need example - by LovelySoomro - 08.01.2016, 09:04
Re: need example - by jlalt - 08.01.2016, 09:05
Re: need example - by LovelySoomro - 08.01.2016, 09:07

Forum Jump:


Users browsing this thread: 1 Guest(s)