:Config
alloc 1@ 128
0B35: 0@ = get_last_command_params
0AD4: 0@ = scan_string 0@ format "%s %i" 1@ 2@
if 0@ > 0
then
if 0C21: stricmp string1 1@ string2 "posx"
then
if 0@ == 2
then
0AF1: write_int 2@ to_ini_file "cleo\inStream.ini" section "List" key "List.Pos.X"
else
0AF8: samp add_message_to_chat "{969696}Èñïîëüçóéòå:{646464} /config [posx] [value]" color 0x969696
end
end
if 0C21: stricmp string1 1@ string2 "posy"
then
if 0@ == 2
then
0AF1: write_int 2@ to_ini_file "cleo\inStream.ini" section "List" key "List.Pos.Y"
else
0AF8: samp add_message_to_chat "{969696}Èñïîëüçóéòå:{646464} /config [posy] [value]" color 0x969696
end
end
if 0C21: stricmp string1 1@ string2 "flags"
then
if 0@ == 2
then
0AF1: write_int 2@ to_ini_file "cleo\inStream.ini" section "Font" key "Font.Flags"
else
0AF8: samp add_message_to_chat "{969696}Èñïîëüçóéòå:{646464} /config [flags] [value]" color 0x969696
end
end
if 0C21: stricmp string1 1@ string2 "height"
then
if 0@ == 2
then
0AF1: write_int 2@ to_ini_file "cleo\inStream.ini" section "Font" key "Font.Height"
else
0AF8: samp add_message_to_chat "{969696}Èñïîëüçóéòå:{646464} /config [height] [value]" color 0x969696
end
end
else
0AF8: samp add_message_to_chat "{969696}Èñïîëüçóéòå:{646464} /config [key] [value]" color 0x969696
end
free 1@
cmdret