Jump to content
  • 0

Auto heal pentru paramedic


Denis1337

Question

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

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.