Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. CMD:sethealth(playerid, params[])
  2. {
  3. new plid, healt;
  4. if(sscanf(params, "dd", plid, healt))
  5. {
  6. SCM(playerid, -1, "/sethealth [ID][ХП]");
  7. }
  8.  
  9. if(!IsPlayerConnected(plid))
  10. {
  11. SCM(playerid, -1, "Данный игрок OFFLINE!");
  12. return 1;
  13. }
  14. SetPlayerHealth(plid, healt);
  15. return 1;
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement