Search results

  1. M

    CLEO Help Stop loop when message appears on chat

    So, I made loop but I want it to auto disable when certain message appears on chat. Here is code, what I do wrong that it doesn't auto stop? {$CLEO .cs} 0000: while not SAMP.Available() wait 100 end 0AC8: 0@ = allocate_memory_size 250 0AC8: 1@ = allocate_memory_size 250 WHILE TRUE WAIT 0...
  2. M

    CLEO Help Send command if chat message appear.

    What I do wrong? I want command to trigger if chat message appear. On lua. function onAddChatMessage(text) if (text == '*Bodyguard Name Surname wants to protect you for $200, type /accept bodyguard to accept.') then sendCommand('/accept bodyguard') end return false end
Top