13.08.2015, 17:57
I think I found the error, what did I do wrong? used the paulor the tutorial samp forum, the more I wanted to put the FomePlayer function, for her that will define where this is going to progress bar, more is very advanced, it is not impossible, more'm studying, someone can tell me how can I do? type, one log out of the server and saved in the player's account to FomePlayer definition, and when he relog back where it was hunger Player, progress bar, please help me? ![Sad](images/smilies/sad.gif)
![Sad](images/smilies/sad.gif)
PHP код:
// Here's decrease hunger player, most do not know where to put FomePlayer function, eg, FomePlayer is set at 50 percent, ie half the progress bar up?
static Float: Progress;
TextDrawTextSize(FomeBarra[1], (39.0 + ((102.0 * ++Progress) / 100)), 0.0);
TextDrawShowForPlayer(playerid, FomeBarra[1]);
// Below is a code, it must only show for the player to progress bar, it should be difinido with FomePlayer
TextDrawTextSize(FomeBarra[1], /*I do not know what I do here*/, 0.0);
TextDrawShowForPlayer(playerid, FomeBarra[1]);