SHARE
TWEET

FuckeR_FusioN Sistema de descançar [HOMEHOTS.NET]

a guest Sep 16th, 2011 414 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*SSSSSSSSS PPPPPPPPP RRRRRRRRR UUU      UUU NNNN     NN TTTTTTTTTTT
  2.   SSS    SS PP     PP RR     RR UUU      UUU NNNNNN   NN TTTTTTTTTTT
  3.   SSS       PP     PP RR     RR UUU      UUU NNN NNN  NN     TTT
  4.   SSSSSSSSS PPPPPPPPP RRRRRRRRR UUU      UUU NNN  NNN NN     TTT
  5.          SS PP        RRRRR     UUU      UUU NNN   NNNNN     TTT
  6.   SS     SS PP        RR  RRR   UUUUUUUUUUUU NNN    NNNN     TTT
  7.   SSSSSSSSS PP        RR    RRR UUUUUUUUUUUU NNN     NNN     TTT
  8.  
  9.   HHH  HHH  TTTTTTTTTTT   SSSSSSSSS
  10.   HHH  HHH  TTTTTTTTTTT   SSS    SS
  11.   HHH  HHH      TTT       SSS
  12.   HHHHHHHH      TTT       SSSSSSSSS
  13.   HHH  HHH      TTT              SS
  14.   HHH  HHH      TTT       SS     SS
  15.   HHH  HHH      TTT       SSSSSSSSS*/
  16.  
  17. //FUCKER FUSION
  18. //MSN: sou.fuccker@hotmail.com
  19. //CONTATO: 93869016
  20. //==========================================================
  21. new Descancando[MAX_PLAYERS];
  22.  
  23. forward EncherVida(playerid);
  24. forward FuckerFusioN(playerid);
  25.  
  26. //=========================================================
  27.  
  28. if(strcmp(cmd, "/descançar", true) == 0 || strcmp(cmd, "/descancar", true) == 0)
  29.    {
  30.    if(Descancando[playerid] == 1)
  31.                 {
  32.                   SendClientMessage(playerid, COLOR_GRAD5, "Você ja está descansando!");
  33.                 return 1;
  34.                 }
  35.    SendClientMessage(playerid,0xFFFF00FF,"Fique 1 Minuto descançando e irá recuperar sua vida!");
  36.    ApplyAnimation(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0);// faz o player deitar
  37.    Descancando[playerid] = 1;
  38.      SetTimer("FuckerFusioN",60000,false);
  39.  
  40.    return 1;
  41.    }
  42.  
  43. //========================================================================
  44.  
  45. public FuckerFusioN(playerid)
  46. {
  47. SetPlayerHealth(playerid, 100);
  48. new Float:slx, Float:sly, Float:slz;// faz com que o player se levante apos descançar
  49. GetPlayerPos(playerid, slx, sly, slz);// ' '
  50. SetPlayerPos(playerid, slx, sly, slz+0);// ' '
  51. SendClientMessage(playerid,0xFFFF00FF,"Você descançou bastante , e está recuperado!");
  52. SetTimerEx("EncherVida", 60*1000, 0, "i", playerid);
  53. Descancando[playerid] = 0;
  54. return 1;
  55. }
  56. public EncherVida(playerid)
  57. {
  58. SetTimerEx("EncherVida", 60*1000, 0, "i", playerid);
  59. return 1;
  60. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top