function pogotowie(thePlayer) local gracz = getPlayerName(thePlayer) outputChatBox (gracz.." Wzywa Pogotowie Ratunkowe ! ", getRootElement(),120, 235, 63) setTimer(function() local x, y, z = getElementPosition( thePlayer ) local thePlayer = createBlip( x, y, z, 22, 0, 0, 0, 255 ) end,2000,0) end addCommandHandler("999", pogotowie)
local gracz = getPlayerName(thePlayer) outputChatBox (gracz.." Was wzywa! ", getRootElement(),120, 235, 63) local x, y, z = getElementPosition( thePlayer ) local thePlayer = createBlip( x, y, z, 22, 0, 0, 0, 255 ) setTimer(function() destroyElement(thePlayer) end,2000,1) end addCommandHandler("999", pogotowie)