math.randomseed(os.time())
local list = {
400, 401, 402, 404, 405, 407, 409, 410, 411, 412, 415, 416, 419, 420, 421, 422, 423, 424, 426, 429, 434, 436, 438, 439, 442, 445, 451, 458, 466, 467, 470, 474, 475, 477, 478, 479, 480, 489, 490, 491, 492, 494, 495, 496, 500, 502, 503, 504, 505, 506, 507, 516, 517, 518, 525, 526, 527, 528, 529, 533, 534, 535, 536, 540, 541, 542, 543, 544, 545, 546, 547, 549, 550, 551, 552, 554, 555, 558, 559, 560, 561, 562, 565, 566, 567, 568, 575, 576, 579, 580, 585, 587, 589, 596, 597, 598, 599, 600, 602, 603, 604, 605
}
function main()
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand('pt',function(arg)
sampSendChat(string.format('%s %s %s','/серверная команда ',arg,list[math.random(#list)]))
end)
wait(-1)
end