// This file was decompiled using sascm.ini published by Seemann (
http://sannybuilder.com/files/SASCM.rar) on 13.10.2007
{$VERSION 3.1.0027}
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
thread 'TEST'
const
COLOR_GREEN = 0xDD00
COLOR_RED = 0xFF0000
COLOR_ORANGE = 0xFF6F00
end
if not 1@ = SAMP.Base()
then 0A93: end_custom_thread
end
while not SAMP.Available()
wait 100
end
wait 0
//Commands
0B34: samp register_client_command "test" to_label @test
while true
wait 0
end
:test
0B35: samp 2@ = get_last_command_params
if 0AD4: 2@ = scan_string 2@ format "%d" 3@ //IF and SET
then
if 2@ >= 0
then
0B51: samp 4@ = pickup_handle_by_id 3@
0AF8: samp add_message_to_chat "pickup_handle_by_id: %d (Параметр: %d)" color COLOR_ORANGE 4@ 3@
wait 500
0B53: samp 4@ = pickup_id_by_handle 3@
0AF8: samp add_message_to_chat "pickup_id_by_handle: %d (Параметр: %d)" color COLOR_ORANGE 4@ 3@
wait 500
if
0AE3: 5@ = random_object_near_point 1200.35 -1753.41 13.59 in_radius 1.5 find_next 0
then
9@ = object.model(5@)
0AF8: samp add_message_to_chat "Handle: %d , ModelID: %d" color COLOR_GREEN 5@ 9@
end
end
end
0B43: cmd_ret