28.09.2013, 19:25
Hello samp cummunity,
I need help with showing the stats of the player on screen with a textdraw, i was wondering if u guys could start me off with the "kills" stats and then i can work it off my self from off that.
heres all my code:
thanks!
I need help with showing the stats of the player on screen with a textdraw, i was wondering if u guys could start me off with the "kills" stats and then i can work it off my self from off that.
heres all my code:
pawn Код:
#include <YSI\y_ini>
enum PlayerInfo
{
Kills
}
new pInfo[MAX_PLAYERS][PlayerInfo];
new Text:Textdraw14; //the kills textdraw
//and the textdraw its self:
Textdraw14 = TextDrawCreate(501.714233, 102.400001, "Kills:");
TextDrawLetterSize(Textdraw14, 0.362760, 1.382398);
TextDrawAlignment(Textdraw14, 1);
TextDrawColor(Textdraw14, -1);
TextDrawSetShadow(Textdraw14, 0);
TextDrawSetOutline(Textdraw14, 1);
TextDrawBackgroundColor(Textdraw14, 51);
TextDrawFont(Textdraw14, 1);
TextDrawSetProportional(Textdraw14, 1);