-
Posts
2560 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Calendar
Store
Downloads
Everything posted by Nic
-
Cu placere, Topic Closed!
-
Rezolvat.
-
Salut, intra in Sanny Builder 3 -> Tools -> options -> formats -> Case converting si selectezi As Is. Tu ai selectat UPPER, aia e valoarea default a sanny builder-ului din ceva motiv Salut @ South UHTRED , intra in Sanny Builder 3 -> Tools -> options -> formats -> Case converting si selectezi As Is. Tu ai selectat UPPER, aia e valoarea default a sanny builder-ului din ceva motiv
-
Salut @ daviid1 , daca ai trimite codul sursa m-ar ajuta enorm. Stiu de ce se intampla asta, dar sunt mai multe posibilitati si nu vreau sa te aburesc aiurea.
-
Snippet: //0AB1: call_scm_func @GetTickCount 0 _returnedTickCount 31@ - Exemplu de executare a functiei :GetTickCount 0AA2: 2@ = load_library "kernel32.dll" // IF and SET 31@ = 0 if 0AA4: 3@ = get_proc_address "GetTickCount" library 2@ // http://www.geoffchappell.com/studies/windows/win32/kernel32/api/index.htm https://msdn.microsoft.com/en-us/library/windows/desktop/ms724408(v=vs.85).aspx then 0AA7: call_function 3@ num_params 0 pop 0 31@ end 0AA3: free_library 2@ 0AB2: ret 1 31@ Explicația: Snippet-ul se foloseste de mai multe protocoale ale windows-ului si reuseste sa redea in milisecunde timpul exact de cand pc-ul este pornit. Sursa
-
Explicația: Cu ajutorul acestui snippet puteti vedea hp-ul masinii altor jucatori din apropiere, acest snippet poate fi foarte bine implementat intr-un mod pentru mecanici, care ar urma sa dea /repair doar la cei cu HP-ul sub 950. SAMP R1: :GetVehicleHealthByID { 0.3.7 R1 0AB1: @GetVehicleHealthByID 1 ID 995 _Returned: Health 0@ } IF 0AA2: 31@ = loadLib "samp.dll" //samp base offset THEN 31@ += 0x21A0F8 // SAMP_INFO_OFFSET 0A8D: 31@ = readmem 31@ sz 4 vp 0 31@ += 0x3CD // SAMP_PPOOLS_OFFSET 0A8D: 31@ = readmem 31@ sz 4 vp 0 31@ += 0x1C // SAMP_PPOOL_VEHICLE_OFFSET 0A8D: 31@ = readmem 31@ sz 4 vp 0 31@ += 0x1134 // SAMP_VEHICLE_STRUCT_ELEMENT_OFFSET 0@ *= 0x4 005A: 31@ += 0@ 0A8D: 31@ readMem 31@ sz 4 vp 0 IF 31@ > 0 THEN 31@ += 0x4C // SAMP_VEHICLE_STRUCT_OFFSET 0A8D: 31@ readMem 31@ sz 4 vp 0 31@ += 0x4C0 // SAMP_HEATLH_OFFSET 0A8D: 31@ readMem 31@ sz 4 vp 0 0AB2: ret 1 31@ END END 0AB2: ret 0 SAMP R2: :GetVehicleHealthByID { 0.3.7 R2 0AB1: @GetVehicleHealthByID 1 ID 995 _Returned: Health 0@ } IF 0AA2: 31@ = loadLib "samp.dll" //samp base offset THEN 31@ += 0x21A100 // SAMP_INFO_OFFSET 0A8D: 31@ = readmem 31@ sz 4 vp 0 31@ += 0x3C5 // SAMP_PPOOLS_OFFSET 0A8D: 31@ = readmem 31@ sz 4 vp 0 31@ += 0xC // SAMP_PPOOL_VEHICLE_OFFSET 0A8D: 31@ = readmem 31@ sz 4 vp 0 31@ += 0x1134 // SAMP_VEHICLE_STRUCT_ELEMENT_OFFSET 0@ *= 0x4 005A: 31@ += 0@ 0A8D: 31@ readMem 31@ sz 4 vp 0 IF 31@ > 0 THEN 31@ += 0x4C // SAMP_VEHICLE_STRUCT_OFFSET 0A8D: 31@ readMem 31@ sz 4 vp 0 31@ += 0x4C0 // SAMP_HEATLH_OFFSET 0A8D: 31@ readMem 31@ sz 4 vp 0 0AB2: ret 1 31@ END END 0AB2: ret 0
-
Rezolvate.
-
Salut. Nu e un bug, au trecut cele 90 de secunde in care aveai timp sa iei tagul si de aceea s-a resetat procentul.
-
T/C deschide alt topic daca mai ai nevoie de ajutor.
-
Salut @ AkenX , mai ai nevoie de ajutor?
-
Daca mai ai nevoie de ajutor deschide un alt topic. T/C
-
T/C, deschide alt topic daca mai ai nevoie de ajutor.
-
Asigura-te ca ai instalat corect Sanny Builder (+ ai adaugat folderu data in sa), asigura-te ca ai SAMPFUNCS 5.3 de preferat, CLEO 4.1-4.3, samp r1 si toate dll-urile necesare pentru samp.
-
da, nu primesti nici un mesaj in joc cand dai comanda, dar merge. Nu merge doar daca primesti mesaj de la server ca nu exista comanda
-
Merge foarte bine comanda, functioneaza, chiar daca nu face chiar ceea ce trebuie instaleaza-ti corect sanny builder-ul, ai un tutorial pe canalul de YouTube Nic B-Zone. Dupa ce reusesti mai vorbim despre functionalitatea modului.
-
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
-
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
-
salut! mai ai nevoie de ajutor?
-
salut! mai ai nevoie de ajutor?
-
T/C. Open another topic if you need more help.
-
You're welcome. T/C
-
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.
-
{$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
-
[CLEO] Get only first/last X characters of a string
Nic replied to Moderat's topic in Help and Discussions
@Moderatif you need any more help open another topic. T/C