function scm(param)
collspd = -1442814209
colfbi = -1436129537
colarmy = -1426807712
colmz = -1426102682
colcn = -1429419008
colym = -1432813568
colprvo = -1426063361
colcnn = -1426076570
coltm = -1442827418
colsfpd = -1442840448
colrm = -1439485133
colgrv = -1442788352
colbal = -1432813364
colvag = -1426076621
colazt = -1442775041
colrif = -1439458919
colar = -1436142848
colstr = -1429418855
colbik = -1432787354
collvpd = -1442827418
colpriz = -1439485184
colvvs = -1442788199
colvmf = -1439458970
local id = string.match(param, '(%d+)')
if id ~= nil then
if id == "1" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= collspd do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
end
if id == "2" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colfbi do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
end
if id == "3" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colarmy do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "4" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colmz do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "5" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colcn do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "6" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colym do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "7" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colprvo do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "8" then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Маскировка невозможна. Причина: 8 ID фракции - {800000}Hitman Agency.", -1)
end
if id == "9" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colcnn do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "10" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= coltm do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "11" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colsfpd do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "12" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colrm do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "13" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colgrv do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "14" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colbal do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "15" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colvag do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "16" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colazt do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "17" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colrif do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "18" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colar do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "19" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colstr do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "20" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colbik do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "21" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= collvpd do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "22" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colpriz do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "23" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colvvs do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
if id == "24" then
players = 0
for id = 0, sampGetMaxPlayerId(false) do
if sampIsPlayerConnected(id) then
color = sampGetPlayerColor(id)
math.randomseed(os.time())
local id = math.random(0, sampGetMaxPlayerId(false))
while sampGetPlayerColor(id) ~= colvmf do
id = math.random(0, sampGetMaxPlayerId(false)) end
sampSendChat("/masked "..id)
players = players + 1
break
end
end
if players == 0 then
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Ни одного из членов данной органицзации нет в игре.", -1)
end
else
sampAddChatMessage("[ {800000}HitMan {ffffff}]: Скины фракций - [ {800000}/scm {ffffff}].", -1)
sampAddChatMessage("[ {800000}1 {ffffff}] - LSPD; [ {800000}2 {ffffff}] - FBI; [ {800000}3 {ffffff}] - NGSA; [ {800000}4 {ffffff}] - МинЗдрав ..", -1)
sampAddChatMessage(".. [ {800000}5 {ffffff}] - Cosa Nostra; [ {800000}6 {ffffff}] - Yakuza; [ {800000}7 {ffffff}] - Правительство ..", -1)
sampAddChatMessage(".. [ {800000}8 {ffffff}] - None; [ {800000}9 {ffffff}] - CNN; [ {800000}10 {ffffff}] - Triada ..", -1)
sampAddChatMessage(".. [ {800000}11 {ffffff}] - SFPD; [ {800000}12 {ffffff}] - Russia; [ {800000}13 {ffffff}] - Grove ..", -1)
sampAddChatMessage(".. [ {800000}14 {ffffff}] - Ballas; [ {800000}15 {ffffff}] - Vagos; [ {800000}16 {ffffff}] - Aztecas ..", -1)
sampAddChatMessage(".. [ {800000}17 {ffffff}] - Rifa; [ {800000}18 {ffffff}] - Arabian; [ {800000}19 {ffffff}] - Street Racers ..")
sampAddChatMessage(".. [ {800000}20 {ffffff}] - Bikers; [ {800000}21 {ffffff}] - LVPD ..", -1)
sampAddChatMessage(".. [ {800000}22 {ffffff}]- Призывник; [ {800000}23 {ffffff}] - ВВС; [ {800000}24 {ffffff}] - ВМФ.", -1)
end