Jump to content

Nic

VIP
  • Posts

    2596
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Nic

  1. Si ceea ce ti-am trimis eu nu asta face? Nu am verificat in joc, dar in cod asa vad. Ti-am si dat register client command la /rra
  2. Eu nu inteleg ce comanda vrei sa ti recunoasca in joc daca tu ai dat register doar la 0B34: samp register_client_command "fvrr" to_label @cmd_fvrr comanda /fvrr, care in modu tau nu exista nicaieri?? {$CLEO} {$USE CLEO+} 0000: NOP repeat wait 50 until 0AFA: is_samp_structures_available 0b34: "rra" @rra 0b34: "fvrr" @fvrr 15@ = 0 0@ = 0 while true wait 0 //------------------------------linie pentru /fvr automat in 10 secunde cu mesaj----------------------(functional) wait 0 if 15@ == 1 then wait 10000 say "/fvr" 15@ = 0 end //------------------------------linie pentru repair & refill sa caute automat jucatorul in zona ---------------- if 0@ == 1 then for 1@ = 0 to 999 if SAMP.IsPlayerConnected(1@) then 2@ = SAMP.GetActorHandleByPlayerID(1@) 11@ = SAMP.GetPlayerColor(1@) if 056D: 2@ then 00A0: store_actor 2@ position_to 3@ 4@ 5@ 00A0: store_actor $PLAYER_ACTOR position_to 6@ 7@ 8@ 050A: 9@ = distance_between_XYZ 3@ 4@ 5@ and_XYZ 6@ 7@ 8@ if and Actor.Driving(2@) not 9@ > 10.0 not 11@ == 0xFFAA3333 //<---- Exclus hitman cu sau fara undercover activ then if or 11@ == 0xFFD7CE96 //<----- Coleg TTC 11@ == 0xD7CE96 //<------ -//- then say "/repair %d 1" 1@ say "/refill %d 1" 1@ wait 2000 say "/refillgascan %d 1" 1@ else say "/repair %d 50" 1@ say "/refill %d 50" 1@ wait 2000 say "/refillgascan %d 20" 1@ end wait 1000 end end end end 0@ = 0 end end // ---------------[comanda /rra]--------------------------- :rra if 0@ == 0 then 0@ = 1 else 0@ = 0 end SAMP.CmdRet :fvrr if 15@ == 0 then 15@ = 1 else 15@ = 0 end cmdret
  3. salut! mai ai nevoie de ajutor?
  4. salut! mai ai nevoie de ajutor?
  5. T/C. Open another topic if you need more help.
  6. Titlurile topicurilor din aceasta sectiune pot fi de 3 feluri: tutorial, creatie sau ajutor. Exemplu: [Tutorial PHP] Afisarea ultimei erori MySQL. [Creatie Javascript] Meniu. [Ajutor PHP] Parse error: parse error, unexpected ... De aceasta data nu te voi sanctiona, dar la urmatoarea abatere nu te iert. Ai grija pe viitor! P.S @iza: Dai edit la topicuri pana mai poti.
  7. {$CLEO} thread "scripter" 0000: repeat wait 0 until 0AFA: 0B63: "Name" 0B34: "Name" @Name while true wait 0 if 17@ == 1 then 0B28: 0 wait 1050 0B27: 1 17@ = 0 end end :Name if SAMP.IsCommandTyped(0@) then 0B29: name 0@ printf "Nume: %s" 4000 0@ 17@ = 1 else printf "Introdu un nume" 4000 end cmdret
  8. @Moderatif you need any more help open another topic. T/C
    ami dau 5 stele - daca vreti mapa pe M cu locatii: https://www.mediafire.com/file/ia3pb9bvvxvqgxh/map.zip/file linku e activ vreo 14 zile, daca mi amintesc postez mapa pe m .asi direct pe forum
  9. Daca mai ai nevoie de ajutor deschide un alt topic.
  10. @Squiz TTCesti sigur ca ai compilat modu care trebe si ca l ai bagat in joc? Imi merge perfect: {$CLEO .cs} 0000: NOP repeat wait 50 until SAMP.Available 0b34: ".fvr" @fvr chatmsg "mesaj de intrare in joc" 0xFFFFB870 while true wait 0 if 20@ == 1 then wait 10000 say "/cvr" 20@ = 0 end end :fvr 0AF9: samp say_msg "/C Atentie urmeaza [/cvr] automat in 10 secunde" 20@ = 1 SAMP.CmdRet()
  11. @halfastrcdo you want to keep the topic opened? it's kinda hard to create a mod like the one above, possible but hard and I don't have time for this.
  12. Verifica daca functioneaza asta, daca da, vrei sa faci sa intrebe de heal/rehab si mai apoi cand jucatorul raspunde sa ii dea? {$CLEO} {$USE CLEO} {$USE CLEO+} {$USE file} {$USE bitwise} {$USE newOpcodes} {$USE ini} 0662: "By" thread "Version" wait 2500 0B34: "paramedic" to_label @paramedic 0B34: "hm" to_label @hm 0B34: "rm" to_label @rm 0B34: "ambls" to_label @ambls 0B34: "amblv" to_label @amblv 0B34: "ambsf" to_label @ambsf 0B34: "ranger" to_label @ranger 0B34: "rain" to_label @rain chatmsg "Paramedics Mod - to activate use [/paraon]" -1 WHILE TRUE WAIT 0 IF 31@ == 1 THEN IF Actor.Driving($PLAYER_ACTOR) then 2@ = Actor.CurrentCar($PLAYER_ACTOR) FOR 0@ = 0 to 999 IF SAMP.IsPlayerConnected(0@) THEN IF 1@ = SAMP.GetActorHandleByPlayerID(0@) THEN 0B25: samp 8@ = get_player_health 0@ IF 8@ <= 96 THEN 03C0: 3@ = actor 1@ car IF 003B: 2@ == 3@ THEN 0B36: samp 17@ = get_player_nickname 0@ // 0AF9: samp say_msg "Salut, %s, doresti heal sau rehab?" 0@ 16@ = SAMP.GetPlayerColor(0@) // 0B36: samp 17@ = get_player_nickname 0@ if 16@ == 0xFFF29D9D then 0AF9: samp say_msg "./heal %d 1" 0@ chatmsg "Jucatorul la care i-ai dat heal se afla in Paramedics." -1 wait 2000 else if 16@ == 0xFF00FF78 then 0AF9: samp say_msg "./heal %d 50" 0@ chatmsg "Jucatorul la care i-ai dat heal se afla in School Instructors." -1 chatmsg "{FF0000}ATENTIE! VERIFICA DACA JUCATORUL SE AFLA IN SFSI, DACA SE AFLA, RETURNEAZA-I BANII!" -1 wait 2000 else 0AF9: samp say_msg "./heal %d 50" 0@ end end end end end end end end end end :paramedic 0B12: 31@ = 31@ XOR 1 If 31@ == 1 then chatmsg "Paramedics Mod a fost activat!" -1 else chatmsg "Paramedics Mod a fost dezactivat!" -1 end samp.CmdRet :hm SAMP.IsCommandTyped(20@) 0B2B: samp 1@ = get_player_id_by_actor_handle $PLAYER_ACTOR 0AF9: samp say_msg "./heal %d 1" 1@ SAMP.CmdRet() :rm SAMP.IsCommandTyped(20@) 0AF9: samp say_msg "./rehab me" SAMP.CmdRet() :ambls SAMP.IsCommandTyped(20@) 0AF9: samp say_msg "./r Ambulanta LS la mine" SAMP.CmdRet() :amblv SAMP.IsCommandTyped(20@) 0AF9: samp say_msg "./r Ambulanta LV la mine" SAMP.CmdRet() :ambsf SAMP.IsCommandTyped(20@) 0AF9: samp say_msg "./r Ambulanta SF la mine" SAMP.CmdRet() :ranger SAMP.IsCommandTyped(20@) 0AF9: samp say_msg "./r Paramedic Ranger la mine" SAMP.CmdRet() :rain SAMP.IsCommandTyped(20@) 0AF9: samp say_msg "./r Raindance la mine" SAMP.CmdRet()
  13. Np. If you need any more help open another topic.
  14. nu stiu pentru ce ii and ala acolo, la say nu stiu de ce ai pus 20@ dupa, nu ai nici un %s sau %d in comanda. {$CLEO .cs} 0000: NOP repeat wait 50 until SAMP.Available 0b34: "fvr" @fvr chatmsg "mesaj de intrare in joc" 0xFFFFB870 while true wait 0 if 20@ == 1 then wait 10000 say "/cvr" 20@ = 0 end end :fvr 0AF9: samp say_msg "/C Atentie urmeaza [/cvr] automat in 10 secunde" 20@ = 1 SAMP.CmdRet()
  15. Try format 12@v "q_x%d" 8@ 0AF2: get_float 15@ from_ini_file "CLEO\QHelp.ini" section "Storage" key 12@v
  16. Version 1.0

    102 downloads

    Ultimate QuestHelper Acest mod este făcut pentru a vă ușura quest-urile prin adăugarea posibilității de a crea un checkpoint și un marker pe mapa la fiecare obiect de la quest, acestea fiind vizibile inclusiv pe "Mapa pe M". Modul se folosește de un fișier .INI din care extrage informațiile necesare și le aplică în game, simplu și util. Comenzi disponibile Instrucțiuni de instalare Se adaugă fișierele "QHelp.cs" și "QHelp.ini" în folderul CLEO al jocului. Ultimul update QHelp - December locations.zip - Christmas Quest & Gift (16-31 Dec) locations by Nic Requirements SAMPFUNCS 5.2+ CLEO 4.1+ Alte precizari Dacă doriți eliminarea obiectelor de pe hartă după colectarea lor, intrați în fișierul QHelp.ini și înlocuiești 1="Introdu textul care apare pe chat cand colectezi un obiect." cu textul dorit. De exemplu: 1="You've already collected this gift, search for other places!" 2="Ai colectat deja acest cadou, cauta si in alte locuri!" Prezentarea modului Imagini din joc
  17. Nic

    Hello

    If you need any more help open another topic.
  18. Update - Nic Noiembrie 2021 Am actualizat paginile în conformitate cu update-ul 7.1.0 (https://www.rpg2.b-zone.ro/updates/server) Alte mici modificări făcute.
  19. Deschide alt topic daca mai ai nevoie de ajutor.
  20. 0A92: create_custom_thread "nume_mod.cs" // modifici din nume_mod in numele modului tau dupa cum ti-a zis si Tupi, numele de aici trebuie sa fie identic cu numele modului din CLEO. Incearca un nume cat mai simplu, fara spatii.
  21. Nic

    Hello

    {$CLEO} {$USE ini} 0000: NOP repeat wait 50 until 0AFA: is_samp_structures_available if 0AAB: file_exists "cleo\towcars.ini" then 0AF0: 9@ = get_int_from_ini_file "cleo\towcars.ini" section "towcars" key "masini" else 0AF1: write_int 2 to_ini_file "cleo\towcars.ini" section "towcars" key "masini" 9@ = 2 end 0B34: samp register_client_command "towcars" to_label @towcars 1@ = 0 4@ = 0 while true wait 0 if 5@ == 1 then if 1@ == 1 then if 4@ == 0 then if 001D: 9@ > 12@ then 0AF9: samp say_msg "/towcar" 4@ = 1 else 1@ = 0 end else if 0B4C: samp is_dialog_active -1 then 0B49: samp set_current_dialog_list_item 12@ 0B47: samp close_current_dialog_with_button 1 4@ = 0 12@ += 1 end end end wait 60000 1@ = 1 12@ = 0 end end :towcars if 5@ == 0 then 5@ = 1 chatmsg "on" -1 else chatmsg "off" -1 5@ = 0 end samp.CmdRet
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.