PaulCastellano

pinki2

Feb 11th, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. CMD:energy(playerid, params[])
  2. {
  3. if(PlayerInfo[ playerid ][ xEnergy ] < 1) return GRESKA( playerid, "Nemate kod sebe Energy.");
  4. PlayerInfo[ playerid ][ xEnergy ] -= 1;
  5. Pinki_SetPlayerHealth( playerid, 100 );
  6. SendInfoMessage( playerid, "Iskoristili ste jedan energy i dobili ste full hp!");
  7. SavePlayer( playerid );
  8. return 1;
  9. }
Add Comment
Please, Sign In to add comment