14.12.2014, 10:28
How do I get players blood?I have enum for it,like when you type /blood it tells you your blood...
new Float:Health,string[128];
GetPlayerHealth(playerid, Health);
format(string,sizeof(string),"your health is %0.1f",Health);
SendClientMessage(playerid,-1,string);
DayZ_Debug2[playerid] = CreatePlayerTextDraw(playerid, 561.875000, 4.083327, "DEBUG MONITOR:"); PlayerTextDrawLetterSize(playerid, DayZ_Debug2[playerid], 0.289375, 1.220833); PlayerTextDrawAlignment(playerid, DayZ_Debug2[playerid], 2); PlayerTextDrawColor(playerid, DayZ_Debug2[playerid], -1); PlayerTextDrawSetShadow(playerid, DayZ_Debug2[playerid], 0); PlayerTextDrawSetOutline(playerid, DayZ_Debug2[playerid], 1); PlayerTextDrawBackgroundColor(playerid, DayZ_Debug2[playerid], 255); PlayerTextDrawFont(playerid, DayZ_Debug2[playerid], 2); PlayerTextDrawSetProportional(playerid, DayZ_Debug2[playerid], 1); DayZ_Debug3[playerid] = CreatePlayerTextDraw(playerid, 560.625000, 20.416646, "Murders: 0~n~Bandits Killed: 0~n~Blood: 12000~n~Players (Connected/Total): 0/0~n~Temperature: 38~n~Alive time:~n~Weapon: 0~n~Name:"); PlayerTextDrawLetterSize(playerid, DayZ_Debug3[playerid], 0.178749, 1.314166); PlayerTextDrawAlignment(playerid, DayZ_Debug3[playerid], 2); PlayerTextDrawColor(playerid, DayZ_Debug3[playerid], -1); PlayerTextDrawSetShadow(playerid, DayZ_Debug3[playerid], 0); PlayerTextDrawSetOutline(playerid, DayZ_Debug3[playerid], 1); PlayerTextDrawBackgroundColor(playerid, DayZ_Debug3[playerid], 255); PlayerTextDrawFont(playerid, DayZ_Debug3[playerid], 2); PlayerTextDrawSetProportional(playerid, DayZ_Debug3[playerid], 1);