Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:myhp(playerid, params[])
- {
- new Float:hp,
- string[128];
- if(sscanf(params, "f", hp))
- {
- SendClientMessage(playerid, 0x00FF00FF, "Poprawnie uzycie: /myhp [ID gracza.]");
- return 1;
- }
- SetPlayerHealth(playerid, hp), GetPlayerHealth(playerid, hp);
- format(string, sizeof(string), "Twoj aktualny poziom HP: %f", hp);
- SendClientMessage(playerid, 0xFDAE33FF, string);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment