08.01.2016, 07:19
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.
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; } |