Textdraws
#5

pawn Код:
if(!strcmp(cmdtext, "/health"))
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                new Float:hp, string[256];
                GetPlayerHealth(playerid, hp);

                format(string, sizeof(string), "Health: %d", floatround(hp));
                SendClientMessage(i, -1,string);
              //  PlayerTextDrawSetString(playerid, Textdraw1[playerid], string);
              //  PlayerTextDrawShow(playerid, Textdraw1[playerid]);
            }
        }
        return 1;
    }
Reply


Messages In This Thread
Textdraws - by BigGroter - 05.08.2013, 13:05
Re: Textdraws - by ScRipTeRi - 05.08.2013, 13:06
Re: Textdraws - by BigGroter - 05.08.2013, 13:09
Re: Textdraws - by ScRipTeRi - 05.08.2013, 13:11
Re: Textdraws - by morocco - 05.08.2013, 13:25
Re: Textdraws - by BigGroter - 05.08.2013, 13:39

Forum Jump:


Users browsing this thread: 3 Guest(s)