Jump to content

Nelamurire mod cleo


Andrew C
 Share

Recommended Posts

Nickname pe forum: Andrew C

Problema/nelămurirea întămpinată: Am incercat sa-l fac sa dea heal pe $1 unui coleg pe baza culorii numelui dar nu merge cand un coleg intra ii da tot pe 50

De când  a apărut această problemă: De la primul test

Dovezi, poze, video: :unknown_6969
WHILE TRUE
WAIT 0
      IF 31@ == 1
      THEN
            IF
            Actor.Driving($PLAYER_ACTOR)
            then
            2@ = Actor.CurrentCar($PLAYER_ACTOR)
            046C: 20@ = car 2@ driver
            IF
            003B:   $PLAYER_ACTOR == 20@
            THEN
            FOR 0@ = 0 to 999
                  IF SAMP.IsPlayerConnected(0@)
                  THEN
                        IF 1@ = SAMP.GetActorHandleByPlayerID(0@)
                        THEN
                        0B25: samp 8@ = get_player_health 0@
                        IF
                        8@  <= 96
                        THEN
                        03C0: 3@ = actor 1@ car
                        IF
                        003B:   2@ == 3@
                        THEN
                        16@ = SAMP.GetPlayerColor(0@)
                        0B36: samp 17@ = get_player_nickname 0@
                                                       
                           if 16@ == 0xFFFF6347
                            then
                            wait 1000
                            0AF9: samp say_msg "/heal %d 1" 0@
                            wait 500
                            chatmsg "{FF8000}AH | I-am dat heal lui %s pe 1$." -1 17@
                        
                            
                        
                              
                            else
                            wait 1000
                            0AF9: samp say_msg "/heal %d 50" 0@
                            wait 500
                            chatmsg "{FF8000}AH | I-am dat heal lui %s pe 50$." -1 17@
                           

Alte precizări: As dori sa-mi spuneti daca e ceva gresit de mine sau motivul de de nu-mi functioneaza cum vreau

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

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