local BLIP = createBlip(202.89779663086, -204.07429504395, 1.578125, 52)
local Start = createMarker(372.98309326172, -118.80944824219, 1001.4921875, 'cylinder', 1.5, 0 , 255, 0, 0)
stoliki = {
-- {x, y, z},
{369.19866943359, -128.25503540039, 1001.4995117188},
{373.76834106445, -124.12696838379, 1001.4921875},
{373.99011230469, -130.98483276367, 1001.4921875},
}
setElementInterior(Start, 5)
function MarkerHit(plr, hitElement, Start)
outputChatBox("** Rozpocz??e?/a? prace Kelnera!", plr)
setElementData(praca:kelner, true)
local los = math.random(1, #stoliki)
local cel = createMarker(stoliki[los], 'cylinder', 1.2, 255, 0, 100, 0)
setElementInterior(cel, 5)
function MarkerHit(plr, hitElement, cel)
function kaska(thePlayer)
local hajs = math.random(150, 250)
givePlayerMoney(hajs)
outputChatBox("Za prace otrzymujesz"..hajs..,thePlayer)
setElementData(praca:kelner, false)
end