| Tematy otagowane jako: maskowanie |
| 1. Maskowanie |
| Witam mam pytanie dotyczace maskowania, wgralem skrypt z itsa meka wpisuje komende maskowania wszystko dziala a nie pojawia sie na pojezdzie.[/list] |
| 2. Maskowanie |
Nie dzia?a maskowanie kod podam ni?ej.
[lua]
elements = {}
elements["positions"] = {
["EZ 1"]={
marker = {1946.84, -2033.00, 13.55},
cuboid = {1946.84, -2033.00, 13.55, 6},
text = "Monta? wzmocnie?"
}
}
createBlip(1941.00, -2007.68, 13.55, 42,2,0,0,0,0,0,175)
local napis=createElement("text")
setElementData(napis, "name", "Dost?pne ulepszenia:nMaskowanie (50%)nMaskowanie (100%)nNitro (5x)")
setElementPosition(napis, 1946.84, -2033.00, 13.55-0.2)
for i,v in pairs(elements["positions"]) do
v.cuboid = ColShape.Sphere(unpack(v.cuboid))
v.marker = Marker(v.marker[1], v.marker[2], v.marker[3]-0.90, "cylinder", 3, 255,255,0)
end
addEvent("maskowaniepolowiczne", true)
addEventHandler("maskowaniepolowiczne", getRootElement(), function()
local hajs = getPlayerMoney(source)
local ccar = getPedOccupiedVehicle(source)
local cena = 15000000
if getElementData(ccar, "vehicle:ownedPlayer") == getElementData(client, "player:sid") then
if hajs < cena then triggerClientEvent(client, "onClientAddNotification", client, "Nie sta? Ci? aby zakupi? to ulepszenie!", "error" ) return end
local id = getElementData(ccar, "vehicle:id")
if not id then triggerClientEvent(client, "onClientAddNotification", client, "To nie jest pojazd prywatny!", "error") return end... |
| 3. Maskowanie pystories BUG |
Witam, zauwa?y?em ostatnio ?e m?j skrypt na pojazdy si? buguje dok?adnie maskowanie. Niekt?re pojazdy maj? za?o?one ju? maskowanie, nawet gdy pojazd jest respiony. > Kod: https://pastebin.com/b7ZMuBN9
[ Dodano: 2020-05-11, 22:03 ]
Brak b??d?w w DB3 |
| 4. iyw maskowanie |
| Witam chcialbym sie dowiedziec w ktory skrypt odpowiada za zmienianie szyb na czarne w maskowaniu, daje piwka i respekty! |
|