Witam mam pytanie. Mianowicie mam system po?ar?w prywatny. Niechcia?bym go tutaj udost?pnia? (ewentualnie pw doswiadczonym osob?) i chcia?bym aby po utworzeniu si? po?aru, losowa?o blip do po?aru. wiem,?e jest to
addEventHandler('onColShapeHit', root, function(hitElement)
if (not hitElement.type == 'ped') and (not hitElement.dimension == source.dimension) then return end
local group = ACLGroup.get(groupName);
if not isObjectInACLGroup('user.'..hitElement.account.name, group) then
hitElement:setOnFire(true);
end
end);
local function createMyFire(x, y, z)
local colshape = ColShape.Sphere(x, y, z, 2)
triggerClientEvent('attemptCreateFire', root, colshape);
return colshape;
end
local function createMyFire(x, y, z)
local colshape = ColShape.Sphere(x, y, z, 2)
blip = createBlipAttachedTo(colshape, 52)
triggerClientEvent('attemptCreateFire', root, colshape);
return colshape;
end
Ale nie tworzy sie bezpo?rednio na po?ar tylko na ka?dy p?omie? osobno. Jest kilka/kilkana?cie blip?w w jednym miejscu. I oczywi?cie po ugaszeniu blipy zostaj?, nie usuwaj? si?.
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach