Jump to content

BtwAdytzu

Donator
  • Posts

    25
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by BtwAdytzu

  1. Nume: Btw_Adytzu - Linkul catre profilul de website / RPG bar: https://www.rpg.b-zone.ro/players/general/Btw_Adytzu - Tipul de interviu dorit: Normal. - Numele celorlalți participanți (dacă există): - - Linkul catre profilul de website al participanților / RPG bar: - - Am luat la cunoștință regulile prezentate pe prima pagină: Da. - Alte precizări: -
  2. Nume: Btw_Adytzu - Linkul catre profilul de website / RPG bar: https://www.rpg.b-zone.ro/players/general/Btw_Adytzu - Tipul de interviu dorit: Normal. - Numele celorlalți participanți (dacă există): - - Linkul catre profilul de website al participanților / RPG bar: - - Am luat la cunoștință regulile prezentate pe prima pagină: Da. - Alte precizări: -
  3. Nume: Btw_Adytzu - Linkul catre profilul de website / RPG bar: https://www.rpg.b-zone.ro/players/general/Btw_Adytzu - Tipul de interviu dorit: Normal. - Numele celorlalți participanți (dacă există): - - Linkul catre profilul de website al participanților / RPG bar: - - Am luat la cunoștință regulile prezentate pe prima pagină: Da. - Alte precizări: -
  4. Thank you again for your help, both commands now work just fine, i had a problem where opcode 4C46 was not registered but i solved it with ChatGPT, so now i can FINALLY say the mod works normally without any type of errors or crashes, thank you again for your help, Here is the final code! {$CLEO} 0662: "Comenzi Scurte by EzeQ " thread "Comenzi Scurte by EzeQ " wait 2500 0B34: samp register_client_command "cs" to_label @cmd_cs 0B34: samp register_client_command "off" to_label @cmd_off 0B34: samp register_client_command "on" to_label @cmd_on 0B34: samp register_client_command "gj" to_label @cmd_gj 0B34: samp register_client_command "en" to_label @cmd_en 0B34: samp register_client_command "j" to_label @cmd_j 0B34: samp register_client_command "k" to_label @cmd_k 0B34: samp register_client_command "sc" to_label @cmd_sc 0B34: samp register_client_command "fill" to_label @cmd_fill 0B34: samp register_client_command "rr" to_label @cmd_rr 0B34: samp register_client_command "lm" to_label @cmd_lm 0B34: samp register_client_command "lp" to_label @cmd_lp 0B34: samp register_client_command "gg" to_label @cmd_gg 0B34: samp register_client_command "gk" to_label @cmd_gk 0B34: samp register_client_command "rrf1" to_label @cmd_rrf1 0AB1: call_scm_func @chatmsg 0 :cmd_cs1 wait 0 jump @cmd_cs :cmd_cs chatmsg "{FF9900}>-------------------------------{FFFFFF}[ Comenzi Scurte ]{FF9900}-------------------------------<" chatmsg "{FFFFFF}*{33FF00}/off {FFFFFF}=> /turn off" chatmsg "{FFFFFF}*{33FF00}/on {FFFFFF}=> /turn on" chatmsg "{FFFFFF}*{33FF00}/gj {FFFFFF}=> /getjob" chatmsg "{FFFFFF}*{33FF00}/en {FFFFFF}=> /engine" chatmsg "{FFFFFF}*{33FF00}/j {FFFFFF}=> /jobs" chatmsg "{FFFFFF}*{33FF00}/k {FFFFFF}=> /killcp" chatmsg "{FFFFFF}*{33FF00}/sc {FFFFFF}=> /spawnchange" chatmsg "{FFFFFF}*{33FF00}/fill {FFFFFF}=> /fill+/fillgascan" chatmsg "{FFFFFF}*{33FF00}/rr {FFFFFF}=> /repair+/refill" chatmsg "{FFFFFF}*{33FF00}/lm {FFFFFF}=> /leavemission" chatmsg "{FFFFFF}*{33FF00}/lp {FFFFFF}=> /leavepaintball" chatmsg "{FFFFFF}*{33FF00}/gg {FFFFFF}=> /getgift" chatmsg "{FFFFFF}*{33FF00}/gk {FFFFFF}=> /givekey" chatmsg "{FFFFFF}*{33FF00}/rrf1 {FFFFFF}=> /repair+/refill+/refillgascan 1$" chatmsg "{FF9900}>-------------------------------------------------------------------------<" SAMP.CmdRet() :cmd_off 0AF9: samp say_msg "/turn off" SAMP.CmdRet() :cmd_on 0AF9: samp say_msg "/turn on" SAMP.CmdRet() :cmd_gj 0AF9: samp say_msg "/getjob" SAMP.CmdRet() :cmd_en 0AF9: samp say_msg "/engine" SAMP.CmdRet() :cmd_j 0AF9: samp say_msg "/jobs" SAMP.CmdRet() :cmd_k 0AF9: samp say_msg "/killcp" SAMP.CmdRet() :cmd_sc 0AF9: samp say_msg "/spawnchange" SAMP.CmdRet() :cmd_fill 0AF9: samp say_msg "/fill" 0AF9: samp say_msg "/fillgascan" SAMP.CmdRet() :cmd_rr 0AF9: samp say_msg "/repair" 0AF9: samp say_msg "/refill" SAMP.CmdRet() :cmd_lm 0AF9: samp say_msg "/leavemission" SAMP.CmdRet() :cmd_lp 0AF9: samp say_msg "/leavepaintball" SAMP.CmdRet() :cmd_gg 0AF9: samp say_msg "/getgift" SAMP.CmdRet() :cmd_gk SAMP.IsCommandTyped(20@, 26@) if 0AD4: 20@ = scan_string 20@ format "%d" 21@ else_jump @error_gk say "/givekey %d" 21@ samp.CmdRet() :error_gk chatmsg "Error: Use /gk <id>" -1 samp.CmdRet() :cmd_rrf1 SAMP.IsCommandTyped(20@, 26@) if and 0AD4: 20@ = scan_string 20@ format "%d" 1@ 1@ > 0 else_jump @error_rrf1 0AF9: samp say_msg "/refill %d 1" 1@ 0AF9: samp say_msg "/repair %d 1" 1@ 0AF9: samp say_msg "/refillgascan %d 1" 1@ SAMP.CmdRet() :error_rrf1 chatmsg "Error: Use /rrf1 <id>" -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 "{FFFFFF}[Comenzi Scurte] {FFFF00}Comenzi scurte pentru playeri{FFFF00}." -1 chatmsg "{FFFF00}Foloseste {FFFFFF}[/cs] {FFFF00}pentru a vedea comenzile." -1 // Script name: RegisterOpcode4C46.cs 0000: NOP // This is a no-operation command and often used to mark the start of a script // Registering opcode 4C46 and creating a new thread THREAD 'NEWTHREAD' // Start of the new thread :NEWTHREAD 0001: wait 0 ms // Wait 0 milliseconds before executing the next line // Main loop :MAIN_LOOP 0001: wait 0 ms // Wait 0 milliseconds before executing the next line 00D6: if 0AB0: key_pressed 0x57 // Check if 'W' key is pressed 004D: jump_if_false @CHECK_CONDITIONS // If false, jump to the next condition check 00D6: if 0AB0: key_pressed 0x53 // Check if 'S' key is pressed 004D: jump_if_false @CHECK_CONDITIONS // If false, jump to the next condition check 00D6: if 0AB0: key_pressed 0x41 // Check if 'A' key is pressed 004D: jump_if_false @CHECK_CONDITIONS // If false, jump to the next condition check 00D6: if 0AB0: key_pressed 0x44 // Check if 'D' key is pressed 004D: jump_if_false @CHECK_CONDITIONS // If false, jump to the next condition check 004F: create_thread @CUSTOM_ACTION // Create a new thread to perform a custom action :CHECK_CONDITIONS 00D6: if 8118: not player $PLAYER_CHAR defined // Check if the player is not defined (example of OR condition) 004D: jump_if_false @MAIN_LOOP // If false, continue with the loop 004D: jump @END_SCRIPT // End the script if the player is not defined :CUSTOM_ACTION 0001: wait 0 ms // Wait for 0 milliseconds // Your custom action here 0002: jump @MAIN_LOOP // Jump back to the main loop :END_SCRIPT 0A93: end_custom_thread // Ends the current custom thread
  5. Salut Kelton, ti se pare normal asa ceva? https://imgur.com/a/KkpU5QB Efectiv 2 premii aruncate aiurea, sau poate unu daca chiar vrei sa o luam mai corect
  6. i could just remove the 2 commands but i would want to keep them because i think they are usefull and because Givekey from the original mod works, which now it doesn't and rrf1 from ttchelper also works, but not in this mod
  7. Thanks for the help, i used your code and the help from chatgpt and i got to a point where i installed Cleo 5 (Alpha version) and it works "i had Cleo 4.4 and it still crashes, the only issue is that rrf1 and gk freezez the game, Chatgpt cannot solve the issue from what i can see. This is the working code: {$CLEO} 0662: "Comenzi Scurte by EzeQ " thread "Comenzi Scurte by EzeQ " wait 2500 // Registering client commands 0B34: samp register_client_command "cs" to_label @cmd_cs 0B34: samp register_client_command "off" to_label @cmd_off 0B34: samp register_client_command "on" to_label @cmd_on 0B34: samp register_client_command "gj" to_label @cmd_gj 0B34: samp register_client_command "en" to_label @cmd_en 0B34: samp register_client_command "j" to_label @cmd_j 0B34: samp register_client_command "k" to_label @cmd_k 0B34: samp register_client_command "sc" to_label @cmd_sc 0B34: samp register_client_command "gk" to_label @cmd_gk 0B34: samp register_client_command "fill" to_label @cmd_fill 0B34: samp register_client_command "rrf1" to_label @cmd_rrf1 0B34: samp register_client_command "rr" to_label @cmd_rr 0B34: samp register_client_command "lm" to_label @cmd_lm 0B34: samp register_client_command "lp" to_label @cmd_lp 0B34: samp register_client_command "gg" to_label @cmd_gg :cmd_cs chatmsg "{FF9900}>-------------------------------{FFFFFF}[ Comenzi Scurte ]{FF9900}-------------------------------<" chatmsg "{FFFFFF}*{33FF00}/off {FFFFFF}=> /turn off" chatmsg "{FFFFFF}*{33FF00}/on {FFFFFF}=> /turn on" chatmsg "{FFFFFF}*{33FF00}/gj {FFFFFF}=> /getjob" chatmsg "{FFFFFF}*{33FF00}/en {FFFFFF}=> /engine" chatmsg "{FFFFFF}*{33FF00}/j {FFFFFF}=> /jobs" chatmsg "{FFFFFF}*{33FF00}/k {FFFFFF}=> /killcp" chatmsg "{FFFFFF}*{33FF00}/sc {FFFFFF}=> /spawnchange" chatmsg "{FFFFFF}*{33FF00}/gk {FFFFFF}=> /givekey <id>" chatmsg "{FFFFFF}*{33FF00}/fill {FFFFFF}=> /fill+/fillgascan" chatmsg "{FFFFFF}*{33FF00}/rrf1 {FFFFFF}=> /repair+/refill jucatorilor pentru 1$" chatmsg "{FFFFFF}*{33FF00}/rr {FFFFFF}=> /repair+/refill" chatmsg "{FFFFFF}*{33FF00}/lm {FFFFFF}=> /leavemission" chatmsg "{FFFFFF}*{33FF00}/lp {FFFFFF}=> /leavepaintball" chatmsg "{FFFFFF}*{33FF00}/gg {FFFFFF}=> /getgift" chatmsg "{FF9900}>-------------------------------------------------------------------------<" SAMP.CmdRet() :cmd_off 0AF9: samp say_msg "/turn off" SAMP.CmdRet() :cmd_on 0AF9: samp say_msg "/turn on" SAMP.CmdRet() :cmd_gj 0AF9: samp say_msg "/getjob" SAMP.CmdRet() :cmd_en 0AF9: samp say_msg "/engine" SAMP.CmdRet() :cmd_j 0AF9: samp say_msg "/jobs" SAMP.CmdRet() :cmd_k 0AF9: samp say_msg "/killcp" SAMP.CmdRet() :cmd_sc 0AF9: samp say_msg "/spawnchange" SAMP.CmdRet() :cmd_gk 0B2A: samp get_last_command_params 0@ 1@ if and 0AD4: 0@ = scan_string 0@ format "%d" 1@ 1@ > 0 then 0B36: samp 2@ = get_player_nickname 1@ if 2@ > 0 then 0AF9: samp say_msg "/givekey %s" 2@ else 0AF9: samp say_msg "~y~/gk <id>" 2000 end else 0AF9: samp say_msg "~y~/gk <id>" 2000 end SAMP.CmdRet() :cmd_fill 0AF9: samp say_msg "/fill" 0AF9: samp say_msg "/fillgascan" SAMP.CmdRet() :cmd_rrf1 0B2A: samp get_last_command_params 0@ 1@ if and 0AD4: 0@ = scan_string 0@ format "%d" 1@ 1@ > 0 then 0AF9: samp say_msg "/refill %d 1" 1@ 0AF9: samp say_msg "/repair %d 1" 1@ 0AF9: samp say_msg "/refillgascan %d 1" 1@ else 0AF9: samp say_msg "{ffa85c}Sintaxa: [/rrf1 <id>]." end SAMP.CmdRet() :cmd_rr 0AF9: samp say_msg "/repair" 0AF9: samp say_msg "/refill" SAMP.CmdRet() :cmd_lm 0AF9: samp say_msg "/leavemission" SAMP.CmdRet() :cmd_lp 0AF9: samp say_msg "/leavepaintball" SAMP.CmdRet() :cmd_gg 0AF9: samp say_msg "/getgift" SAMP.CmdRet()
  8. i compiled it, it saved but when i enter the game it crashes video:
  9. @ Tupi poate tu stii cum sa ma ajuti? Stiu ca ultima oara m-ai ajutat cu acel autosalut
  10. Descriere problema: Salut, facusem un ticket unde aveam o problema cu modul Cleo modificat de mine (este modul de comenzi scurte a lui EzeQ) am scos din el niste comenzi si am adaugat altele mai utile pentru b-zone. M-am folosit de ChatGPT sa corectez ce era gresit si acum cand dau compile merge, dar cand intru pe joc se blocheaza si imi iese din joc fara crash fara nimic. Ce pot sa ii fac? Poze / Video (optional): Cod (sursa pe baza caruia sa ajutam, daca e cazul): Pastebin: https://pastebin.com/FWdijjqP Alte precizări: Modul in fiecare comanda are 0B2A: samp get_last_command_params 0@ 1@ dupa fiecare cmd_ dar daca il inlocuiesc cu cel original adica (SAMP.IsCommandTyped(20@)) nu ii mai pot da compile
  11. Nick-ul tau:Adrian_Italianu Server:Singurul care a ramas? Descrierea bugului:Poti sa iti dai teleport cu masina de clan prin /cvs ---> [Vehicle] ---> Tow Screenshot(s): https://youtu.be/WpsMW7FNCHY
  12. Nick-ul tau:Adrian_Italianu Server:Rpg.b-zone.ro Descrierea bugului:Detin 20% din biz 66, vreau sa scot bani din seif si cica nu detin actiunui, cum e posibil? Screenshot(s): https://ibb.co/gP2CsT6 https://ibb.co/cgBKHLZ
  13. - Nume: Adrian_Italianu - Linkul catre profilul de website / RPG bar: https://www.rpg.b-zone.ro/players/general/Adrian_Italianu - Tipul de interviu dorit: Interviu Normal - Numele celorlalți participanți (dacă există): - - Linkul catre profilul de website al participanților / RPG bar: - - Am luat la cunoștință regulile prezentate pe prima pagină: Da - Alte precizări: None las varianta png de la rpg bar
  14. Numele din joc: Adrian_Italianu O scurtă descriere a animalului de companie: El este Simba si are 1 an. Il am de o luna si ceva (mai exact de pe 2 Septembrie). Toata ziua mananca si doarme, noapte are chef de joaca si nu ma lasa sa dorm dar eu il iubesc pentru ca este primul meu motan. Este foarte jucaus si nu are probleme cu lumea.
×
×
  • 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.