Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
32 kB
2
Indexable
Never
{$CLEO}
0662: "Tester CMD BY  SKOSK."
thread "Tester CMD by SKOSK." 
wait 3500

0B34: samp register_client_command "intro" to_label @intro1
0B34: samp register_client_command "respins" to_label @respins
0B34: samp register_client_command "acceptat" to_label @acceptat
0B34: samp register_client_command "to" to_label @to
0B34: samp register_client_command "tf" to_label @tf
0B34: samp register_client_command "int1" to_label @int1
0B34: samp register_client_command "int2" to_label @int2
0B34: samp register_client_command "int3" to_label @int3
0B34: samp register_client_command "int4" to_label @int4
0B34: samp register_client_command "int5" to_label @int5
0B34: samp register_client_command "int6" to_label @int6
0B34: samp register_client_command "int7" to_label @int7
0B34: samp register_client_command "int8" to_label @int8
0B34: samp register_client_command "int9" to_label @int9
0B34: samp register_client_command "int10" to_label @int10
0B34: samp register_client_command "int11" to_label @int11
0B34: samp register_client_command "int12" to_label @int12
0B34: samp register_client_command "int13" to_label @int13
0B34: samp register_client_command "int14" to_label @int14
0B34: samp register_client_command "int15" to_label @int15

0B34: samp register_client_command "r2" to_label @r2
0B34: samp register_client_command "r3" to_label @r3
0B34: samp register_client_command "r4" to_label @r4
0B34: samp register_client_command "r5" to_label @r5
0B34: samp register_client_command "r6" to_label @r6
0B34: samp register_client_command "r7" to_label @r7
0B34: samp register_client_command "r8" to_label @r8
0B34: samp register_client_command "r9" to_label @r9
0B34: samp register_client_command "r10" to_label @r10
0B34: samp register_client_command "r11" to_label @r11
0B34: samp register_client_command "r12" to_label @r12
0B34: samp register_client_command "r13" to_label @r13
0B34: samp register_client_command "r14" to_label @r14
0B34: samp register_client_command "r15" to_label @r15
0B34: samp register_client_command "prgun" to_label @prgun
0B34: samp register_client_command "prfly" to_label @prfly
0B34: samp register_client_command "prboat" to_label @prboat
0B34: samp register_client_command "r1" to_label @r1

0B34: samp register_client_command "tt" to_label @tt
0B34: samp register_client_command "tp" to_label @tp
0B34: samp register_client_command "pp" to_label @pp
0B34: samp register_client_command "pt" to_label @pt      
0B34: samp register_client_command "next" to_label @next
0B34: samp_register_client_command "ccme" to_label @cmd_36

0B34: samp register_client_command "setgr" to_label @setgr
0B34: samp register_client_command "tgr" to_label @tgr
0B34: samp register_client_command "resetgr" to_label @rgr

0B34: samp register_client_command "testercmd" to_label @testercmd

0AB1: call_scm_func @chatmsg 0

while true
wait 0

if 26@ == true
then
26@ = false
say "/cw Salut %s, astazi vom sustine testul de intrare in factiunea SISF."   1@
wait 1150 
say "/cw Te rog sa folosesti comanda [/turn off] inainte de a incepe testul."
wait 1150
say "/turn off"
wait 4150
say "/cw AFK - Picat | 3/3 - Picat, [/q] - Picat | Crash - 5 minute sa revii."
wait 1150
say "/cw Ai 1 minut sa raspunzi la o intrebare sau vei fii sanctionat. La intrebarile mai lungi, ai 2 minute."
wait 1150
say "/cw Pentru testul practic ai nevoie de KeyBinder/Instructor CMD. Risti sa fii picat daca nu-l ai." 
wait 1150
say "/cw Cand spun 'STOP' inseamna ca ai gresit si trebuie sa astepti indicatiile mele."
wait 1150
say "/cw De acum, se va lua in considerare doar ce scrii pe [/cw]. Incepem?" 
end



if 25@ == true
then
25@ = false
say "Acum, ca ai trecut testul teoretic, urmeaza cel practic."
wait 1150 
say "Te rog sa fii foarte atent in timpul testului si sa te concentrezi asupra lui."
wait 1150 
say "Trebuie sa scrii si comenzile, insa le vei scrie cu '.' deoarece nu ai acces la ele."
wait 1150 
say "Exemplu: '.startlesson', '.stoplesson', '.givelicense'."
wait 1150 
say "Licenta se ofera automat dupa ce ai tastat comanda [/gn11]."
wait 1150
say "Acum ca ti-am explicat tot ce trebuie, te rog sa-mi simulezi licenta de gun."
end

if 27@ == true
then
wait 10
alloc 1@ 400 
0AF4: 1@ = read_string_from_ini_file "cleo\tester_cmd.ini" section "Section" key "NumeJucator"
chatmsg "{00cccc}(!) {ffffff}Comanda a fost folosita cu {2bff00}succes{ffffff}." -1
say "/f (!) %s a picat testul de intrare in factiune." 1@
wait 1000
say "Imi pare rau %s, dar ai picat testul de intrare in factiune!" 1@                                                    
wait 1000
say "/turn on"
27@ = false
end

if 28@ == true
then
wait 10
alloc 1@ 400 
0AF4: 1@ = read_string_from_ini_file "cleo\tester_cmd.ini" section "Section" key "NumeJucator"
chatmsg "{00cccc}(!) {ffffff}Comanda a fost folosita cu {2bff00}succes{ffffff}." -1
say "/f (!) %s a trecut testul de intrare in factiune." 1@
wait 1000
say "Felicitari %s! Ai trecut testul de intrare in factiune!" 1@
wait 1000
say "/turn on"                                                     
28@ = false
end


if 29@ == true
then
29@ = false
wait 1000
say "Acum, ca ai trecut testul teoretic, urmeaza cel practic."
wait 1150 
say "Te rog sa fii foarte atent in timpul testului si sa te concentrezi asupra lui."
wait 1150 
say "Trebuie sa scrii si comenzile, insa le vei scrie cu '.' deoarece nu ai acces la ele."
wait 1150 
say "Exemplu: '.startlesson', '.stoplesson', '.givelicense'."
wait 1150 
say "Licenta se ofera automat dupa ce ai tastat comanda [/fl11]."
wait 1150
say "Acum ca ti-am explicat tot ce trebuie, te rog sa-mi simulezi licenta de fly."
end

if 30@ == true
then
30@ = false
wait 1000
say "Acum, ca ai trecut testul teoretic, urmeaza cel practic."
wait 1150 
say "Te rog sa fii foarte atent in timpul testului si sa te concentrezi asupra lui."
wait 1150 
say "Trebuie sa scrii si comenzile, insa le vei scrie cu '.' deoarece nu ai acces la ele."
wait 1150 
say "Exemplu: '.startlesson', '.stoplesson', '.givelicense'."
wait 1150 
say "Licenta se ofera automat dupa ce ai tastat comanda [/bt7]."
wait 1150
say "Acum ca ti-am explicat tot ce trebuie, te rog sa-mi simulezi licenta de boat."
end

if 31@ == true
then
31@ = false
wait 1000
say "/cw Raspuns: Factiune pasnica ce se ocupa cu oferirea licentelor de tip [...] "
wait 1150 
say "/cw [...] gun, fly si sailing in schimbul unei sume de bani, pe baza unui test acordat."
end


if
0B3C:  samp is_dialog_responded id 1000 button 2@ list_item 3@ input_text 0
then

    if and
        2@ == 1 
        3@ == 0
        
    if and
        2@ == 1 
        3@ == 0
        
         
    then
    0AC6: 17@ = label @pregatire
    SAMP.ShowDialog(7777, "{ff1a1a}Pregatirea inainte / in timpul testului.", 17@, "{0061ff}Inchide", "", 0)                                                                                                    
    end
 
    if and
        2@ == 1 
        3@ == 1
    then
    0AC6: 17@ = label @comenziutile offset
    SAMP.ShowDialog(7777, "{ff1a1a}Comenzi utile testeri.", 17@, "{0061ff}Inchide", "", 0)                                                                                                    
    end
 
    if and
        2@ == 1 
        3@ == 2
    then
    0AC6: 17@ = label @testepractice offset  
    SAMP.ShowDialog(7777, "{ff1a1a}Teste practice.", 17@, "{0061ff}Inchide", "", 0) 
    end   
    
    if and
        2@ == 1 
        3@ == 3
    then
    0AC6: 17@ = label @greseli offset 
    SAMP.ShowDialog(7777, "{ff1a1a}Sistem greseli", 17@, "{0061ff}Inchide", "", 0) 
    end   
    
    if and
        2@ == 1 
        3@ == 4
    then
    0AC6: 17@ = label @intrebari offset 
    SAMP.ShowDialog(7777, "{ff1a1a}[/int 1-15] - intrebarile la test.", 17@, "{0061ff}Inchide", "", 0) 
    end
    
end    

end 



:testercmd
0AC6: 0@ = label @dialog_hex offset
SAMP.ShowDialog(1000, "{ff0000}Tester{ffffff} CMD by {ff0000}SKOSK", 0@, "{ff1a1a}Select", "{E11D1D}Exit", 2)
SAMP.CmdRet

:dialog_hex
hex
"{ff0000}# ({ffffff}1{ff0000}){ffffff} Pregatirea inainte / in timpul testului. {ff0000}({ffffff}Vezi{ff0000})" A
"{ff0000}# ({ffffff}2{ff0000}){ffffff} Comenzi utile testeri. {ff0000}({ffffff}Vezi{ff0000})" A
"{ff0000}# ({ffffff}3{ff0000}){ffffff} Teste practice. {ff0000}({ffffff}Vezi{ff0000})"  A
"{ff0000}# ({ffffff}4{ff0000}){ffffff} Sistem greseli + exemple. {ff0000}({ffffff}Vezi{ff0000})"  A
"{ff0000}# ({ffffff}5{ff0000}){ffffff} [/int 1-15] - intrebarile la test."  0
end


:pregatire
hex
20 7b 46 46 30 30 30 46 7d 28 21 29 20 7b 46 46 46 46 46 46 7d 41 63 75 6d 20 6f 20 73 61 20 76 61 20 65 78 70 6c 69 63 20 63 75 6d 20 73 65 20 69 6e 63 65 70 65 6d 20 63 6f 72 65 63 74 20 75 6e 20 74 65 73 74 3a 0d 0a 0d 0a 20 7b 46 46 30 30 30 46 7d 28 21 29 20 7b 46 46 46 46 46 46 7d 20 49 6e 61 69 6e 74 65 20 64 65 20 74 6f 61 74 65 20 61 6e 75 6e 74 61 74 69 20 69 6e 20 63 61 6d 65 72 61 20 23 41 6e 75 6e 74 2d 74 65 73 74 3b 0d 0a 20 7b 46 46 30 30 30 46 7d 28 21 29 20 7b 46 46 46 46 46 46 7d 20 4d 61 69 20 61 70 6f 69 20 69 6e 64 69 63 61 74 20 61 72 20 66 69 20 73 61 20 76 61 20 6f 70 72 69 74 69 20 63 65 6c 20 70 75 74 69 6e 20 63 68 61 74 2d 75 72 69 6c 65 20 63 65 20 70 72 6f 76 6f 61 63 61 20 73 70 61 6d 20 64 69 6e 20 27 2f 74 6f 67 27 3b 0d 0a 20 7b 46 46 30 30 30 46 7d 28 21 29 20 7b 46 46 46 46 46 46 7d 20 44 75 70 61 20 61 73 74 61 20 74 61 73 74 61 74 69 20 70 65 20 63 68 61 74 20 66 61 63 74 69 75 6e 65 20 27 2f 66 20 74 6f 67 66 2d 74 65 73 74 27 2c 20 69 6e 63 68 69 64 65 74 69 20 63 68 61 74 2d 75 6c 20 66 61 63 74 69 75 6e 69 69 20 73 69 20 69 6e 63 65 70 65 74 69 20 74 65 73 74 75 6c 20 70 72 6f 70 72 69 75 2d 7a 69 73 20 28 27 2f 69 6e 74 72 6f 27 29 2e 0d 0a 20 7b 46 46 30 30 30 46 7d 28 21 29 20 7b 46 46 46 46 46 46 7d 20 44 61 63 61 20 63 65 6c 20 74 65 73 74 61 74 20 73 74 61 20 41 46 4b 20 28 63 6c 65 70 73 69 64 72 61 20 76 69 7a 69 62 69 6c 61 29 20 70 72 6f 63 65 64 61 74 69 20 69 6e 20 66 65 6c 75 6c 20 75 72 6d 61 74 6f 72 3a 20 28 21 29 20 20 28 21 29 0d 0a 20 7b 46 46 30 30 30 46 7d 28 21 29 20 7b 46 46 46 46 46 46 7d 20 44 61 63 61 20 61 63 65 73 74 61 20 73 74 61 20 41 46 4b 20 69 6e 74 72 65 20 31 30 2d 32 30 20 73 65 63 75 6e 64 65 20 69 6c 20 61 76 65 72 69 7a 61 74 69 20 63 61 20 64 61 63 61 20 73 65 20 76 61 20 6d 61 69 20 70 75 6e 65 20 76 61 20 66 69 20 50 49 43 41 54 20 5b 2e 2e 2e 5d 0d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 5b 2e 2e 2e 5d 28 49 6e 73 61 20 64 75 70 61 20 63 65 20 69 6c 20 61 76 65 72 74 69 7a 61 74 69 2c 20 76 6f 69 20 63 61 20 74 65 73 74 65 72 69 20 64 75 70 61 20 61 63 65 61 73 74 61 20 61 76 65 74 69 20 6f 62 6c 69 67 61 74 69 61 20 73 61 20 76 61 20 6f 70 72 69 74 69 20 70 65 20 6c 6f 63 20 69 6e 20 63 61 7a 20 63 61 20 76 61 20 70 6c 69 6d 62 61 74 69 20 69 6e 20 74 69 6d 70 75 6c 20 74 65 73 74 75 6c 75 69 20 73 69 20 61 73 61 20 73 61 20 63 6f 6e 74 69 6e 75 61 74 69 20 74 65 73 74 75 6c 21 0d 0a 20 7b 46 46 30 30 30 46 7d 28 21 29 20 7b 46 46 46 46 46 46 7d 20 44 61 63 61 20 61 63 65 73 74 61 20 73 74 61 20 41 46 4b 20 70 65 73 74 65 20 32 30 20 73 65 63 75 6e 64 65 20 76 61 20 66 69 20 64 69 72 65 63 74 20 70 69 63 61 74 2e 00
00
end

:comenziutile
hex
7b 39 37 46 46 30 30 7d 20 69 6e 74 72 6f 20 20 20 20 20 20 2d 20 69 6e 74 72 6f 64 75 63 65 72 65 20 69 6e 20 74 65 73 74 0d 0a 7b 39 37 46 46 30 30 7d 20 72 65 73 70 69 6e 73 20 20 2d 20 61 6e 75 6e 74 69 20 6a 75 63 61 74 6f 72 75 6c 20 63 61 20 65 20 72 65 73 70 69 6e 73 20 70 65 20 63 68 61 74 20 6e 6f 72 6d 61 6c 20 73 69 20 2f 66 0d 0a 7b 39 37 46 46 30 30 7d 20 61 63 63 65 70 74 61 74 20 20 20 2d 20 61 6e 75 6e 74 69 20 6a 75 63 61 74 6f 72 20 63 61 20 65 20 61 63 63 65 70 74 61 74 20 70 65 20 63 68 61 74 20 6e 6f 72 6d 61 6c 20 73 69 20 2f 66 20 28 46 61 72 61 20 49 44 2c 20 72 61 6d 61 6e 65 20 73 61 6c 76 61 74 20 64 69 6e 20 2f 69 6e 74 72 6f 29 0d 0a 7b 39 37 46 46 30 30 7d 20 74 6f 20 20 20 20 20 20 20 2d 20 5b 2f 74 75 72 6e 20 6f 6e 5d 0d 0a 7b 39 37 46 46 30 30 7d 20 74 66 20 20 20 20 20 20 20 2d 20 5b 2f 74 75 72 6e 20 6f 66 66 5d 0d 0a 7b 39 37 46 46 30 30 7d 20 74 74 20 20 20 20 20 20 20 2d 20 6a 75 63 61 74 6f 72 75 6c 20 74 72 65 63 65 20 74 65 73 74 20 74 65 6f 72 65 74 69 63 0d 0a 7b 39 37 46 46 30 30 7d 20 74 70 20 20 20 20 20 20 20 2d 20 6a 75 63 61 74 6f 72 75 6c 20 74 72 65 63 65 20 74 65 73 74 20 70 72 61 63 74 69 63 0d 0a 7b 39 37 46 46 30 30 7d 20 70 70 20 20 20 20 20 20 20 2d 20 6a 75 63 61 74 6f 72 75 6c 20 70 69 63 61 20 74 65 73 74 75 6c 20 70 72 61 63 74 69 63 0d 0a 7b 39 37 46 46 30 30 7d 20 70 74 20 20 20 20 20 20 20 2d 20 6a 75 63 61 74 6f 72 75 6c 20 70 69 63 61 20 74 65 73 74 75 6c 20 74 65 6f 72 65 74 69 63 0d 0a 7b 39 37 46 46 30 30 7d 20 70 72 67 75 6e 20 2d 20 74 65 73 74 20 70 72 61 63 74 69 63 20 67 75 6e 0d 0a 7b 39 37 46 46 30 30 7d 20 70 72 66 6c 79 20 2d 20 74 65 73 74 20 70 72 61 63 74 69 63 20 66 6c 79 0d 0a 7b 39 37 46 46 30 30 7d 20 70 72 62 6f 61 74 20 2d 20 74 65 73 74 20 70 72 61 63 74 69 63 20 62 6f 61 74
00
end

:testepractice
hex
2f 2f 70 72 61 63 74 69 63 20 67 75 6e 20 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 22 41 63 75 6d 2c 20 63 61 20 61 69 20 74 72 65 63 75 74 20 74 65 73 74 75 6c 20 74 65 6f 72 65 74 69 63 2c 20 75 72 6d 65 61 7a 61 20 63 65 6c 20 70 72 61 63 74 69 63 2e 22 0d 0a 22 54 65 20 72 6f 67 20 73 61 20 66 69 69 20 66 6f 61 72 74 65 20 61 74 65 6e 74 20 69 6e 20 74 69 6d 70 75 6c 20 74 65 73 74 75 6c 75 69 20 73 69 20 73 61 20 74 65 20 63 6f 6e 63 65 6e 74 72 65 7a 69 20 61 73 75 70 72 61 20 6c 75 69 2e 22 0d 0a 22 54 72 65 62 75 69 65 20 73 61 20 73 63 72 69 69 20 73 69 20 63 6f 6d 65 6e 7a 69 6c 65 2c 20 69 6e 73 61 20 6c 65 20 76 65 69 20 73 63 72 69 65 20 63 75 20 27 2e 27 20 64 65 6f 61 72 65 63 65 20 6e 75 20 61 69 20 61 63 63 65 73 20 6c 61 20 65 6c 65 2e 22 0d 0a 22 45 78 65 6d 70 6c 75 3a 20 27 2e 73 74 61 72 74 6c 65 73 73 6f 6e 27 2c 20 27 2e 73 74 6f 70 6c 65 73 73 6f 6e 27 2c 20 27 2e 67 69 76 65 6c 69 63 65 6e 73 65 27 2e 22 0d 0a 22 4c 69 63 65 6e 74 61 20 73 65 20 6f 66 65 72 61 20 61 75 74 6f 6d 61 74 20 64 75 70 61 20 63 65 20 61 69 20 74 61 73 74 61 74 20 63 6f 6d 61 6e 64 61 20 5b 2f 67 6e 31 32 5d 2e 22 0d 0a 22 41 63 75 6d 20 63 61 20 74 69 2d 61 6d 20 65 78 70 6c 69 63 61 74 20 74 6f 74 20 63 65 20 74 72 65 62 75 69 65 2c 20 74 65 20 72 6f 67 20 73 61 2d 6d 69 20 73 69 6d 75 6c 65 7a 69 20 6c 69 63 65 6e 74 61 20 64 65 20 67 75 6e 2e 22 0d 0a 0d 0a 2f 2f 70 72 61 63 74 69 63 20 66 6c 79 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 22 41 63 75 6d 2c 20 63 61 20 61 69 20 74 72 65 63 75 74 20 74 65 73 74 75 6c 20 74 65 6f 72 65 74 69 63 2c 20 75 72 6d 65 61 7a 61 20 63 65 6c 20 70 72 61 63 74 69 63 2e 22 0d 0a 22 54 65 20 72 6f 67 20 73 61 20 66 69 69 20 66 6f 61 72 74 65 20 61 74 65 6e 74 20 69 6e 20 74 69 6d 70 75 6c 20 74 65 73 74 75 6c 75 69 20 73 69 20 73 61 20 74 65 20 63 6f 6e 63 65 6e 74 72 65 7a 69 20 61 73 75 70 72 61 20 6c 75 69 2e 22 0d 0a 22 54 72 65 62 75 69 65 20 73 61 20 73 63 72 69 69 20 73 69 20 63 6f 6d 65 6e 7a 69 6c 65 2c 20 69 6e 73 61 20 6c 65 20 76 65 69 20 73 63 72 69 65 20 63 75 20 27 2e 27 20 64 65 6f 61 72 65 63 65 20 6e 75 20 61 69 20 61 63 63 65 73 20 6c 61 20 65 6c 65 2e 22 0d 0a 22 45 78 65 6d 70 6c 75 3a 20 27 2e 73 74 61 72 74 6c 65 73 73 6f 6e 27 2c 20 27 2e 73 74 6f 70 6c 65 73 73 6f 6e 27 2c 20 27 2e 67 69 76 65 6c 69 63 65 6e 73 65 27 2e 22 0d 0a 22 4c 69 63 65 6e 74 61 20 73 65 20 6f 66 65 72 61 20 61 75 74 6f 6d 61 74 20 64 75 70 61 20 63 65 20 61 69 20 74 61 73 74 61 74 20 63 6f 6d 61 6e 64 61 20 5b 2f 66 6c 31 32 5d 2e 22 0d 0a 22 41 63 75 6d 20 63 61 20 74 69 2d 61 6d 20 65 78 70 6c 69 63 61 74 20 74 6f 74 20 63 65 20 74 72 65 62 75 69 65 2c 20 74 65 20 72 6f 67 20 73 61 2d 6d 69 20 73 69 6d 75 6c 65 7a 69 20 6c 69 63 65 6e 74 61 20 64 65 20 66 6c 79 2e 22 0d 0a 0d 0a 2f 2f 70 72 61 63 74 69 63 20 62 6f 61 74 20 20 20 20 20 20 20 20 20 20 20 20 0d 0a 22 41 63 75 6d 2c 20 63 61 20 61 69 20 74 72 65 63 75 74 20 74 65 73 74 75 6c 20 74 65 6f 72 65 74 69 63 2c 20 75 72 6d 65 61 7a 61 20 63 65 6c 20 70 72 61 63 74 69 63 2e 22 0d 0a 22 54 65 20 72 6f 67 20 73 61 20 66 69 69 20 66 6f 61 72 74 65 20 61 74 65 6e 74 20 69 6e 20 74 69 6d 70 75 6c 20 74 65 73 74 75 6c 75 69 20 73 69 20 73 61 20 74 65 20 63 6f 6e 63 65 6e 74 72 65 7a 69 20 61 73 75 70 72 61 20 6c 75 69 2e 22 0d 0a 22 54 72 65 62 75 69 65 20 73 61 20 73 63 72 69 69 20 73 69 20 63 6f 6d 65 6e 7a 69 6c 65 2c 20 69 6e 73 61 20 6c 65 20 76 65 69 20 73 63 72 69 65 20 63 75 20 27 2e 27 20 64 65 6f 61 72 65 63 65 20 6e 75 20 61 69 20 61 63 63 65 73 20 6c 61 20 65 6c 65 2e 22 0d 0a 22 45 78 65 6d 70 6c 75 3a 20 27 2e 73 74 61 72 74 6c 65 73 73 6f 6e 27 2c 20 27 2e 73 74 6f 70 6c 65 73 73 6f 6e 27 2c 20 27 2e 67 69 76 65 6c 69 63 65 6e 73 65 27 2e 22 0d 0a 22 4c 69 63 65 6e 74 61 20 73 65 20 6f 66 65 72 61 20 61 75 74 6f 6d 61 74 20 64 75 70 61 20 63 65 20 61 69 20 74 61 73 74 61 74 20 63 6f 6d 61 6e 64 61 20 5b 2f 62 74 38 5d 2e 22 0d 0a 22 41 63 75 6d 20 63 61 20 74 69 2d 61 6d 20 65 78 70 6c 69 63 61 74 20 74 6f 74 20 63 65 20 74 72 65 62 75 69 65 2c 20 74 65 20 72 6f 67 20 73 61 2d 6d 69 20 73 69 6d 75 6c 65 7a 69 20 6c 69 63 65 6e 74 61 20 64 65 20 62 6f 61 74 2e 22 0d 0a 00
00
end

:greseli
hex
7b 66 66 30 30 30 30 7d 23 20 7b 66 66 66 66 66 66 7d 44 61 63 61 20 74 61 73 74 61 74 69 20 63 6f 6d 61 6e 64 61 20 7b 66 66 30 30 30 30 7d 5b 2f 74 65 73 74 65 
72 63 6d 64 5d 20 7b 66 66 66 66 66 66 7d 2c 20 6f 20 73 61 20 76 65 64 65 74 69 20 63 61 20 61 75 20 66 6f 73 74 20 61 64 61 75 67 61 74 65 20 74 72 65 69 20 6e 
6f 69 20 63 6f 6d 65 6e 7a 69 2c 20 65 75 20 73 70 75 6e 20 63 61 20 64 65 73 74 75 6c 20 64 65 20 75 74 69 6c 65 20 70 65 6e 74 72 75 20 76 6f 69 2c 20 61 63 65 
6c 65 61 20 66 69 69 6e 64 20 3a 0d 0a 7b 66 66 30 30 30 30 7d 5b 2f 73 65 74 67 72 5d 20 2d 20 7b 66 66 66 66 66 66 7d 53 65 74 65 7a 69 20 67 72 65 73 65 6c 69 
6c 65 20 70 65 20 63 61 72 65 20 75 6e 20 6a 75 63 61 74 6f 72 20 6c 65 20 61 63 75 6d 75 6c 65 61 7a 61 20 69 6e 20 74 69 6d 70 75 6c 20 74 65 73 74 75 6c 75 69 
0d 0a 7b 66 66 30 30 30 30 7d 5b 2f 74 67 72 5d 20 20 20 2d 20 7b 66 66 66 66 66 66 7d 41 66 69 73 65 7a 69 20 67 72 65 73 65 6c 69 6c 65 20 6a 75 63 61 74 6f 72 
75 6c 75 69 20 61 63 75 6d 75 6c 61 74 65 2c 20 69 6e 20 63 61 7a 20 64 65 20 70 72 6f 62 61 62 69 6c 20 61 69 20 75 69 74 61 74 20 73 61 75 20 73 2d 61 20 61 63 
6f 72 64 61 74 20 63 6c 65 61 72 20 63 68 61 74 0d 0a 7b 66 66 30 30 30 30 7d 5b 2f 72 65 73 65 74 67 72 5d 20 2d 20 7b 66 66 66 66 66 66 7d 52 65 73 65 74 65 7a 
69 20 67 72 65 73 65 6c 69 6c 65 20 6c 61 20 30 2e 0d 0a 7b 66 66 30 30 30 30 7d 52 65 74 69 6e 65 74 69 20 61 73 74 61 20 66 6f 61 72 74 65 20 62 69 6e 65 3a 20 
49 6e 61 69 6e 74 65 20 64 65 20 66 69 65 63 61 72 65 20 74 65 73 74 20 66 6f 6c 6f 73 69 74 69 20 2f 72 65 73 65 74 67 72 20 70 65 6e 74 72 75 20 61 20 6e 75 20 
61 70 61 72 65 61 20 70 72 6f 62 6c 65 6d 65 2e 20 43 6f 6d 61 6e 64 61 20 2f 73 65 74 67 72 20 6f 20 76 65 74 69 20 66 6f 6c 6f 73 69 20 69 6e 20 66 65 6c 75 6c 
20 75 72 6d 61 74 6f 72 3a 20 2f 73 65 74 67 72 20 30 20 35 0d 0a 7b 66 66 30 30 30 30 7d 4e 75 20 70 75 6e 65 74 69 20 70 75 6e 63 74 20 69 6e 74 72 65 20 30 20 
73 69 20 35 2c 20 6f 20 76 65 74 69 20 74 61 73 74 61 20 63 75 20 73 70 61 74 69 75 2c 20 63 61 20 64 65 20 65 78 65 6d 70 6c 75 3a 20 31 20 35 2c 20 32 20 30 2c 
20 33 20 30 2e 20 53 70 6f 72 20 6c 61 20 74 65 73 74 65 21
00
end

:intrebari
hex
31 2e 20 43 65 20 65 73 74 65 20 27 53 63 68 6f 6f 6c 20 49 6e 73 74 72 75 63 74 6f 72 73 20 53 61 6e 20 46 69 65 72 72 6f 27 20 73 69 20 63 75 20 63 65 20 73 65 20 6f 63 75 70 61 3f 0d 0a 32 2e 20 53 70 75 6e 65 2d 6d 69 20 34 20 63 6f 6d 65 6e 7a 69 20 44 4f 41 52 20 64 69 6e 20 63 61 64 72 75 6c 20 27 53 63 68 6f 6f 6c 20 49 6e 73 74 72 75 63 74 6f 72 73 27 2e 0d 0a 33 2e 20 43 61 74 20 74 69 6d 70 20 74 72 65 62 75 69 65 20 73 61 20 70 61 73 74 72 65 7a 69 20 64 6f 76 65 7a 69 6c 65 20 63 75 20 6c 69 63 65 6e 74 65 6c 65 20 64 61 74 65 3f 0d 0a 34 2e 20 43 75 69 20 61 69 20 76 6f 69 65 20 73 61 20 61 63 6f 72 7a 69 20 6c 69 63 65 6e 74 65 20 66 61 72 61 20 74 65 73 74 3f 0d 0a 35 2e 20 43 61 72 65 20 65 73 74 65 20 69 6e 74 65 72 76 61 6c 75 6c 20 6f 72 61 72 20 69 6e 20 63 61 72 65 20 73 65 20 70 6f 61 74 65 20 76 6f 72 62 69 20 66 61 72 61 20 72 65 73 74 69 63 74 69 69 20 70 65 20 5b 2f 69 6e 5d 20 3f 0d 0a 36 2e 20 43 75 20 63 65 20 65 73 74 69 20 73 61 6e 63 74 69 6f 6e 61 74 20 64 61 63 61 20 6e 75 20 61 6e 75 6e 74 69 20 70 65 20 5b 2f 69 6e 5d 20 63 61 6e 64 20 61 63 6f 72 7a 69 20 6c 69 63 65 6e 74 61 20 66 61 72 61 20 74 65 73 74 3f 0d 0a 37 2e 20 43 75 20 63 65 20 65 73 74 69 20 73 61 6e 63 74 69 6f 6e 61 74 20 64 61 63 61 20 6f 66 65 72 69 20 6c 69 63 65 6e 74 65 61 20 64 65 20 74 69 70 20 47 75 6e 20 61 74 75 6e 63 69 20 63 61 6e 64 20 61 69 20 77 61 6e 74 65 64 20 33 20 3f 0d 0a 38 2e 20 43 61 74 20 74 69 6d 70 20 74 72 65 62 75 69 65 20 73 61 20 73 74 61 69 20 63 6f 6e 65 63 74 61 74 20 70 65 20 73 65 72 76 65 72 20 64 75 70 61 20 6f 66 65 72 69 72 65 61 20 75 6e 65 69 20 6c 69 63 65 6e 74 65 3f 0d 0a 39 2e 20 43 75 20 63 65 20 65 73 74 69 20 73 61 6e 63 74 69 6f 6e 61 74 20 64 61 63 61 20 6f 66 65 72 69 20 6c 69 63 65 6e 74 61 20 64 65 20 27 46 6c 79 27 20 69 6e 20 6d 61 69 20 70 75 74 69 6e 20 64 65 20 32 35 20 64 65 20 73 65 63 75 6e 64 65 3f 0d 0a 31 30 2e 20 43 61 74 65 20 74 65 73 74 65 20 70 6f 61 74 65 20 63 65 72 65 20 75 6e 20 27 52 65 73 70 6f 6e 73 61 62 69 6c 27 20 70 65 20 7a 69 20 61 63 65 6c 75 69 61 73 69 20 6a 75 63 61 74 6f 72 3f 0d 0a 31 31 2e 20 43 61 72 65 20 65 73 74 65 20 73 61 6e 63 74 69 75 6e 65 61 20 63 61 72 65 20 6f 20 70 72 69 6d 65 73 74 69 20 64 61 63 61 20 6e 75 20 61 69 20 72 61 70 6f 72 74 75 6c 20 63 6f 6d 70 6c 65 74 20 6c 61 20 52 61 6e 6b 20 31 3f 20 44 61 72 20 6c 61 20 52 61 6e 6b 20 32 2b 3f 0d 0a 31 32 2e 20 44 65 20 6c 61 20 63 65 20 72 61 6e 6b 20 61 69 20 76 6f 69 65 20 73 61 20 70 72 61 63 74 69 63 69 20 6a 6f 62 2d 75 72 69 20 69 6c 65 67 61 6c 65 3f 0d 0a 31 33 2e 20 43 61 74 65 20 63 65 72 65 72 69 20 64 65 20 69 6e 61 63 74 69 76 69 74 61 74 65 20 70 6f 74 69 20 61 76 65 61 20 70 65 20 6c 75 6e 61 3f 20 44 65 20 6c 61 20 63 65 20 72 61 6e 6b 20 70 6f 74 69 20 64 65 70 75 6e 65 20 6f 20 63 65 72 65 72 65 20 64 65 20 69 6e 61 63 74 69 76 69 74 61 74 65 3f 0d 0a 31 34 2e 20 43 75 20 63 65 20 65 73 74 69 20 73 61 6e 63 74 69 6f 6e 61 74 20 64 61 63 61 20 73 63 72 69 69 20 40 40 40 40 40 20 70 65 20 5b 2f 66 5d 3f 0d 0a 31 35 2e 20 4c 61 20 63 65 20 72 61 6e 6b 20 70 6f 74 69 20 6f 62 74 69 6e 65 20 66 75 6e 63 74 69 61 20 64 65 20 27 52 65 73 70 6f 6e 73 61 62 69 6c 69 27 2c 20 64 61 72 20 63 65 61 20 64 65 20 27 54 65 73 74 65 72 27 3f
00
end



//////////////////////////////////////////////////////////////////////////////////////

wait 0

 :intro1
 SAMP.IsCommandTyped(20@)
 if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
    0B36: samp 1@ = get_player_nickname 21@
    0AF5: write_string 1@ to_ini_file "cleo\tester_cmd.ini" section "Section" key "NumeJucator"
    26@ = true
else
    chatmsg "{FF0000}SYNTAX: {FFFFFF}/intro <ID>" -1
end
samp.CmdRet()

:prgun
25@ = true
SAMP.CmdRet()

:respins
27@ = true
SAMP.CmdRet()

:acceptat
28@ = true
SAMP.CmdRet() 

:prfly
29@ = true
SAMP.CmdRet()

:prboat
30@ = true
SAMP.CmdRet()

:r1
31@ = true
SAMP.CmdRet() 


 
//Intrebari 
:int1
   SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff}'School Instructors San Fierro' este o factiune pasnica ce se ocupa cu oferirea licentelor de [...]" -1 
chatmsg "{ffffff}[...] gun, fly si sailing in schimbul unei sume de bani, pe baza unui test acordat." -1
chatmsg "{27e885}Barem corectare: {ffffff}0.25p pentru lipsa factiune pasnica, licente de tip ..., suma de bani si pe baza unui test. " -1  
say "/cw 1. Ce este 'School Instructors San Fierro' si cu ce se ocupa?"   
SAMP.CmdRet

:int2
   SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff}/togin, /givelicense, /startlesson, /stoplesson si /in." -1 
chatmsg "{27e885}Barem corectare: {ffffff}0.25p pentru lipsa comanda. (nu conteaza daca zice sau nu ce fac ele)"
say "/cw 2. Spune-mi 4 comenzi DOAR din cadrul 'School Instructors'."
SAMP.CmdRet

:int3
   SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff}24 de ore" -1
chatmsg "{27e885}Barem corectare: {ffffff}1p pentru raspuns gresit." -1 
say "/cw 3.Cat timp trebuie sa pastrezi dovezile cu licentele date?"
SAMP.CmdRet

:int4
   SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff}Staff (admin/helper/lider), colegilor tai si Reborn." -1
chatmsg "{27e885}Barem corectare: {ffffff}0.5 pentru staff, cate 0.25 pentru reborn / colegi." -1 
say "/cw 4. Cui ai voie sa acorzi licente fara test?"
SAMP.CmdRet

:int5
SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff}22:00 - 12:00." -1
chatmsg "{27e885}Barem corectare: {ffffff}1p pentru raspuns gresit." -1 
say "/cw 5. Care este intervalul orar in care se poate vorbi fara restictii pe [/in] ?"
SAMP.CmdRet

:int6
   SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff}AV." -1
chatmsg "{27e885}Barem corectare: {ffffff}1p pentru raspuns gresit." -1 
say "/cw 6. Cu ce esti sanctionat daca nu anunti pe [/in] cand acorzi licenta fara test?"
SAMP.CmdRet

:int7
SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff}Esti sanctionat cu FW (Faction Warn)" -1
chatmsg "{27e885}Barem corectare: {ffffff} 1p pentru raspuns gresit." -1  
say "/cw 7. Cu ce esti sanctionat daca oferi licentea de tip Gun atunci cand ai wanted 3?"
SAMP.CmdRet

:int8
SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff} 20 de secunde." -1
chatmsg "{27e885}Barem corectare: {ffffff} 1p pentru raspuns gresit." -1 
say "/cw 8. Cat timp trebuie sa stai conectat pe server dupa oferirea unei licente?"
SAMP.CmdRet

:int9
SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff}FW - Faction warn." -1
chatmsg "{27e885}Barem corectare: {ffffff} 1p pentru raspuns gresit." -1 
say "/cw 9. Cu ce esti sanctionat daca oferi licenta de 'Fly' in mai putin de 25 de secunde?"
SAMP.CmdRet

:int10
SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff}Doua teste pe zi." -1
chatmsg "{27e885}Barem corectare: {ffffff} 1p pentru raspuns gresit. " -1 
say "/cw 10. Cate teste poate cere un 'Responsabil' pe zi aceluiasi jucator?" 
SAMP.CmdRet

:int11
SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff}R1 = Uninvite. R2+ = FW." -1
chatmsg "{27e885}Barem corectare: {ffffff} 0.5p daca nu zice r1-uninvite, 0.5p daca nu zice r2+ fw." -1 
say "/cw 11. Care este sanctiunea care o primesti daca nu ai raportul complet la Rank 1? Dar la Rank 2+?" 
SAMP.CmdRet

:int12
SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff} De la rank 5+" -1
chatmsg "{27e885}Barem corectare: {ffffff} 1p. pentru raspuns dat gresit " -1 
say "/cw 12. De la ce rank ai voie sa practici job-uri ilegale?" 
SAMP.CmdRet

:int13
SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff} 1 cerere pe luna de la rank 2+" -1
chatmsg "{27e885}Barem corectare: {ffffff} 0.5p daca nu zice 1 cerere, 0.5p daca nu zice de la r2+" -1 
say "/cw 13. Cate cereri de inactivitate poti avea pe luna? De la ce rank poti depune o cerere de inactivitate?" 
SAMP.CmdRet

:int14
SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff} Esti sanctionat cu 'Amenda'." -1
chatmsg "{27e885}Barem corectare: {ffffff} 1p. pentru raspuns dat gresit, (nu cont ce tip de amenda zice)" -1 
say "/cw 14. Cu ce esti sanctionat daca scrii @@@@@ pe [/f]?" 
SAMP.CmdRet

:int15
SAMP.IsCommandTyped(20@)
chatmsg "{27e885}Raspuns: {ffffff}Responsabil poti primi de la rank 1 iar tester de la rank 4+." -1
chatmsg "{27e885}Barem corectare: {ffffff} 0.5p daca nu zice respo r1+, 0.5p daca nu zice tester r4+" -1 
say "/cw 15. La ce rank poti obtine functia de 'Responsabili', dar cea de 'Tester'?" 
SAMP.CmdRet

/////////////////////////////////////
:r2
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: /togin, /givelicense, /startlesson, /stoplesson si /in, acestea sunt cele 5 comenzi disponibile."  
SAMP.CmdRet

:r3
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: 24 de ore"  
SAMP.CmdRet

:r4
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: Staff (admin/helper/lider), colegilor tai si Reborn." 
SAMP.CmdRet

:r5
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: 22:00 - 12:00." 
SAMP.CmdRet

:r6
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: AV."
SAMP.CmdRet

:r7
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: Esti sanctionat cu FW (Faction Warn)"
SAMP.CmdRet

:r8
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: 20 de secunde."
SAMP.CmdRet

:r9
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: FW - Faction warn."
SAMP.CmdRet

:r10
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: Doua teste pe zi."
SAMP.CmdRet

:r11
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: R1 = Uninvite. R2+ = FW."
SAMP.CmdRet

:r12
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: De la rank 5+"
SAMP.CmdRet

:r13
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: 1 cerere pe luna de la rank 2+"
SAMP.CmdRet

:r14
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: Esti sanctionat cu 'Amenda'."
SAMP.CmdRet

:r15
SAMP.IsCommandTyped(20@)
say "/cw Raspuns: Responsabil poti primi de la rank 1 iar tester de la rank 4+."
SAMP.CmdRet

/////////////////////////////////////

:next
SAMP.IsCommandTyped(20@)
say "/cw Felicitari! Ai trecut testul teoretic. Urmeaza cel practic!" 
SAMP.CmdRet

:tt
SAMP.IsCommandTyped(20@)
say "/cw Felicitari! Ai trecut testul teoretic. Urmeaza cel practic!" 
SAMP.CmdRet

:pt
   SAMP.IsCommandTyped(20@)
say "/cw Picat! Din pacate ai picat testul, pregateste-te mai bine pe viitor. Succes!" 
SAMP.CmdRet

:tp
   SAMP.IsCommandTyped(20@)
say "Felicitari! Ai trecut testul practic cu succes!"
SAMP.CmdRet

:pp
SAMP.IsCommandTyped(20@)
say "Picat! Din pacate ai picat testul practic!"
SAMP.CmdRet

:to
   SAMP.IsCommandTyped(20@)
say "/turn on"
SAMP.CmdRet

:tf
   SAMP.IsCommandTyped(20@)                                                 
say "/turn off"
SAMP.CmdRet


//=========================================================
:cmd_36
for 0@ = 0 to 99  
wait 0
0af8: "" -1
end
0b43: 
//=========================================================

//=========================================================
:setgr           
SAMP.IsCommandTyped(20@)
if
    0AD4: 20@ = scan_string 20@ format "%d %d" 11@ 12@
    then
        0AF0: 0@ = get_int_from_ini_file "cleo\tester_cmd.ini" section "Section" key "Greseli"
        0AF1: write_int 11@ to_ini_file "cleo\tester_cmd.ini" section "Section" key "Greseli"
        0AF1: write_int 12@ to_ini_file "cleo\tester_cmd.ini" section "Section" key "Greselii"
        chatmsg "{FF0000}>> {ffffff}Ai setat {ff1100}%d.%d/3{ffffff} greseli." -1 11@ 12@
        wait 0
        say "/cw Acum ai acumulat %d.%d/3 greseli." 11@ 12@
    else
        chatmsg "{FF0000}SYNTAX: {ffffff}/setgr <greseli acumulate x (spatiu) y>" -1
        chatmsg "{FF0000}Exemplu: {ffffff}/setgr 1.5  (vei seta 1.5/3 greseli)" -1
end
SAMP.CmdRet()

:tgr                                                                                                      
alloc 1@ 400 
alloc 2@ 400 
0AF4: 1@ = read_string_from_ini_file "cleo\tester_cmd.ini" section "Section" key "Greseli" 
0AF4: 2@ = read_string_from_ini_file "cleo\tester_cmd.ini" section "Section" key "Greselii"
chatmsg "{ffffff}Greseli setate -> {ff96f1}%s{ffffff}.{ff96f1}%s{ffffff}/3." -1 1@ 2@ 
SAMP.CmdRet()

:rgr
SAMP.IsCommandTyped(20@)
    0AF1: write_int 0 to_ini_file "cleo\tester_cmd.ini" section "Section" key "Greseli"
    0AF1: write_int 0 to_ini_file "cleo\tester_cmd.ini" section "Section" key "Greselii" 
    chatmsg "{FF0000}(!) {ffffff}Greselile au fost resetate. Spor la urmatorul {40ff00}test!{ffffff}!" -1
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 "{27e885}>> Tester CMD SISF. Usage: {ffffff}[/testercmd]{27e885}!" -1 
ret 0