CLEO Help sanny builder code not working

CLEO related

Lordul202021

Member
Joined
Jan 31, 2020
Messages
8
Reaction score
1
Location
Ukraine
Hi, I have a cleo cmd and today I did a dialog but when I log in the game, it doesn't work, it works if i put it in a sepparately file, it also works if i put the code at the beggining of my cmd but the rest of the cmd dont work anymore.


my dialog:
Code:
REPEAT
   WAIT 0
UNTIL 0AFA:  SAMP_IS_READY

0B34: samp register_client_command "civilcmd" to_label @lh242_4_1y

WHILE TRUE
   WAIT 0
  
  
IF
31@ == TRUE
THEN 
   0AC6: 30@ = label @Menu offset 
   0B3B: samp show_dialog id 1000 caption "{b3ffff}CivilCMD 2.0 {d1e0e0}by {8000ff}HawkPisoiul" text 30@ button_1 "Select" button_2 "Cancel" style 2 
   31@ = FALSE
END

IF 0B3C: samp is_dialog_responded id 1000 button 29@ list_item 28@ input_text 0
THEN
    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 1
        THEN
            0AC6: 25@ = label @ComenziUtile1 offset 
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #1" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END

    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 2
        THEN
            0AC6: 25@ = label @ComenziUtile2 offset 
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #2" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END

    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 3
        THEN
            0AC6: 25@ = label @Binduriamuzante offset 
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Bind-uri amuzante" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END
    
    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 4
        THEN
            0AC6: 25@ = label @About offset
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Despre" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END


END /// END 0B3C: samp is_dialog_responded id 1000 button 17@ list_item 18@ input_text 0



END /// END 0B3C: samp is_dialog_responded id 1200 button 17@ list_item 18@ input_text 0
  


:Menu
hex
"{ffff00}------------------------------------------------------------------------------------" A
"{FFFFFF}Comenzi utile #1;" A
"{FFFFFF}Comenzi utile #2;" A
"{FFFFFF}Bind-uri amuzante;" A
"{ffff00}------------------------------------------------------------------------------------" A
00                         
end

:ComenziUtile1
hex
"{FFFFFF}CJ Home" A
"{FFFFFF}BadBoy Home" A
"{FFFFFF}BigNick Home" A
"{FFFFFF}BabyBoy Home" A
"{FFFFFF}SantaClous Home" A
"{FFFFFF}BestFriend Home" A
"{FFFFFF}Administrator Home" A
00                         
end

:ComenziUtile2
hex
"{cc66ff} CJ HOME" A
"{FFFFFF} fesgeg" A
00
end

:About
hex
"{FFFFFF} about" A
00
end

:BinduriAmuzante
hex
"{FFFFFF} binds" A
00
end                                                                                                     



:lh242_4_1y
0B12: 31@ = 31@ XOR TRUE
0B43:


my cmd:
Code:
{$CLEO}
0000:



0662: "CivilCMD by HawkPisoiul 2.0"
thread "Pentru Ruby Nephrite"
wait 2500
//========================================================================
0B34: samp register_client_command "np" to_label @lh242_0_1
0B34: samp register_client_command "sofer" to_label @lh242_0_2
0B34: samp register_client_command "ej" to_label @lh242_0_3
0B34: samp register_client_command "fdh" to_label @lh242_0_5
0B34: samp register_client_command "fdb" to_label @lh242_0_6
0B34: samp register_client_command "acctr" to_label @lh242_0_7

0B34: samp register_client_command "sts" to_label @lh242_1_1
0B34: samp register_client_command "toff" to_label @lh242_1_2
0B34: samp register_client_command "ton" to_label @lh242_1_3
0B34: samp register_client_command "wk" to_label @lh242_1_4
0B34: samp register_client_command "tk" to_label @lh242_1_11
0B34: samp register_client_command "qs" to_label @lh242_1_12
0B34: samp register_client_command "ajutn1" to_label @lh242_1_13
0B34: samp register_client_command "ajutn2" to_label @lh242_1_14
0B34: samp register_client_command "ajutn3" to_label @lh242_1_15
0B34: samp register_client_command "ajutn4" to_label @lh242_1_16
0B34: samp register_client_command "ajutn5" to_label @lh242_1_17
0B34: samp register_client_command "ajutn6" to_label @lh242_1_18
0B34: samp register_client_command "ajutn7" to_label @lh242_1_19
0B34: samp register_client_command "ajutn8" to_label @lh242_1_20
0B34: samp register_client_command "ajutn9" to_label @lh242_1_21
0B34: samp register_client_command "ajutn10" to_label @lh242_1_22
0B34: samp register_client_command "ajutn11" to_label @lh242_1_23
0B34: samp register_client_command "ajutn12" to_label @lh242_1_24
0B34: samp register_client_command "ajutn13" to_label @lh242_1_25
0B34: samp register_client_command "adkmc" to_label @lh242_1_27
0B34: samp register_client_command "adkmf" to_label @lh242_1_28
0B34: samp register_client_command "stmr" to_label @lh242_1_29
0B34: samp register_client_command "post" to_label @lh242_1_30
0B34: samp register_client_command "sarac" to_label @lh242_1_31
0B34: samp register_client_command "valoare" to_label @lh242_1_32
0B34: samp register_client_command "boule" to_label @lh242_1_33
0B34: samp register_client_command "garaj" to_label @lh242_1_34
0B34: samp register_client_command "paintg" to_label @lh242_1_35
0B34: samp register_client_command "3/3" to_label @lh242_1_36
0B34: samp register_client_command "112" to_label @lh242_1_37
0B34: samp register_client_command "curcan" to_label @lh242_1_38
0B34: samp register_client_command "sk" to_label @lh242_1_39
0B34: samp register_client_command "rr" to_label @lh242_1_40
0B34: samp register_client_command "g" to_label @lh242_1_42
0B34: samp register_client_command "sc" to_label @lh242_1_43
0B34: samp register_client_command "fajob" to_label @lh242_1_44
0B34: samp register_client_command "spcol" to_label @lh242_1_46
0B34: samp register_client_command "kp" to_label @lh242_1_47
0B34: samp register_client_command "fj" to_label @lh242_1_48
0B34: samp register_client_command "laba" to_label @lh242_1_49 
0B34: samp register_client_command "prezentare" to_label @lh242_1_50
0B34: samp register_client_command "rt" to_label @lh242_1_51
0B34: samp register_client_command "gm" to_label @lh242_1_52
0B34: samp register_client_command "cb" to_label @lh242_1_53
0B34: samp register_client_command "bankrupt" to_label @lh242_1_54
0B34: samp register_client_command "pazea" to_label @lh242_1_55
0B34: samp register_client_command "bani" to_label @lh242_1_56
0B34: samp register_client_command "gaming" to_label @lh242_1_57
0B34: samp register_client_command "sa" to_label @lh242_1_58
0B34: samp register_client_command "bfs" to_label @lh242_1_59
0B34: samp register_client_command "fnds" to_label @lh242_1_60
0B34: samp register_client_command "pkl" to_label @lh242_1_61
0B34: samp register_client_command "hmenu" to_label @lh242_1_62
0B34: samp register_client_command "tw" to_label @lh242_1_63
0B34: samp register_client_command "svt" to_label @lh242_1_64
0B34: samp register_client_command "svm" to_label @lh242_1_65
0B34: samp register_client_command "reqlic" to_label @lh242_1_66
0B34: samp register_client_command "urv" to_label @lh242_1_67
0B34: samp register_client_command "rv" to_label @lh242_1_68
0B34: samp register_client_command "pg10" to_label @lh242_1_69
0B34: samp register_client_command "pg20" to_label @lh242_1_70

0B34: samp register_client_command "cjob" to_label @lh242_cjob
0B34: samp register_client_command "gaz" to_label @lh242_gaz

0B34: samp register_client_command "cchat" to_label @lh242_2_1


//========================================================================



// ce cauti golane la furat

0AB1: call_scm_func @chatmsg 0

//========================================================================

repeat
wait 0
until 0AFA:

0B34: samp register_client_command "cjob" to_label @lh242_cjob
0B34: samp register_client_command "gaz" to_label @lh242_gaz
0B34: samp register_client_command "togall" to_label @lh242_tog
0B34: samp register_client_command "togcom" to_label @lh242_togcom

while true
wait 0

if 31@ == true
then
    31@ = false
    0AF9: samp say_msg "/quitjob"
    wait 400
    0AF9: samp say_msg "/getjob"
end

if 30@ == true
then
    30@ = false
    0AF9: samp say_msg "/fill"
    wait 600
    0AF9: samp say_msg "/fillgascan"
end

if 29@ == true
then
    29@ = false
    0AF9: samp say_msg "/togc"
    wait 600
    0AF9: samp say_msg "/togwt"
    wait 600
    0AF9: samp say_msg "/togbid"
    wait 600
    0AF9: samp say_msg "/togpremium"
    wait 600
    0AF9: samp say_msg "/togvip"
    wait 600
    0AF9: samp say_msg "/togn"
    wait 600
    0AF9: samp say_msg "/tognews"
    wait 600
    0AF9: samp say_msg "/togw"
    wait 600
    0AF9: samp say_msg "/togsurf"
    wait 600
    0AF9: samp say_msg "/togreward"
end

if 28@ == true
then
    28@ = false
    0AF9: samp say_msg "/togc"
    wait 600
    0AF9: samp say_msg "/togwt"
    wait 600
    0AF9: samp say_msg "/togpremium"
    wait 600
    0AF9: samp say_msg "/togvip"
    wait 600
    0AF9: samp say_msg "/togw"
    wait 600
    0AF9: samp say_msg "/tog bid"
end

end

:lh242_cjob
31@ = true
SAMP.CmdRet()

:lh242_gaz
30@ = true
SAMP.CmdRet()

:lh242_tog
29@ = true
SAMP.CmdRet()

:lh242_togcom
28@ = true
SAMP.CmdRet()

//===========================================================



:lh242_3_1
wait 0
if and
0AB0:   key_pressed 17 // key ctrl
0AB0:   key_pressed 90 // key z
0AFA:   is_samp_structures_available
else_jump @lh242_3_1
0AF9: samp say_msg "/stopanim"
wait 1000
jump @lh242_3_1


:lh242_3_2
wait 0
if and
0AB0:   key_pressed 109 // numpad -
0AFA:   is_samp_structures_available
else_jump @lh242_3_1
0AF9: samp say_msg "/fish"
wait 1000
jump @lh242_3_2


//




//

:lh242_5_1
wait 0
jump @lh242_5_1

:lh242_0_1
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/number %s" 1@

else
    print "~y~/np <id>" 2000
end
SAMP.CmdRet()

:lh242_0_2
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "%s esti mai nab decat pari ca sa fiu sincer" 1@

else
    print "~y~/sofer <id>" 2000
end
SAMP.CmdRet()

:lh242_0_3
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/eject %s" 1@
    
else
    print "~y~/ej <id>" 2000
end
SAMP.CmdRet()


:lh242_0_5
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/findhouse %s" 1@
    
else
    print "~y~/fdh <id>" 2000
end
SAMP.CmdRet()


:lh242_0_6
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/findbiz %s" 1@
    
else
    print "~y~/fdb <id>" 2000
end
SAMP.CmdRet()

:lh242_0_7
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/accepttrade %s" 1@
    
else
    print "~y~/acctr %s" 1@
end
SAMP.CmdRet()





//========================================================================

:lh242_2_1
SAMP.IsCommandTyped(20@)
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
SAMP.CmdRet()

//========================================================================

:lh242_1_1
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/stats"
SAMP.CmdRet()

:lh242_1_2
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/turn off"
SAMP.CmdRet()

:lh242_1_3
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/turn on"
SAMP.CmdRet()

:lh242_1_4
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/work"
SAMP.CmdRet()

:lh242_1_11
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/tasks"
SAMP.CmdRet()

:lh242_1_12
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/quests"
SAMP.CmdRet()

:lh242_1_13 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n Cum pun casca?"
SAMP.CmdRet()

:lh242_1_14 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n Info infernus"   
SAMP.CmdRet()

:lh242_1_15 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n ce face craftskins?"
SAMP.CmdRet()

:lh242_1_16 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n exista skinuri gold?"
SAMP.CmdRet()

:lh242_1_17 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n ce job imi recomanzi?"
SAMP.CmdRet() 

:lh242_1_18 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n la bus driver primesti bani?"
SAMP.CmdRet()

:lh242_1_19 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cat costa banshee?"
SAMP.CmdRet()

:lh242_1_20 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cat tine battlepass??"
SAMP.CmdRet()

:lh242_1_21 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cine este ownerul serverului?"
SAMP.CmdRet()

:lh242_1_22
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n de la ce level pot lua masina?"
SAMP.CmdRet()

:lh242_1_23 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n se fac eventuri pe server?"
SAMP.CmdRet()

:lh242_1_24 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n este giftbox activ?"
SAMP.CmdRet()

:lh242_1_25 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n de la ce level pot aplica in para?"
SAMP.CmdRet()



:lh242_1_27
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/ad Fac kilometri contracost."
SAMP.CmdRet()

:lh242_1_28
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/ad Fac kilometri gratis."
SAMP.CmdRet()

:lh242_1_29
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/startmission"
SAMP.CmdRet()

:lh242_1_30
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Ne vedem pe panou, succes!"
SAMP.CmdRet()

:lh242_1_31
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Te simt bogat, imi imprumuti si mie niste bani?"
SAMP.CmdRet()

:lh242_1_32
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Vrei sa-ti imprumut o janta de Infernus?"
SAMP.CmdRet()

:lh242_1_33
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Da-te mai asa ca vin peste tine in casa."
SAMP.CmdRet()

:lh242_1_34
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Sa-mi bag masina in garajul tau!"
SAMP.CmdRet()

:lh242_1_35
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Dau la paint mai grav decat in gagicamea."
SAMP.CmdRet()

:lh242_1_36
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Samp-ul nu e singurul loc unde dau 3/3, ca idee."
SAMP.CmdRet()

:lh242_1_37
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/call 112"
SAMP.CmdRet()

:lh242_1_38
SAMP.IsCommandTyped(20@)
    0AF9: samp say_Msg "Da ciam facut sefu?"
SAMP.CmdRet()

:lh242_1_39
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/skills"
SAMP.CmdRet()

:lh242_1_40
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/rentroom"
SAMP.CmdRet()


:lh242_1_42
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Se activeaza gps-ul..."
    wait 500
    0AF9: samp say_msg "/gps"
SAMP.CmdRet()

:lh242_1_43
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/spawnchange"
SAMP.CmdRet()

:lh242_1_44
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Te simti sarac? Job-ul e solutia!"
SAMP.CmdRet()

:lh242_1_45
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/carplate"
SAMP.CmdRet()

:lh242_1_46
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/swapcolors"
SAMP.CmdRet()

:lh242_1_47
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/killcp"
SAMP.CmdRet()

:lh242_1_48
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/fish"
SAMP.CmdRet()

:lh242_1_49
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Se deschide prohabul..."
    0AF9: samp say_msg "/wank"
SAMP.CmdRet()

:lh242_1_50
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Buna! Imi pare bine sa te cunosc!"
SAMP.CmdRet()

:lh242_1_51
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/report"
SAMP.CmdRet()

:lh242_1_52
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/getmats"
SAMP.CmdRet()

:lh242_1_53
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/craftbomb"
SAMP.CmdRet()

:lh242_1_54
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Wow, wow ai grija, poti sa devii bankrupt."
SAMP.CmdRet()

:lh242_1_55
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Pazea! A intrat un nab pe server!"
SAMP.CmdRet()

:lh242_1_56
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Am bani multi rau de tot"
    wait 600
    0AF9: samp say_msg "Ca idee."
SAMP.CmdRet()


:lh242_1_57
SAMP.IsCommandTyped(20@)
    0AF9: samp say_Msg "S-a produs gaming."
SAMP.CmdRet()

:lh242_1_58
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/stopanim"
SAMP.CmdRet()

:lh242_1_59
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/buyfightstyle"
SAMP.CmdRet()

:lh242_1_60
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/friends"
SAMP.CmdRet()

:lh242_1_61
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/picklock"
SAMP.CmdRet()

:lh242_1_62
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/housemenu"
SAMP.CmdRet()

:lh242_1_63
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/towcar"
SAMP.CmdRet()

:lh242_1_64
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/service taxi"
SAMP.CmdRet()

:lh242_1_65
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/service medic"
SAMP.CmdRet()

:lh242_1_66
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/requestlicence"
SAMP.CmdRet()

:lh242_1_67
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/unrentveh"
SAMP.CmdRet()

:lh242_1_68
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/rentveh"
SAMP.CmdRet()

:lh242_1_69
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/pagesize 10"
SAMP.CmdRet()

:lh242_1_70
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/pagesize 20"
SAMP.CmdRet()






//========================================================================




          





//========================================================================










:chatmsg
0AA2: 0@ = load_library "samp.dll" // IF and SET
0085: 1@ = 0@ // (int)
1@ += 2203876
0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1
0085: 2@ = 0@ // (int)
2@ += 409616
chatmsg "{000080}--------------------------------------------------------------------" -1
chatmsg "{e6e6fa} CivilCMD 2.0 creat de {9400d3}HawkPisoiul"
chatmsg "{e6e6fa} Creat special pentru server-ul {b22222}Ruby Nephrite{e6e6fa}."
chatmsg "{e6e6fa} Foloseste comanda {d8bfd8}[/civilcmd] {e6e6fa}pentru informatii."
chatmsg "{000080}--------------------------------------------------------------------"
0AB2: ret 0

//========================================================================


Pls tell me what i'm doing wrong, i spent like 2 hours to figure out.
 

Lordul202021

Member
Joined
Jan 31, 2020
Messages
8
Reaction score
1
Location
Ukraine
Share the code put together, not split in half, if you want anyone to figure out what may be wrong
Code:
{$CLEO}
0000:



0662: "CivilCMD by HawkPisoiul 2.0"
thread "Pentru Ruby Nephrite"
wait 2500
//========================================================================
0B34: samp register_client_command "np" to_label @lh242_0_1
0B34: samp register_client_command "sofer" to_label @lh242_0_2
0B34: samp register_client_command "ej" to_label @lh242_0_3
0B34: samp register_client_command "fdh" to_label @lh242_0_5
0B34: samp register_client_command "fdb" to_label @lh242_0_6
0B34: samp register_client_command "acctr" to_label @lh242_0_7

0B34: samp register_client_command "sts" to_label @lh242_1_1
0B34: samp register_client_command "toff" to_label @lh242_1_2
0B34: samp register_client_command "ton" to_label @lh242_1_3
0B34: samp register_client_command "wk" to_label @lh242_1_4
0B34: samp register_client_command "tk" to_label @lh242_1_11
0B34: samp register_client_command "qs" to_label @lh242_1_12
0B34: samp register_client_command "ajutn1" to_label @lh242_1_13
0B34: samp register_client_command "ajutn2" to_label @lh242_1_14
0B34: samp register_client_command "ajutn3" to_label @lh242_1_15
0B34: samp register_client_command "ajutn4" to_label @lh242_1_16
0B34: samp register_client_command "ajutn5" to_label @lh242_1_17
0B34: samp register_client_command "ajutn6" to_label @lh242_1_18
0B34: samp register_client_command "ajutn7" to_label @lh242_1_19
0B34: samp register_client_command "ajutn8" to_label @lh242_1_20
0B34: samp register_client_command "ajutn9" to_label @lh242_1_21
0B34: samp register_client_command "ajutn10" to_label @lh242_1_22
0B34: samp register_client_command "ajutn11" to_label @lh242_1_23
0B34: samp register_client_command "ajutn12" to_label @lh242_1_24
0B34: samp register_client_command "ajutn13" to_label @lh242_1_25
0B34: samp register_client_command "adkmc" to_label @lh242_1_27
0B34: samp register_client_command "adkmf" to_label @lh242_1_28
0B34: samp register_client_command "stmr" to_label @lh242_1_29
0B34: samp register_client_command "post" to_label @lh242_1_30
0B34: samp register_client_command "sarac" to_label @lh242_1_31
0B34: samp register_client_command "valoare" to_label @lh242_1_32
0B34: samp register_client_command "boule" to_label @lh242_1_33
0B34: samp register_client_command "garaj" to_label @lh242_1_34
0B34: samp register_client_command "paintg" to_label @lh242_1_35
0B34: samp register_client_command "3/3" to_label @lh242_1_36
0B34: samp register_client_command "112" to_label @lh242_1_37
0B34: samp register_client_command "curcan" to_label @lh242_1_38
0B34: samp register_client_command "sk" to_label @lh242_1_39
0B34: samp register_client_command "rr" to_label @lh242_1_40
0B34: samp register_client_command "g" to_label @lh242_1_42
0B34: samp register_client_command "sc" to_label @lh242_1_43
0B34: samp register_client_command "fajob" to_label @lh242_1_44
0B34: samp register_client_command "spcol" to_label @lh242_1_46
0B34: samp register_client_command "kp" to_label @lh242_1_47
0B34: samp register_client_command "fj" to_label @lh242_1_48
0B34: samp register_client_command "laba" to_label @lh242_1_49 
0B34: samp register_client_command "prezentare" to_label @lh242_1_50
0B34: samp register_client_command "rt" to_label @lh242_1_51
0B34: samp register_client_command "gm" to_label @lh242_1_52
0B34: samp register_client_command "cb" to_label @lh242_1_53
0B34: samp register_client_command "bankrupt" to_label @lh242_1_54
0B34: samp register_client_command "pazea" to_label @lh242_1_55
0B34: samp register_client_command "bani" to_label @lh242_1_56
0B34: samp register_client_command "gaming" to_label @lh242_1_57
0B34: samp register_client_command "sa" to_label @lh242_1_58
0B34: samp register_client_command "bfs" to_label @lh242_1_59
0B34: samp register_client_command "fnds" to_label @lh242_1_60
0B34: samp register_client_command "pkl" to_label @lh242_1_61
0B34: samp register_client_command "hmenu" to_label @lh242_1_62
0B34: samp register_client_command "tw" to_label @lh242_1_63
0B34: samp register_client_command "svt" to_label @lh242_1_64
0B34: samp register_client_command "svm" to_label @lh242_1_65
0B34: samp register_client_command "reqlic" to_label @lh242_1_66
0B34: samp register_client_command "urv" to_label @lh242_1_67
0B34: samp register_client_command "rv" to_label @lh242_1_68
0B34: samp register_client_command "pg10" to_label @lh242_1_69
0B34: samp register_client_command "pg20" to_label @lh242_1_70

0B34: samp register_client_command "cjob" to_label @lh242_cjob
0B34: samp register_client_command "gaz" to_label @lh242_gaz

0B34: samp register_client_command "cchat" to_label @lh242_2_1


//========================================================================



// ce cauti golane la furat

0AB1: call_scm_func @chatmsg 0

//========================================================================

repeat
wait 0
until 0AFA:

0B34: samp register_client_command "cjob" to_label @lh242_cjob
0B34: samp register_client_command "gaz" to_label @lh242_gaz
0B34: samp register_client_command "togall" to_label @lh242_tog
0B34: samp register_client_command "togcom" to_label @lh242_togcom

while true
wait 0

if 31@ == true
then
    31@ = false
    0AF9: samp say_msg "/quitjob"
    wait 400
    0AF9: samp say_msg "/getjob"
end

if 30@ == true
then
    30@ = false
    0AF9: samp say_msg "/fill"
    wait 600
    0AF9: samp say_msg "/fillgascan"
end

if 29@ == true
then
    29@ = false
    0AF9: samp say_msg "/togc"
    wait 600
    0AF9: samp say_msg "/togwt"
    wait 600
    0AF9: samp say_msg "/togbid"
    wait 600
    0AF9: samp say_msg "/togpremium"
    wait 600
    0AF9: samp say_msg "/togvip"
    wait 600
    0AF9: samp say_msg "/togn"
    wait 600
    0AF9: samp say_msg "/tognews"
    wait 600
    0AF9: samp say_msg "/togw"
    wait 600
    0AF9: samp say_msg "/togsurf"
    wait 600
    0AF9: samp say_msg "/togreward"
end

if 28@ == true
then
    28@ = false
    0AF9: samp say_msg "/togc"
    wait 600
    0AF9: samp say_msg "/togwt"
    wait 600
    0AF9: samp say_msg "/togpremium"
    wait 600
    0AF9: samp say_msg "/togvip"
    wait 600
    0AF9: samp say_msg "/togw"
    wait 600
    0AF9: samp say_msg "/tog bid"
end

end

:lh242_cjob
31@ = true
SAMP.CmdRet()

:lh242_gaz
30@ = true
SAMP.CmdRet()

:lh242_tog
29@ = true
SAMP.CmdRet()

:lh242_togcom
28@ = true
SAMP.CmdRet()

//===========================================================



:lh242_3_1
wait 0
if and
0AB0:   key_pressed 17 // key ctrl
0AB0:   key_pressed 90 // key z
0AFA:   is_samp_structures_available
else_jump @lh242_3_1
0AF9: samp say_msg "/stopanim"
wait 1000
jump @lh242_3_1


:lh242_3_2
wait 0
if and
0AB0:   key_pressed 109 // numpad -
0AFA:   is_samp_structures_available
else_jump @lh242_3_1
0AF9: samp say_msg "/fish"
wait 1000
jump @lh242_3_2


//




//

:lh242_5_1
wait 0
jump @lh242_5_1

:lh242_0_1
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/number %s" 1@

else
    print "~y~/np <id>" 2000
end
SAMP.CmdRet()

:lh242_0_2
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "%s esti mai nab decat pari ca sa fiu sincer" 1@

else
    print "~y~/sofer <id>" 2000
end
SAMP.CmdRet()

:lh242_0_3
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/eject %s" 1@
    
else
    print "~y~/ej <id>" 2000
end
SAMP.CmdRet()


:lh242_0_5
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/findhouse %s" 1@
    
else
    print "~y~/fdh <id>" 2000
end
SAMP.CmdRet()


:lh242_0_6
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/findbiz %s" 1@
    
else
    print "~y~/fdb <id>" 2000
end
SAMP.CmdRet()

:lh242_0_7
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/accepttrade %s" 1@
    
else
    print "~y~/acctr %s" 1@
end
SAMP.CmdRet()





//========================================================================

:lh242_2_1
SAMP.IsCommandTyped(20@)
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
SAMP.CmdRet()

//========================================================================

:lh242_1_1
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/stats"
SAMP.CmdRet()

:lh242_1_2
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/turn off"
SAMP.CmdRet()

:lh242_1_3
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/turn on"
SAMP.CmdRet()

:lh242_1_4
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/work"
SAMP.CmdRet()

:lh242_1_11
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/tasks"
SAMP.CmdRet()

:lh242_1_12
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/quests"
SAMP.CmdRet()

:lh242_1_13 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n Cum pun casca?"
SAMP.CmdRet()

:lh242_1_14 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n Info infernus"   
SAMP.CmdRet()

:lh242_1_15 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n ce face craftskins?"
SAMP.CmdRet()

:lh242_1_16 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n exista skinuri gold?"
SAMP.CmdRet()

:lh242_1_17 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n ce job imi recomanzi?"
SAMP.CmdRet() 

:lh242_1_18 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n la bus driver primesti bani?"
SAMP.CmdRet()

:lh242_1_19 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cat costa banshee?"
SAMP.CmdRet()

:lh242_1_20 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cat tine battlepass??"
SAMP.CmdRet()

:lh242_1_21 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cine este ownerul serverului?"
SAMP.CmdRet()

:lh242_1_22
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n de la ce level pot lua masina?"
SAMP.CmdRet()

:lh242_1_23 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n se fac eventuri pe server?"
SAMP.CmdRet()

:lh242_1_24 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n este giftbox activ?"
SAMP.CmdRet()

:lh242_1_25 
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n de la ce level pot aplica in para?"
SAMP.CmdRet()



:lh242_1_27
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/ad Fac kilometri contracost."
SAMP.CmdRet()

:lh242_1_28
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/ad Fac kilometri gratis."
SAMP.CmdRet()

:lh242_1_29
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/startmission"
SAMP.CmdRet()

:lh242_1_30
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Ne vedem pe panou, succes!"
SAMP.CmdRet()

:lh242_1_31
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Te simt bogat, imi imprumuti si mie niste bani?"
SAMP.CmdRet()

:lh242_1_32
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Vrei sa-ti imprumut o janta de Infernus?"
SAMP.CmdRet()

:lh242_1_33
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Da-te mai asa ca vin peste tine in casa."
SAMP.CmdRet()

:lh242_1_34
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Sa-mi bag masina in garajul tau!"
SAMP.CmdRet()

:lh242_1_35
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Dau la paint mai grav decat in gagicamea."
SAMP.CmdRet()

:lh242_1_36
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Samp-ul nu e singurul loc unde dau 3/3, ca idee."
SAMP.CmdRet()

:lh242_1_37
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/call 112"
SAMP.CmdRet()

:lh242_1_38
SAMP.IsCommandTyped(20@)
    0AF9: samp say_Msg "Da ciam facut sefu?"
SAMP.CmdRet()

:lh242_1_39
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/skills"
SAMP.CmdRet()

:lh242_1_40
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/rentroom"
SAMP.CmdRet()


:lh242_1_42
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Se activeaza gps-ul..."
    wait 500
    0AF9: samp say_msg "/gps"
SAMP.CmdRet()

:lh242_1_43
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/spawnchange"
SAMP.CmdRet()

:lh242_1_44
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Te simti sarac? Job-ul e solutia!"
SAMP.CmdRet()

:lh242_1_45
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/carplate"
SAMP.CmdRet()

:lh242_1_46
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/swapcolors"
SAMP.CmdRet()

:lh242_1_47
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/killcp"
SAMP.CmdRet()

:lh242_1_48
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/fish"
SAMP.CmdRet()

:lh242_1_49
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Se deschide prohabul..."
    0AF9: samp say_msg "/wank"
SAMP.CmdRet()

:lh242_1_50
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Buna! Imi pare bine sa te cunosc!"
SAMP.CmdRet()

:lh242_1_51
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/report"
SAMP.CmdRet()

:lh242_1_52
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/getmats"
SAMP.CmdRet()

:lh242_1_53
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/craftbomb"
SAMP.CmdRet()

:lh242_1_54
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Wow, wow ai grija, poti sa devii bankrupt."
SAMP.CmdRet()

:lh242_1_55
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Pazea! A intrat un nab pe server!"
SAMP.CmdRet()

:lh242_1_56
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Am bani multi rau de tot"
    wait 600
    0AF9: samp say_msg "Ca idee."
SAMP.CmdRet()


:lh242_1_57
SAMP.IsCommandTyped(20@)
    0AF9: samp say_Msg "S-a produs gaming."
SAMP.CmdRet()

:lh242_1_58
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/stopanim"
SAMP.CmdRet()

:lh242_1_59
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/buyfightstyle"
SAMP.CmdRet()

:lh242_1_60
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/friends"
SAMP.CmdRet()

:lh242_1_61
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/picklock"
SAMP.CmdRet()

:lh242_1_62
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/housemenu"
SAMP.CmdRet()

:lh242_1_63
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/towcar"
SAMP.CmdRet()

:lh242_1_64
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/service taxi"
SAMP.CmdRet()

:lh242_1_65
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/service medic"
SAMP.CmdRet()

:lh242_1_66
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/requestlicence"
SAMP.CmdRet()

:lh242_1_67
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/unrentveh"
SAMP.CmdRet()

:lh242_1_68
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/rentveh"
SAMP.CmdRet()

:lh242_1_69
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/pagesize 10"
SAMP.CmdRet()

:lh242_1_70
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/pagesize 20"
SAMP.CmdRet()



0B34: samp register_client_command "civilcmd" to_label @lh242_4_1y

WHILE TRUE
   WAIT 0
  
  
IF
31@ == TRUE
THEN 
   0AC6: 30@ = label @Menu offset 
   0B3B: samp show_dialog id 1000 caption "{b3ffff}CivilCMD 2.0 {d1e0e0}by {8000ff}HawkPisoiul" text 30@ button_1 "Select" button_2 "Cancel" style 2 
   31@ = FALSE
END

IF 0B3C: samp is_dialog_responded id 1000 button 29@ list_item 28@ input_text 0
THEN
    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 1
        THEN
            0AC6: 25@ = label @ComenziUtile1 offset 
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #1" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END

    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 2
        THEN
            0AC6: 25@ = label @ComenziUtile2 offset 
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #2" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END

    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 3
        THEN
            0AC6: 25@ = label @Binduriamuzante offset 
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Bind-uri amuzante" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END
    
    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 4
        THEN
            0AC6: 25@ = label @About offset
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Despre" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END


END /// END 0B3C: samp is_dialog_responded id 1000 button 17@ list_item 18@ input_text 0



END /// END 0B3C: samp is_dialog_responded id 1200 button 17@ list_item 18@ input_text 0
  


:Menu
hex
"{ffff00}------------------------------------------------------------------------------------" A
"{FFFFFF}Comenzi utile #1;" A
"{FFFFFF}Comenzi utile #2;" A
"{FFFFFF}Bind-uri amuzante;" A
"{ffff00}------------------------------------------------------------------------------------" A
00                         
end

:ComenziUtile1
hex
"{FFFFFF}CJ Home" A
"{FFFFFF}BadBoy Home" A
"{FFFFFF}BigNick Home" A
"{FFFFFF}BabyBoy Home" A
"{FFFFFF}SantaClous Home" A
"{FFFFFF}BestFriend Home" A
"{FFFFFF}Administrator Home" A
00                         
end

:ComenziUtile2
hex
"{cc66ff} CJ HOME" A
"{FFFFFF} fesgeg" A
00
end

:About
hex
"{FFFFFF} about" A
00
end

:BinduriAmuzante
hex
"{FFFFFF} binds" A
00
end                                                                                                     



:lh242_4_1y
0B12: 31@ = 31@ XOR TRUE
0B43:





//========================================================================




          





//========================================================================










:chatmsg
0AA2: 0@ = load_library "samp.dll" // IF and SET
0085: 1@ = 0@ // (int)
1@ += 2203876
0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1
0085: 2@ = 0@ // (int)
2@ += 409616
chatmsg "{000080}--------------------------------------------------------------------" -1
chatmsg "{e6e6fa} CivilCMD 2.0 creat de {9400d3}HawkPisoiul"
chatmsg "{e6e6fa} Creat special pentru server-ul {b22222}Ruby Nephrite{e6e6fa}."
chatmsg "{e6e6fa} Foloseste comanda {d8bfd8}[/civilcmd] {e6e6fa}pentru informatii."
chatmsg "{000080}--------------------------------------------------------------------"
0AB2: ret 0

//========================================================================

sorry
 

blvck0v

Active member
Joined
Feb 23, 2019
Messages
98
Reaction score
51
Location
ugbase.eu
There's two while .. end statements, and the code will never reach the second one during gameplay
You should combine the code so that everything that needs repeated fits only one while .. end statement
 

blvck0v

Active member
Joined
Feb 23, 2019
Messages
98
Reaction score
51
Location
ugbase.eu
Not gonna mess any more with this bad code, if it works it works, if not, figure it out, good luck.
PHP:
{$CLEO}
0000:

0662: "CivilCMD by HawkPisoiul 2.0"
thread "Pentru Ruby Nephrite"

wait 8500

//========================================================================
0B34: samp register_client_command "np" to_label @lh242_0_1
0B34: samp register_client_command "sofer" to_label @lh242_0_2
0B34: samp register_client_command "ej" to_label @lh242_0_3
0B34: samp register_client_command "fdh" to_label @lh242_0_5
0B34: samp register_client_command "fdb" to_label @lh242_0_6
0B34: samp register_client_command "acctr" to_label @lh242_0_7

0B34: samp register_client_command "sts" to_label @lh242_1_1
0B34: samp register_client_command "toff" to_label @lh242_1_2
0B34: samp register_client_command "ton" to_label @lh242_1_3
0B34: samp register_client_command "wk" to_label @lh242_1_4
0B34: samp register_client_command "tk" to_label @lh242_1_11
0B34: samp register_client_command "qs" to_label @lh242_1_12
0B34: samp register_client_command "ajutn1" to_label @lh242_1_13
0B34: samp register_client_command "ajutn2" to_label @lh242_1_14
0B34: samp register_client_command "ajutn3" to_label @lh242_1_15
0B34: samp register_client_command "ajutn4" to_label @lh242_1_16
0B34: samp register_client_command "ajutn5" to_label @lh242_1_17
0B34: samp register_client_command "ajutn6" to_label @lh242_1_18
0B34: samp register_client_command "ajutn7" to_label @lh242_1_19
0B34: samp register_client_command "ajutn8" to_label @lh242_1_20
0B34: samp register_client_command "ajutn9" to_label @lh242_1_21
0B34: samp register_client_command "ajutn10" to_label @lh242_1_22
0B34: samp register_client_command "ajutn11" to_label @lh242_1_23
0B34: samp register_client_command "ajutn12" to_label @lh242_1_24
0B34: samp register_client_command "ajutn13" to_label @lh242_1_25
0B34: samp register_client_command "adkmc" to_label @lh242_1_27
0B34: samp register_client_command "adkmf" to_label @lh242_1_28
0B34: samp register_client_command "stmr" to_label @lh242_1_29
0B34: samp register_client_command "post" to_label @lh242_1_30
0B34: samp register_client_command "sarac" to_label @lh242_1_31
0B34: samp register_client_command "valoare" to_label @lh242_1_32
0B34: samp register_client_command "boule" to_label @lh242_1_33
0B34: samp register_client_command "garaj" to_label @lh242_1_34
0B34: samp register_client_command "paintg" to_label @lh242_1_35
0B34: samp register_client_command "3/3" to_label @lh242_1_36
0B34: samp register_client_command "112" to_label @lh242_1_37
0B34: samp register_client_command "curcan" to_label @lh242_1_38
0B34: samp register_client_command "sk" to_label @lh242_1_39
0B34: samp register_client_command "rr" to_label @lh242_1_40
0B34: samp register_client_command "g" to_label @lh242_1_42
0B34: samp register_client_command "sc" to_label @lh242_1_43
0B34: samp register_client_command "fajob" to_label @lh242_1_44
0B34: samp register_client_command "spcol" to_label @lh242_1_46
0B34: samp register_client_command "kp" to_label @lh242_1_47
0B34: samp register_client_command "fj" to_label @lh242_1_48
0B34: samp register_client_command "laba" to_label @lh242_1_49
0B34: samp register_client_command "prezentare" to_label @lh242_1_50
0B34: samp register_client_command "rt" to_label @lh242_1_51
0B34: samp register_client_command "gm" to_label @lh242_1_52
0B34: samp register_client_command "cb" to_label @lh242_1_53
0B34: samp register_client_command "bankrupt" to_label @lh242_1_54
0B34: samp register_client_command "pazea" to_label @lh242_1_55
0B34: samp register_client_command "bani" to_label @lh242_1_56
0B34: samp register_client_command "gaming" to_label @lh242_1_57
0B34: samp register_client_command "sa" to_label @lh242_1_58
0B34: samp register_client_command "bfs" to_label @lh242_1_59
0B34: samp register_client_command "fnds" to_label @lh242_1_60
0B34: samp register_client_command "pkl" to_label @lh242_1_61
0B34: samp register_client_command "hmenu" to_label @lh242_1_62
0B34: samp register_client_command "tw" to_label @lh242_1_63
0B34: samp register_client_command "svt" to_label @lh242_1_64
0B34: samp register_client_command "svm" to_label @lh242_1_65
0B34: samp register_client_command "reqlic" to_label @lh242_1_66
0B34: samp register_client_command "urv" to_label @lh242_1_67
0B34: samp register_client_command "rv" to_label @lh242_1_68
0B34: samp register_client_command "pg10" to_label @lh242_1_69
0B34: samp register_client_command "pg20" to_label @lh242_1_70
0B34: samp register_client_command "cjob" to_label @lh242_cjob
0B34: samp register_client_command "gaz" to_label @lh242_gaz
0B34: samp register_client_command "togall" to_label @lh242_tog
0B34: samp register_client_command "togcom" to_label @lh242_togcom

0B34: samp register_client_command "cjob" to_label @lh242_cjob
0B34: samp register_client_command "gaz" to_label @lh242_gaz

0B34: samp register_client_command "cchat" to_label @lh242_2_1


while true
wait 0

    if 24@ == true
    then
        24@ = false
        0AF9: samp say_msg "/quitjob"
        wait 400
        0AF9: samp say_msg "/getjob"
    end
    
    if 23@ == true
    then
        23@ = false
        0AF9: samp say_msg "/fill"
        wait 600
        0AF9: samp say_msg "/fillgascan"
    end
    
    if 22@ == true
    then
        22@ = false
        0AF9: samp say_msg "/togc"
        wait 600
        0AF9: samp say_msg "/togwt"
        wait 600
        0AF9: samp say_msg "/togbid"
        wait 600
        0AF9: samp say_msg "/togpremium"
        wait 600
        0AF9: samp say_msg "/togvip"
        wait 600
        0AF9: samp say_msg "/togn"
        wait 600
        0AF9: samp say_msg "/tognews"
        wait 600
        0AF9: samp say_msg "/togw"
        wait 600
        0AF9: samp say_msg "/togsurf"
        wait 600
        0AF9: samp say_msg "/togreward"
    end
    
    if 19@ == true
    then
        19@ = false
        0AF9: samp say_msg "/togc"
        wait 600
        0AF9: samp say_msg "/togwt"
        wait 600
        0AF9: samp say_msg "/togpremium"
        wait 600
        0AF9: samp say_msg "/togvip"
        wait 600
        0AF9: samp say_msg "/togw"
        wait 600
        0AF9: samp say_msg "/tog bid"
    end
        
    IF
    31@ == TRUE
    THEN
       0AC6: 30@ = label @Menu offset
       0B3B: samp show_dialog id 1000 caption "{b3ffff}CivilCMD 2.0 {d1e0e0}by {8000ff}HawkPisoiul" text 30@ button_1 "Select" button_2 "Cancel" style 2
       31@ = FALSE
    END
    
    IF 0B3C: samp is_dialog_responded id 1000 button 29@ list_item 28@ input_text 0
    THEN
        IF 29@ == 1 // OK button
        THEN
            IF 28@ == 1
            THEN
                0AC6: 25@ = label @ComenziUtile1 offset
                0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #1" text 25@ button_1 "Cancel" button_2 "" style 0
            END
        END
    
        IF 29@ == 1 // OK button
        THEN
            IF 28@ == 2
            THEN
                0AC6: 25@ = label @ComenziUtile2 offset
                0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #2" text 25@ button_1 "Cancel" button_2 "" style 0
            END
        END
    
        IF 29@ == 1 // OK button
        THEN
            IF 28@ == 3
            THEN
                0AC6: 25@ = label @Binduriamuzante offset
                0B3B: samp show_dialog id 1200 caption "{b3ffff}Bind-uri amuzante" text 25@ button_1 "Cancel" button_2 "" style 0
            END
        END
        
        IF 29@ == 1 // OK button
        THEN
            IF 28@ == 4
            THEN
                0AC6: 25@ = label @About offset
                0B3B: samp show_dialog id 1200 caption "{b3ffff}Despre" text 25@ button_1 "Cancel" button_2 "" style 0
            END
        END
        
    END /// END 0B3C: samp is_dialog_responded id 1000 button 17@ list_item 18@ input_text 0   

end

:lh242_cjob
24@ = true
SAMP.CmdRet()

:lh242_gaz
23@ = true
SAMP.CmdRet()

:lh242_tog
22@ = true
SAMP.CmdRet()

:lh242_togcom
19@ = true
SAMP.CmdRet()

:lh242_3_1
wait 0
if and
0AB0:   key_pressed 17 // key ctrl
0AB0:   key_pressed 90 // key z
0AFA:   is_samp_structures_available
else_jump @lh242_3_1
0AF9: samp say_msg "/stopanim"
wait 1000
jump @lh242_3_1


:lh242_3_2
wait 0
if and
0AB0:   key_pressed 109 // numpad -
0AFA:   is_samp_structures_available
else_jump @lh242_3_1
0AF9: samp say_msg "/fish"
wait 1000
jump @lh242_3_2

:lh242_0_1
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/number %s" 1@

else
    print "~y~/np <id>" 2000
end
SAMP.CmdRet()

:lh242_0_2
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "%s esti mai nab decat pari ca sa fiu sincer" 1@

else
    print "~y~/sofer <id>" 2000
end
SAMP.CmdRet()

:lh242_0_3
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/eject %s" 1@
    
else
    print "~y~/ej <id>" 2000
end
SAMP.CmdRet()

:lh242_0_5
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/findhouse %s" 1@
    
else
    print "~y~/fdh <id>" 2000
end
SAMP.CmdRet()


:lh242_0_6
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/findbiz %s" 1@
    
else
    print "~y~/fdb <id>" 2000
end
SAMP.CmdRet()

:lh242_0_7
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/accepttrade %s" 1@
    
else
    print "~y~/acctr %s" 1@
end
SAMP.CmdRet()

:lh242_2_1
SAMP.IsCommandTyped(20@)
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
SAMP.CmdRet()

:lh242_1_1
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/stats"
SAMP.CmdRet()

:lh242_1_2
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/turn off"
SAMP.CmdRet()

:lh242_1_3
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/turn on"
SAMP.CmdRet()

:lh242_1_4
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/work"
SAMP.CmdRet()

:lh242_1_11
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/tasks"
SAMP.CmdRet()

:lh242_1_12
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/quests"
SAMP.CmdRet()

:lh242_1_13
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n Cum pun casca?"
SAMP.CmdRet()

:lh242_1_14
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n Info infernus"   
SAMP.CmdRet()

:lh242_1_15
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n ce face craftskins?"
SAMP.CmdRet()

:lh242_1_16
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n exista skinuri gold?"
SAMP.CmdRet()

:lh242_1_17
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n ce job imi recomanzi?"
SAMP.CmdRet()

:lh242_1_18
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n la bus driver primesti bani?"
SAMP.CmdRet()

:lh242_1_19
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cat costa banshee?"
SAMP.CmdRet()

:lh242_1_20
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cat tine battlepass??"
SAMP.CmdRet()

:lh242_1_21
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cine este ownerul serverului?"
SAMP.CmdRet()

:lh242_1_22
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n de la ce level pot lua masina?"
SAMP.CmdRet()

:lh242_1_23
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n se fac eventuri pe server?"
SAMP.CmdRet()

:lh242_1_24
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n este giftbox activ?"
SAMP.CmdRet()

:lh242_1_25
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n de la ce level pot aplica in para?"
SAMP.CmdRet()

:lh242_1_27
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/ad Fac kilometri contracost."
SAMP.CmdRet()

:lh242_1_28
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/ad Fac kilometri gratis."
SAMP.CmdRet()

:lh242_1_29
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/startmission"
SAMP.CmdRet()

:lh242_1_30
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Ne vedem pe panou, succes!"
SAMP.CmdRet()

:lh242_1_31
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Te simt bogat, imi imprumuti si mie niste bani?"
SAMP.CmdRet()

:lh242_1_32
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Vrei sa-ti imprumut o janta de Infernus?"
SAMP.CmdRet()

:lh242_1_33
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Da-te mai asa ca vin peste tine in casa."
SAMP.CmdRet()

:lh242_1_34
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Sa-mi bag masina in garajul tau!"
SAMP.CmdRet()

:lh242_1_35
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Dau la paint mai grav decat in gagicamea."
SAMP.CmdRet()

:lh242_1_36
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Samp-ul nu e singurul loc unde dau 3/3, ca idee."
SAMP.CmdRet()

:lh242_1_37
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/call 112"
SAMP.CmdRet()

:lh242_1_38
SAMP.IsCommandTyped(20@)
    0AF9: samp say_Msg "Da ciam facut sefu?"
SAMP.CmdRet()

:lh242_1_39
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/skills"
SAMP.CmdRet()

:lh242_1_40
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/rentroom"
SAMP.CmdRet()


:lh242_1_42
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Se activeaza gps-ul..."
    wait 500
    0AF9: samp say_msg "/gps"
SAMP.CmdRet()

:lh242_1_43
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/spawnchange"
SAMP.CmdRet()

:lh242_1_44
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Te simti sarac? Job-ul e solutia!"
SAMP.CmdRet()

:lh242_1_45
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/carplate"
SAMP.CmdRet()

:lh242_1_46
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/swapcolors"
SAMP.CmdRet()

:lh242_1_47
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/killcp"
SAMP.CmdRet()

:lh242_1_48
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/fish"
SAMP.CmdRet()

:lh242_1_49
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Se deschide prohabul..."
    0AF9: samp say_msg "/wank"
SAMP.CmdRet()

:lh242_1_50
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Buna! Imi pare bine sa te cunosc!"
SAMP.CmdRet()

:lh242_1_51
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/report"
SAMP.CmdRet()

:lh242_1_52
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/getmats"
SAMP.CmdRet()

:lh242_1_53
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/craftbomb"
SAMP.CmdRet()

:lh242_1_54
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Wow, wow ai grija, poti sa devii bankrupt."
SAMP.CmdRet()

:lh242_1_55
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Pazea! A intrat un nab pe server!"
SAMP.CmdRet()

:lh242_1_56
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Am bani multi rau de tot"
    wait 600
    0AF9: samp say_msg "Ca idee."
SAMP.CmdRet()

:lh242_1_57
SAMP.IsCommandTyped(20@)
    0AF9: samp say_Msg "S-a produs gaming."
SAMP.CmdRet()

:lh242_1_58
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/stopanim"
SAMP.CmdRet()

:lh242_1_59
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/buyfightstyle"
SAMP.CmdRet()

:lh242_1_60
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/friends"
SAMP.CmdRet()

:lh242_1_61
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/picklock"
SAMP.CmdRet()

:lh242_1_62
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/housemenu"
SAMP.CmdRet()

:lh242_1_63
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/towcar"
SAMP.CmdRet()

:lh242_1_64
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/service taxi"
SAMP.CmdRet()

:lh242_1_65
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/service medic"
SAMP.CmdRet()

:lh242_1_66
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/requestlicence"
SAMP.CmdRet()

:lh242_1_67
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/unrentveh"
SAMP.CmdRet()

:lh242_1_68
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/rentveh"
SAMP.CmdRet()

:lh242_1_69
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/pagesize 10"
SAMP.CmdRet()

:lh242_1_70
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/pagesize 20"
SAMP.CmdRet()

0B34: samp register_client_command "civilcmd" to_label @lh242_4_1y

:Menu
hex
"{ffff00}------------------------------------------------------------------------------------" A
"{FFFFFF}Comenzi utile #1;" A
"{FFFFFF}Comenzi utile #2;" A
"{FFFFFF}Bind-uri amuzante;" A
"{ffff00}------------------------------------------------------------------------------------" A
00                         
end

:ComenziUtile1
hex
"{FFFFFF}CJ Home" A
"{FFFFFF}BadBoy Home" A
"{FFFFFF}BigNick Home" A
"{FFFFFF}BabyBoy Home" A
"{FFFFFF}SantaClous Home" A
"{FFFFFF}BestFriend Home" A
"{FFFFFF}Administrator Home" A
00                         
end

:ComenziUtile2
hex
"{cc66ff} CJ HOME" A
"{FFFFFF} fesgeg" A
00
end

:About
hex
"{FFFFFF} about" A
00
end

:BinduriAmuzante
hex
"{FFFFFF} binds" A
00
end                                                                                                     

:lh242_4_1y
0B12: 31@ = 31@ XOR TRUE
0B43:
 

Jumy

Member
Joined
Feb 28, 2022
Messages
11
Reaction score
1
Location
Romania
Hi, I have a cleo cmd and today I did a dialog but when I log in the game, it doesn't work, it works if i put it in a sepparately file, it also works if i put the code at the beggining of my cmd but the rest of the cmd dont work anymore.


my dialog:
Code:
REPEAT
   WAIT 0
UNTIL 0AFA:  SAMP_IS_READY

0B34: samp register_client_command "civilcmd" to_label @lh242_4_1y

WHILE TRUE
   WAIT 0
 
 
IF
31@ == TRUE
THEN
   0AC6: 30@ = label @Menu offset
   0B3B: samp show_dialog id 1000 caption "{b3ffff}CivilCMD 2.0 {d1e0e0}by {8000ff}HawkPisoiul" text 30@ button_1 "Select" button_2 "Cancel" style 2
   31@ = FALSE
END

IF 0B3C: samp is_dialog_responded id 1000 button 29@ list_item 28@ input_text 0
THEN
    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 1
        THEN
            0AC6: 25@ = label @ComenziUtile1 offset
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #1" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END

    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 2
        THEN
            0AC6: 25@ = label @ComenziUtile2 offset
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #2" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END

    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 3
        THEN
            0AC6: 25@ = label @Binduriamuzante offset
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Bind-uri amuzante" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END
  
    IF 29@ == 1 // OK button
    THEN
        IF 28@ == 4
        THEN
            0AC6: 25@ = label @About offset
            0B3B: samp show_dialog id 1200 caption "{b3ffff}Despre" text 25@ button_1 "Cancel" button_2 "" style 0
        END
    END


END /// END 0B3C: samp is_dialog_responded id 1000 button 17@ list_item 18@ input_text 0



END /// END 0B3C: samp is_dialog_responded id 1200 button 17@ list_item 18@ input_text 0
 


:Menu
hex
"{ffff00}------------------------------------------------------------------------------------" A
"{FFFFFF}Comenzi utile #1;" A
"{FFFFFF}Comenzi utile #2;" A
"{FFFFFF}Bind-uri amuzante;" A
"{ffff00}------------------------------------------------------------------------------------" A
00                       
end

:ComenziUtile1
hex
"{FFFFFF}CJ Home" A
"{FFFFFF}BadBoy Home" A
"{FFFFFF}BigNick Home" A
"{FFFFFF}BabyBoy Home" A
"{FFFFFF}SantaClous Home" A
"{FFFFFF}BestFriend Home" A
"{FFFFFF}Administrator Home" A
00                       
end

:ComenziUtile2
hex
"{cc66ff} CJ HOME" A
"{FFFFFF} fesgeg" A
00
end

:About
hex
"{FFFFFF} about" A
00
end

:BinduriAmuzante
hex
"{FFFFFF} binds" A
00
end                                                                                                   



:lh242_4_1y
0B12: 31@ = 31@ XOR TRUE
0B43:


my cmd:
Code:
{$CLEO}
0000:



0662: "CivilCMD by HawkPisoiul 2.0"
thread "Pentru Ruby Nephrite"
wait 2500
//========================================================================
0B34: samp register_client_command "np" to_label @lh242_0_1
0B34: samp register_client_command "sofer" to_label @lh242_0_2
0B34: samp register_client_command "ej" to_label @lh242_0_3
0B34: samp register_client_command "fdh" to_label @lh242_0_5
0B34: samp register_client_command "fdb" to_label @lh242_0_6
0B34: samp register_client_command "acctr" to_label @lh242_0_7

0B34: samp register_client_command "sts" to_label @lh242_1_1
0B34: samp register_client_command "toff" to_label @lh242_1_2
0B34: samp register_client_command "ton" to_label @lh242_1_3
0B34: samp register_client_command "wk" to_label @lh242_1_4
0B34: samp register_client_command "tk" to_label @lh242_1_11
0B34: samp register_client_command "qs" to_label @lh242_1_12
0B34: samp register_client_command "ajutn1" to_label @lh242_1_13
0B34: samp register_client_command "ajutn2" to_label @lh242_1_14
0B34: samp register_client_command "ajutn3" to_label @lh242_1_15
0B34: samp register_client_command "ajutn4" to_label @lh242_1_16
0B34: samp register_client_command "ajutn5" to_label @lh242_1_17
0B34: samp register_client_command "ajutn6" to_label @lh242_1_18
0B34: samp register_client_command "ajutn7" to_label @lh242_1_19
0B34: samp register_client_command "ajutn8" to_label @lh242_1_20
0B34: samp register_client_command "ajutn9" to_label @lh242_1_21
0B34: samp register_client_command "ajutn10" to_label @lh242_1_22
0B34: samp register_client_command "ajutn11" to_label @lh242_1_23
0B34: samp register_client_command "ajutn12" to_label @lh242_1_24
0B34: samp register_client_command "ajutn13" to_label @lh242_1_25
0B34: samp register_client_command "adkmc" to_label @lh242_1_27
0B34: samp register_client_command "adkmf" to_label @lh242_1_28
0B34: samp register_client_command "stmr" to_label @lh242_1_29
0B34: samp register_client_command "post" to_label @lh242_1_30
0B34: samp register_client_command "sarac" to_label @lh242_1_31
0B34: samp register_client_command "valoare" to_label @lh242_1_32
0B34: samp register_client_command "boule" to_label @lh242_1_33
0B34: samp register_client_command "garaj" to_label @lh242_1_34
0B34: samp register_client_command "paintg" to_label @lh242_1_35
0B34: samp register_client_command "3/3" to_label @lh242_1_36
0B34: samp register_client_command "112" to_label @lh242_1_37
0B34: samp register_client_command "curcan" to_label @lh242_1_38
0B34: samp register_client_command "sk" to_label @lh242_1_39
0B34: samp register_client_command "rr" to_label @lh242_1_40
0B34: samp register_client_command "g" to_label @lh242_1_42
0B34: samp register_client_command "sc" to_label @lh242_1_43
0B34: samp register_client_command "fajob" to_label @lh242_1_44
0B34: samp register_client_command "spcol" to_label @lh242_1_46
0B34: samp register_client_command "kp" to_label @lh242_1_47
0B34: samp register_client_command "fj" to_label @lh242_1_48
0B34: samp register_client_command "laba" to_label @lh242_1_49
0B34: samp register_client_command "prezentare" to_label @lh242_1_50
0B34: samp register_client_command "rt" to_label @lh242_1_51
0B34: samp register_client_command "gm" to_label @lh242_1_52
0B34: samp register_client_command "cb" to_label @lh242_1_53
0B34: samp register_client_command "bankrupt" to_label @lh242_1_54
0B34: samp register_client_command "pazea" to_label @lh242_1_55
0B34: samp register_client_command "bani" to_label @lh242_1_56
0B34: samp register_client_command "gaming" to_label @lh242_1_57
0B34: samp register_client_command "sa" to_label @lh242_1_58
0B34: samp register_client_command "bfs" to_label @lh242_1_59
0B34: samp register_client_command "fnds" to_label @lh242_1_60
0B34: samp register_client_command "pkl" to_label @lh242_1_61
0B34: samp register_client_command "hmenu" to_label @lh242_1_62
0B34: samp register_client_command "tw" to_label @lh242_1_63
0B34: samp register_client_command "svt" to_label @lh242_1_64
0B34: samp register_client_command "svm" to_label @lh242_1_65
0B34: samp register_client_command "reqlic" to_label @lh242_1_66
0B34: samp register_client_command "urv" to_label @lh242_1_67
0B34: samp register_client_command "rv" to_label @lh242_1_68
0B34: samp register_client_command "pg10" to_label @lh242_1_69
0B34: samp register_client_command "pg20" to_label @lh242_1_70

0B34: samp register_client_command "cjob" to_label @lh242_cjob
0B34: samp register_client_command "gaz" to_label @lh242_gaz

0B34: samp register_client_command "cchat" to_label @lh242_2_1


//========================================================================



// ce cauti golane la furat

0AB1: call_scm_func @chatmsg 0

//========================================================================

repeat
wait 0
until 0AFA:

0B34: samp register_client_command "cjob" to_label @lh242_cjob
0B34: samp register_client_command "gaz" to_label @lh242_gaz
0B34: samp register_client_command "togall" to_label @lh242_tog
0B34: samp register_client_command "togcom" to_label @lh242_togcom

while true
wait 0

if 31@ == true
then
    31@ = false
    0AF9: samp say_msg "/quitjob"
    wait 400
    0AF9: samp say_msg "/getjob"
end

if 30@ == true
then
    30@ = false
    0AF9: samp say_msg "/fill"
    wait 600
    0AF9: samp say_msg "/fillgascan"
end

if 29@ == true
then
    29@ = false
    0AF9: samp say_msg "/togc"
    wait 600
    0AF9: samp say_msg "/togwt"
    wait 600
    0AF9: samp say_msg "/togbid"
    wait 600
    0AF9: samp say_msg "/togpremium"
    wait 600
    0AF9: samp say_msg "/togvip"
    wait 600
    0AF9: samp say_msg "/togn"
    wait 600
    0AF9: samp say_msg "/tognews"
    wait 600
    0AF9: samp say_msg "/togw"
    wait 600
    0AF9: samp say_msg "/togsurf"
    wait 600
    0AF9: samp say_msg "/togreward"
end

if 28@ == true
then
    28@ = false
    0AF9: samp say_msg "/togc"
    wait 600
    0AF9: samp say_msg "/togwt"
    wait 600
    0AF9: samp say_msg "/togpremium"
    wait 600
    0AF9: samp say_msg "/togvip"
    wait 600
    0AF9: samp say_msg "/togw"
    wait 600
    0AF9: samp say_msg "/tog bid"
end

end

:lh242_cjob
31@ = true
SAMP.CmdRet()

:lh242_gaz
30@ = true
SAMP.CmdRet()

:lh242_tog
29@ = true
SAMP.CmdRet()

:lh242_togcom
28@ = true
SAMP.CmdRet()

//===========================================================



:lh242_3_1
wait 0
if and
0AB0:   key_pressed 17 // key ctrl
0AB0:   key_pressed 90 // key z
0AFA:   is_samp_structures_available
else_jump @lh242_3_1
0AF9: samp say_msg "/stopanim"
wait 1000
jump @lh242_3_1


:lh242_3_2
wait 0
if and
0AB0:   key_pressed 109 // numpad -
0AFA:   is_samp_structures_available
else_jump @lh242_3_1
0AF9: samp say_msg "/fish"
wait 1000
jump @lh242_3_2


//




//

:lh242_5_1
wait 0
jump @lh242_5_1

:lh242_0_1
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/number %s" 1@

else
    print "~y~/np <id>" 2000
end
SAMP.CmdRet()

:lh242_0_2
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "%s esti mai nab decat pari ca sa fiu sincer" 1@

else
    print "~y~/sofer <id>" 2000
end
SAMP.CmdRet()

:lh242_0_3
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/eject %s" 1@
  
else
    print "~y~/ej <id>" 2000
end
SAMP.CmdRet()


:lh242_0_5
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/findhouse %s" 1@
  
else
    print "~y~/fdh <id>" 2000
end
SAMP.CmdRet()


:lh242_0_6
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/findbiz %s" 1@
  
else
    print "~y~/fdb <id>" 2000
end
SAMP.CmdRet()

:lh242_0_7
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF9: samp say_msg "/accepttrade %s" 1@
  
else
    print "~y~/acctr %s" 1@
end
SAMP.CmdRet()





//========================================================================

:lh242_2_1
SAMP.IsCommandTyped(20@)
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
    chatmsg " "
SAMP.CmdRet()

//========================================================================

:lh242_1_1
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/stats"
SAMP.CmdRet()

:lh242_1_2
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/turn off"
SAMP.CmdRet()

:lh242_1_3
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/turn on"
SAMP.CmdRet()

:lh242_1_4
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/work"
SAMP.CmdRet()

:lh242_1_11
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/tasks"
SAMP.CmdRet()

:lh242_1_12
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/quests"
SAMP.CmdRet()

:lh242_1_13
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n Cum pun casca?"
SAMP.CmdRet()

:lh242_1_14
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n Info infernus" 
SAMP.CmdRet()

:lh242_1_15
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n ce face craftskins?"
SAMP.CmdRet()

:lh242_1_16
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n exista skinuri gold?"
SAMP.CmdRet()

:lh242_1_17
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n ce job imi recomanzi?"
SAMP.CmdRet()

:lh242_1_18
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n la bus driver primesti bani?"
SAMP.CmdRet()

:lh242_1_19
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cat costa banshee?"
SAMP.CmdRet()

:lh242_1_20
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cat tine battlepass??"
SAMP.CmdRet()

:lh242_1_21
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n cine este ownerul serverului?"
SAMP.CmdRet()

:lh242_1_22
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n de la ce level pot lua masina?"
SAMP.CmdRet()

:lh242_1_23
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n se fac eventuri pe server?"
SAMP.CmdRet()

:lh242_1_24
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n este giftbox activ?"
SAMP.CmdRet()

:lh242_1_25
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/n de la ce level pot aplica in para?"
SAMP.CmdRet()



:lh242_1_27
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/ad Fac kilometri contracost."
SAMP.CmdRet()

:lh242_1_28
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/ad Fac kilometri gratis."
SAMP.CmdRet()

:lh242_1_29
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/startmission"
SAMP.CmdRet()

:lh242_1_30
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Ne vedem pe panou, succes!"
SAMP.CmdRet()

:lh242_1_31
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Te simt bogat, imi imprumuti si mie niste bani?"
SAMP.CmdRet()

:lh242_1_32
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Vrei sa-ti imprumut o janta de Infernus?"
SAMP.CmdRet()

:lh242_1_33
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Da-te mai asa ca vin peste tine in casa."
SAMP.CmdRet()

:lh242_1_34
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Sa-mi bag masina in garajul tau!"
SAMP.CmdRet()

:lh242_1_35
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Dau la paint mai grav decat in gagicamea."
SAMP.CmdRet()

:lh242_1_36
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Samp-ul nu e singurul loc unde dau 3/3, ca idee."
SAMP.CmdRet()

:lh242_1_37
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/call 112"
SAMP.CmdRet()

:lh242_1_38
SAMP.IsCommandTyped(20@)
    0AF9: samp say_Msg "Da ciam facut sefu?"
SAMP.CmdRet()

:lh242_1_39
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/skills"
SAMP.CmdRet()

:lh242_1_40
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/rentroom"
SAMP.CmdRet()


:lh242_1_42
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Se activeaza gps-ul..."
    wait 500
    0AF9: samp say_msg "/gps"
SAMP.CmdRet()

:lh242_1_43
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/spawnchange"
SAMP.CmdRet()

:lh242_1_44
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Te simti sarac? Job-ul e solutia!"
SAMP.CmdRet()

:lh242_1_45
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/carplate"
SAMP.CmdRet()

:lh242_1_46
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/swapcolors"
SAMP.CmdRet()

:lh242_1_47
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/killcp"
SAMP.CmdRet()

:lh242_1_48
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/fish"
SAMP.CmdRet()

:lh242_1_49
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Se deschide prohabul..."
    0AF9: samp say_msg "/wank"
SAMP.CmdRet()

:lh242_1_50
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Buna! Imi pare bine sa te cunosc!"
SAMP.CmdRet()

:lh242_1_51
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/report"
SAMP.CmdRet()

:lh242_1_52
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/getmats"
SAMP.CmdRet()

:lh242_1_53
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/craftbomb"
SAMP.CmdRet()

:lh242_1_54
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Wow, wow ai grija, poti sa devii bankrupt."
SAMP.CmdRet()

:lh242_1_55
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Pazea! A intrat un nab pe server!"
SAMP.CmdRet()

:lh242_1_56
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "Am bani multi rau de tot"
    wait 600
    0AF9: samp say_msg "Ca idee."
SAMP.CmdRet()


:lh242_1_57
SAMP.IsCommandTyped(20@)
    0AF9: samp say_Msg "S-a produs gaming."
SAMP.CmdRet()

:lh242_1_58
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/stopanim"
SAMP.CmdRet()

:lh242_1_59
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/buyfightstyle"
SAMP.CmdRet()

:lh242_1_60
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/friends"
SAMP.CmdRet()

:lh242_1_61
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/picklock"
SAMP.CmdRet()

:lh242_1_62
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/housemenu"
SAMP.CmdRet()

:lh242_1_63
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/towcar"
SAMP.CmdRet()

:lh242_1_64
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/service taxi"
SAMP.CmdRet()

:lh242_1_65
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/service medic"
SAMP.CmdRet()

:lh242_1_66
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg „/requestlicence”
SAMP.CmdRet()

:lh242_1_67
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg „/unrentveh”
SAMP.CmdRet()

:lh242_1_68
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg „/rentveh”
SAMP.CmdRet()

:lh242_1_69
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg „/pagesize 10”
SAMP.CmdRet()

:lh242_1_70
SAMP.IsCommandTyped(20@)
    0AF9: samp say_msg "/pagesize 20"
SAMP.CmdRet()






//================================================== =========================




        





//================================================== =========================










:chatmsg
0AA2: 0@ = load_library „samp.dll” // IF și SET
0085: 1@ = 0@ // (int)
1@ += 2203876
0A8D: 3@ = read_memory 1@ dimensiunea 4 virtual_protect 1
0085: 2@ = 0@ // (int)
2@ += 409616
chatmsg „{000080}--------------------------------------------- -----------------------" -1
chatmsg "{e6e6fa} CivilCMD 2.0 creat de {9400d3}HawkPisoiul"
chatmsg "{e6e6fa} Create special pentru server-ul {b22222}Ruby Nephrite{e6e6fa}."
chatmsg "{e6e6fa} Foloseste comanda {d8bfd8}[/civilcmd] {e6e6fa}pentru informatii."
chatmsg „{000080}--------------------------------------------- -----------------------"
0AB2: ret 0

//================================================== ======================== [/COD]


Vă rog să-mi spuneți ce greșesc, am petrecut aproximativ 2 ore să-mi dau seama.
[/QUOTE]
[QUOTE]
[CODE]IF
     0B3C: samp is_dialog_responded id 4444 button 2@ list_item 3@ input_text 0
    THEN
       if and
        2@ == 1
        3@ == 0
    then
        0AC6: 25@ = label @ComenziUtile1 offset
         0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #1" text 25@ button_1 "Cancel" button_2 "" style 0
            END
   
       if and
        2@ == 1
        3@ == 1
    then
                0AC6: 25@ = label @ComenziUtile2 offset
                0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #2" text 25@ button_1 "Cancel" button_2 "" style 0
            END
   
        if and
        2@ == 1
        3@ == 2
    then
                0AC6: 25@ = label @Binduriamuzante offset
                0B3B: samp show_dialog id 1200 caption "{b3ffff}Bind-uri amuzante" text 25@ button_1 "Cancel" button_2 "" style 0
            END
       
        if and
        2@ == 1
        3@ == 3
    then
                0AC6: 25@ = label @About offset
                0B3B: samp show_dialog id 1200 caption "{b3ffff}Despre" text 25@ button_1 "Cancel" button_2 "" style 0
            END
        END
       
    END /// END 0B3C: samp is_dialog_responded id 1000 button 17@ list_item 18@ input_text 0
   
 :lh242_4_1y  
 0AC6: 0@ = label @Menu offset
 0B3B: samp show_dialog id 4444 caption "{b3ffff}CivilCMD 2.0 {d1e0e0}by {8000ff}HawkPisoiul" text 0@ button_1 "Select" button_2 "Cancel" style 2  
 SAMP.CmdRet
 
:Menu
hex
"{ffff00}------------------------------------------------------------------------------------" A
"{FFFFFF}Comenzi utile #1;" A
"{FFFFFF}Comenzi utile #2;" A
"{FFFFFF}Bind-uri amuzante;" A
"{ffff00}------------------------------------------------------------------------------------" A
00                        
end

:ComenziUtile1
hex
"{FFFFFF}CJ Home" A
"{FFFFFF}BadBoy Home" A
"{FFFFFF}BigNick Home" A
"{FFFFFF}BabyBoy Home" A
"{FFFFFF}SantaClous Home" A
"{FFFFFF}BestFriend Home" A
"{FFFFFF}Administrator Home" A
00                        
end

:ComenziUtile2
hex
"{cc66ff} CJ HOME" A
"{FFFFFF} fesgeg" A
00
end

:About
hex
"{FFFFFF} about" A
00
end
IF
0B3C: samp is_dialog_responded id 4444 button 2@ list_item 3@ input_text 0
THEN
if and
2@ == 1
3@ == 0
then
0AC6: 25@ = label @ComenziUtile1 offset
0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #1" text 25@ button_1 "Cancel" button_2 "" style 0
END

if and
2@ == 1
3@ == 1
then
0AC6: 25@ = label @ComenziUtile2 offset
0B3B: samp show_dialog id 1200 caption "{b3ffff}Comenzi utile #2" text 25@ button_1 "Cancel" button_2 "" style 0
END

if and
2@ == 1
3@ == 2
then
0AC6: 25@ = label @Binduriamuzante offset
0B3B: samp show_dialog id 1200 caption "{b3ffff}Bind-uri amuzante" text 25@ button_1 "Cancel" button_2 "" style 0
END

if and
2@ == 1
3@ == 3
then
0AC6: 25@ = label @About offset
0B3B: samp show_dialog id 1200 caption "{b3ffff}Despre" text 25@ button_1 "Cancel" button_2 "" style 0
END
END

END /// END 0B3C: samp is_dialog_responded id 1000 button 17@ list_item 18@ input_text 0

:lh242_4_1y
0AC6: 0@ = label @Menu offset
0B3B: samp show_dialog id 4444 caption "{b3ffff}CivilCMD 2.0 {d1e0e0}by {8000ff}HawkPisoiul" text 0@ button_1 "Select" button_2 "Cancel" style 2
SAMP.CmdRet

:Menu
hex
"{ffff00}------------------------------------------------------------------------------------" A
"{FFFFFF}Comenzi utile #1;" A
"{FFFFFF}Comenzi utile #2;" A
"{FFFFFF}Bind-uri amuzante;" A
"{ffff00}------------------------------------------------------------------------------------" A
00
end

:ComenziUtile1
hex
"{FFFFFF}CJ Home" A
"{FFFFFF}BadBoy Home" A
"{FFFFFF}BigNick Home" A
"{FFFFFF}BabyBoy Home" A
"{FFFFFF}SantaClous Home" A
"{FFFFFF}BestFriend Home" A
"{FFFFFF}Administrator Home" A
00
end

:ComenziUtile2
hex
"{cc66ff} CJ HOME" A
"{FFFFFF} fesgeg" A
00
end

:About
hex
"{FFFFFF} about" A
00
end

try replacing this line.
 
Top