Search results

  1. A

    CLEO Help WAIT problem

    Someone?
  2. A

    CLEO Help WAIT problem

    Edit: I have a problem ... The dialog what I want to select is DIALOG_STYLE_TABLIST_HEADERS no DIALOG_STYLE_LIST, so ... the itemlist cant be selected. ok, so .. when I use 0B54: samp 1@ = listbox_items_count the code show me 22 items, and the count is right.
  3. A

    CLEO Help WAIT problem

    Like this? :cmd_121 SAMP.IsCommandTyped(20@) wait 0 if 0AD4: 20@ = scan_string 20@ format "%d" 21@ then    0B36: samp 1@ = get_player_nickname 21@    30@ = SAMP.GetPlayerColor(21@)    0AF9: samp say_msg "/help"    0B49: samp set_current_dialog_list_item 3   else    chatmsg...
  4. A

    CLEO Help WAIT problem

    So .. to be clear what I want to do, I want to make a code who can pres the down arrow automatically to select an item from a dialog. But I need to pause a part of the code. Like This :cmd_121 SAMP.IsCommandTyped(20@) wait 0 if 0AD4: 20@ = scan_string 20@ format "%d" 21@ then    0B36: samp 1@...
  5. A

    CLEO Help WAIT problem

    So? How can I use it? An example?
  6. A

    CLEO Help WAIT problem

    Error function is working but the loop no, I put the loop before the first command, but he is not jump to Loop function from command check attachment.
  7. A

    CLEO Help WAIT problem

    So .. I put a debug message.. but is show only debug 1 when I type the command :ero wait 0 chatmsg "{0066ff}CopCMD: {ffffff}Foloseste /testdialog <ID>" -1 0@ = 0 //make the cmd var false SAMP.CmdRet() jump @loop :loop wait 0 if 0@ == 1 //check if the cmd var is true jf @loop chatmsg "debug 2"...
  8. A

    CLEO Help WAIT problem

    Hi, I want to pause my code for 5 seconds but when I initialize the command, the text is send immediate but, I want to wait 5 seconds after the code send the text. :cmd_121 SAMP.IsCommandTyped(20@) wait 0 if 0AD4: 20@ = scan_string 20@ format "%d" 21@ then    0B36: samp 1@ =...
Top