26.03.2011, 19:58
Hello,I need that when player is playing,in right side down player will see his kill points.
So here is my text draw:
But when I playing in server it not shows.Any help ?
So here is my text draw:
Код:
new killpoints[MAX_PLAYERS];
new Text:Points;
forward PointsCheck(playerid);
// OnGameMode init
Points = TextDrawCreate(410.000000, 430.000000," ");
TextDrawBackgroundColor(Points, 255);
TextDrawFont(Points, 1);
TextDrawLetterSize(Points, 0.619999, 1.800000);
TextDrawSetOutline(Points, 1);
TextDrawColor(Points,COLOR_BLUE);
TextDrawSetProportional(Points, 1);
SetTimer("PointsCheck",1000,1);
// On player spawn
killpoints[playerid]=0;
// Points check(playerid)
new string[32];
format(string,sizeof(string),"%d",killpoints[playerid]);
TextDrawSetString(Points,string);

