Jump to content

Denis1337

Membru
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Denis1337

  1. Salut nu imi mai detecteaza player ul care intra in masina. Ideei?

    Quote

    :NONAME_242
    wait 0 
    if 
      31@ == 1 
    jf @NONAME_866 
    if 
       Actor.Driving($PLAYER_ACTOR)
    jf @NONAME_866 
    2@ = Actor.CurrentCar($PLAYER_ACTOR)
    046C: 20@ = car 2@ driver 
    if 
    003B:   $PLAYER_ACTOR == 20@ // (int) 
    jf @NONAME_866 
    0@ = 0 

    :NONAME_322
    if 
       SAMP.IsPlayerConnected(0@)
    jf @NONAME_844 
    if 
    1@ = SAMP.GetActorHandleByPlayerID(0@)
    jf @NONAME_844 
    8@ = SAMP.GetPlayerHealthByActorHandle(0@)
    if 
       not 8@ > 96 
    jf @NONAME_844 
    3@ = Actor.CurrentCar(1@)
    if 
    003B:   2@ == 3@ // (int) 
    jf @NONAME_844 
    16@ = SAMP.GetPlayerColor(0@)
    17@ = SAMP.GetPlayerNickname(0@)
    if 
      16@ == -40121 
    jf @NONAME_635 
    wait 1000 
    say "/heal %d" 0@ 
    wait 2000 
    chatmsg "{FFFF00}Autoheal: I-am oferit [/heal] lui( ei) %s pentru suma de {00FF00}$1{FFFF00}." -1 17@ 
    say "/cw Ai primit [/heal]. Iti urez un joc cat mai placut!" 
    jump @NONAME_844 

    :NONAME_635
    wait 1000 
    say "/heal %d" 0@ 
    wait 2000 
    chatmsg "{FFFF00}Autoheal: I-am oferit [/heal] lui( ei) %s pentru suma de {00FF00}$1000{FFFF00}." -1 17@ 
    say "/cw Multumesc frumos pentru ajutorul oferit. Iti urez un joc cat mai placut!" 

    :NONAME_844
    0@ += 1 
      0@ > 999 
    jf @NONAME_322 

    :NONAME_866
    jump @NONAME_242 

    :NONAME_873
    0B12: 31@ = 31@ XOR 1 
    if 
      31@ == 1 
    jf @NONAME_952 
    chatmsg "{00FF00}Autoheal este activat!" -1 
    15@ = 1 
    jump @NONAME_992 

    :NONAME_952
    chatmsg "{E70909}Autoheal este dezactivat!" -1 

    :NONAME_992
    SAMP.CmdRet

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.