local Cols = {
{1296, 2100, -140, 160, 255, 255, 255, 175},
{1296, 2100, 140, 120, 255, 255, 255, 175},
}
local Col = {}
for k=1, #Cols do
Col[k] = createRadarArea ( Cols[k][1], Cols[k][2], Cols[k][3], Cols[k][4], Cols[k][5], Cols[k][6], Cols[k][7], Cols[k][8])
addEventHandler("onColShapeHit", root,
function(player)
if getElementType(player) == 'player' and source == Col[k] then
givePlayerMoney(player,5000)
end
end)
end
غير مجرب