Jump to content

Advent Calendar a început, detalii aici

Recrutăm designeri audio și video. Puteți aplica aici

 

Nic

Programmer
  • Content Count

    2496
  • Joined

  • Last visited

  • Days Won

    3

Nic last won the day on February 23 2020

Nic had the most liked content!

Community Reputation

773 Fantastic

About Nic

  • Rank
    Community Legend

Contact Methods

  • Website URL
    https://www.rpg2.b-zone.ro/players/general/Nic.eXe
  • Steam ID
    https://steamcommunity.com/id/Nick1338/
  • Discord
    nic#0842

Profile Information

  • Gender
    Male
  • Location
    in inima ta

Previous Fields

  • Real name
    Nicolas
  • RPG2 Nickname
    Nic.eXe

Recent Profile Visitors

21272 profile views
  1. Nic

    If you need any more help open another topic.
  2. 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.
  3. Nic

    Deschide alt topic daca mai ai nevoie de ajutor.
  4. Nic

    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.
  5. Nic

    {$CLEO} {$USE ini} 0000: NOP repeat wait 50 until 0AFA: is_samp_structures_available if 0AAB: file_exists "cleo\towcars.ini" then 0AF0: [email protected] = 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" [email protected] = 2 end 0B34: samp register_client_command "towcars" to_label @towcars [email protected] = 0 [email protected] = 0 while true wait 0 if [email protected] == 1 then if [email protected] == 1 then if [email protected] == 0 then if 001D: [email protected] > [email protected] then 0AF9: samp say_msg "/towcar" [email protected] = 1 else [email protected] = 0 end else if 0B4C: samp is_dialog_active -1 then 0B49: samp set_current_dialog_list_item [email protected] 0B47: samp close_current_dialog_with_button 1 [email protected] = 0 [email protected] += 1 end end end wait 60000 [email protected] = 1 [email protected] = 0 end end :towcars if [email protected] == 0 then [email protected] = 1 chatmsg "on" -1 else chatmsg "off" -1 [email protected] = 0 end samp.CmdRet
  6. Nic

    :sf SAMP.IsCommandTyped([email protected]) if 0AD4: [email protected] = scan_string [email protected] format "%d.%d" [email protected] [email protected] then say "/setfreq %d.%d" [email protected] [email protected] else chatmsg " USE: /sf <freq>" -1 end cmdret @Tupifix acum te apuca si pe tine sa postezi
  7. Nic

    am reparat modu puteti sa i dati 5 stele @SkyLog @eB Ryd3r @LLstylish.NSFW @A G E N T U R S
  8. Nic

    basic cleo mod structure, you need a repetitive structure in the mod for it to work. while true / repeat / for / :jump @Jump {$CLEO .cs} 0000: repeat wait 50 until 0AFA: is_samp_structures_available 0B34: samp register_client_command "cspawner" @cspawner WHILE TRUE wait 0 if [email protected] == 1 then say "/towcar" wait 20000 if 0B4C: samp is_dialog_active -1 then 0B49: samp set_current_dialog_list_item 15 0B47: samp close_current_dialog_with_button 1 [email protected] = 0 end end END  :cspawner [email protected] = 1 chatmsg "on" -1 samp.CmdRet
  9. Nic

    Open another topic if you need any more help.
  10. Nic

    {$CLEO .cs} 0000: repeat wait 50 until 0AFA: 0B34: "activation" @activation WHILE TRUE wait 0 if [email protected] == 1 then 0B79: samp set_chat_input_enabled 1 0B76: samp set_chat_input_text "towcars" 0C72: set_virtual_key 13 down true 0C72: set_virtual_key 13 down false wait 10000 end END :activation if [email protected] == 0 then 0AF8: "Spammer on" -1 [email protected] = 1 else 0AF8: "Spammer off" -1 [email protected] = 0 end 0B43: samp cmd_re You have an "Edit" button, it's not necessary to double/triple post.. It's fine now?
  11. Nic

    @Wixeek do you solved the problem?
  12. Nic

    https://forum.b-zone.ro/support/ -> Deschide un ticket aici. @CannonDale
  13. Nic

    so /towcars is a command from a mod and you want to type it every x seconds? If yes try replacing "say" with: 0C8F: samp process_chat_input "/towcars"
  14. Nic

    {$CLEO .cs} 0000: NOP REPEAT WAIT 0 UNTIL 0AFA: [email protected] = 0 0B34: samp register_client_command "activate" to_label @active WHILE TRUE WAIT 0 if [email protected] == 1 then say "/towcars" wait 3000 // wait 3 seconds (1 second = 1000 ms) end END :active IF [email protected] == 0 then chatmsg "Spammer on" -1 [email protected] = 1 else chatmsg "Spammer off" -1 [email protected] = 0 end cmdret
  15. Yes, it is. {$CLEO} {$INCLUDE SF} 0000: repeat wait 0 until SAMP.Available() 0BE3: raknet setup_incoming_rpc_hook @login while true wait 0 END :login 0BE5: raknet [email protected] = get_hook_param PARAM_PACKETID if [email protected] == RPC_ScrClientMessage then alloc [email protected] 256 0c11: memset destiantion [email protected] value 0 size 256 0BE5: raknet [email protected] = get_hook_param PARAM_BITSTREAM 0BE7: raknet [email protected] = bit_stream_read [email protected] type BS_TYPE_INT //color 0BE7: raknet [email protected] = bit_stream_read [email protected] type BS_TYPE_INT //lenght 0BE8: raknet bit_stream [email protected] read_array [email protected] size [email protected] //string 0C0D: struct [email protected] offset [email protected] size 1 = 0 if 0C29: $NOT_USED = stristr string1 [email protected] string2 "FREEDOM" then alloc [email protected] 50 0AA5: call 0x8220AD num_params 4 pop 4 [email protected] [email protected] "%s[%d]" [email protected] //[email protected]=nick | [email protected]=ID say "/release %d" [email protected] free [email protected] end free [email protected] end 0BE0: raknet hook_ret true P.S: You need SAMPFUNCS to use this function. Right now I don't have enough time for 'click in dialog' mod, I'll look into it in a couple of hours.
×

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.