#1 18-01-2016 20:03

mhailescu.denis
Registered: 18-01-2016
Posts: 1

/find spammer

Hello, I needed to stay AFK on a SAMP server and make skill on detective so I decided to make(edit) an /find 1 spammer
This is the .cs, why does crash?


{$CLEO .cs}

thread 'KEYBINDER'

repeat
wait 0
until SAMP.Available()

WHILE TRUE
WAIT 0 
    if
        31@ == 1
    then
        0AF9:   samp say_msg "/find 1"
        wait 120000 //120sec
    end
    if and
        0AB0:   key_pressed 123 //key f12
        8B21:   not samp is_chat_opened
    then
        if
            31@ == 0 
        then
            31@ = 1
            018C: play_sound 1083 at 0.0 0.0 0.0
        else          
            31@ = 0
            018C: play_sound 1084 at 0.0 0.0 0.0 
        end           
    end
END

Last edited by mhailescu.denis (18-01-2016 20:07)

Offline

Board footer

Powered by FluxBB