25.11.2014, 15:55
for example like :
pawn Код:
stock Health(playerid)
{
new Float:Health;
GetPlayerHealth(playerid, Health);
return Health;
}
CMD:health(playerid, params[])
{
new String[64];
format(String, sizeof(String), "Health : %f", Health(playerid));
SendClientMessage(playerid, 0xFF0000FF, String);
return 1;
}