06.07.2013, 18:05
well my problem is not this. I do lot but nothing happen
my actual problem is the text draw doesn't show. But my code is correct, no errors and no crashes but it doesn't
Is there any additional include for for this text draw or Whats the problem any one help me please
here is my code and you can check that
CMD:health(playerid, params[])
{
new Float: Health, Text:Textdraw, string[128];
GetPlayerHealth(playerid, Health);
format(string, sizeof(string), "Health: %d", floatround(Health));
Textdraw = TextDrawCreate(473, 382, string);
TextDrawShowForPlayer(playerid, Textdraw);
return 1;
}
my actual problem is the text draw doesn't show. But my code is correct, no errors and no crashes but it doesn't
Is there any additional include for for this text draw or Whats the problem any one help me please
here is my code and you can check that
CMD:health(playerid, params[])
{
new Float: Health, Text:Textdraw, string[128];
GetPlayerHealth(playerid, Health);
format(string, sizeof(string), "Health: %d", floatround(Health));
Textdraw = TextDrawCreate(473, 382, string);
TextDrawShowForPlayer(playerid, Textdraw);
return 1;
}