Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2015-10-04, 14:37


Hades.

Łiiiiiiiiii






Wiek: 22
Na forum: 4700 dni
Posty: 372
Nick w MP: Hades

Piwa: 3214

Respekt: 337,8
Respekt: 337,8Respekt: 337,8Respekt: 337,8

demoniskoxd, Masz kodowanie utf 8 ?

Podpis
Skrypty/Grafiki na zamówienie!
Kontakt: Discord R35#5507

Discord związany z pomocą: https://discord.gg/ttkQTsc
Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-04, 15:13


demoniskoxd







Wiek: 30
Na forum: 3990 dni
Posty: 79
Nick w MP: Francesco

Piwa: 1

Respekt: 50

Damian2511,
Raczej nie i szczerze m?wi?c nie wiem jak to zrobi?...

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-04, 15:14


jg2aviva1

Rusek :D






Wiek: 25
Na forum: 4135 dni
Posty: 445
Nick w MP: _Wolfenstei[N]^.^

Piwa: 1033

Respekt: 240
Respekt: 240Respekt: 240

Ostrzeżeń: 60%
"demoniskoxd" napisał/a:

Damian2511,
Raczej nie i szczerze m?wi?c nie wiem jak to zrobi?...


Otwierasz skrypt notatnikiem >> Plik >> Zapisz jako.. >> zmien nazwe pliku na costam.lua >> zmien kodowanie na utf-8 >> jesli chce sie zapytac czy podmienic, podmieniasz


Gotowe :)

Podpis



GTAO Member: 2015-08-23, 14:26

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-04, 15:19


demoniskoxd







Wiek: 30
Na forum: 3990 dni
Posty: 79
Nick w MP: Francesco

Piwa: 1

Respekt: 50

jg2aviva1,
wci?? mam ten sam error ...
[2015-10-04 15] ERROR: Loading script failed: wyporzyczalnia/server.lua:54: ')' expected (to close '(' at line 40) near '<eof>'

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-05, 11:22


jg2aviva1

Rusek :D






Wiek: 25
Na forum: 4135 dni
Posty: 445
Nick w MP: _Wolfenstei[N]^.^

Piwa: 1033

Respekt: 240
Respekt: 240Respekt: 240

Ostrzeżeń: 60%
Brakuje ci gdzie? ")"

Czyli nie zamkn??e? nawiasu w 54 linijce

Podpis



GTAO Member: 2015-08-23, 14:26

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-12, 22:34


demoniskoxd







Wiek: 30
Na forum: 3990 dni
Posty: 79
Nick w MP: Francesco

Piwa: 1

Respekt: 50

Witam mam pewien problem jest praca "kutry" P?yn?c do blipa na mapie jest 0% za?adunku a gdy si? wjezdza w blip powinno byc iles tam % zape?nienia,lecz wogole sie nie zapelnia i blip nie znika pomoze kto? ?

Kod:

pojazdy.lua
--[[
(c) 2014 GO-Life.pl. All rights reserved.

Author Split <split@go-life.pl>
Version 1.0

You have no right to use this code without my permission.
Write to me maybe to agree to use the code.
]]--

local positionVehicles = {
{-2222.30,2398.25,-0.36,359.6,359.9,44.1},
{-2210.99,2411.89,-0.35,359.6,359.8,44.6},
{-2202.47,2419.04,-0.36,359.6,359.9,44.8},
{-2230.74,2390.79,-0.35,359.6,359.9,43.3},
{-2262.30,2422.28,-0.35,359.6,359.9,221.1},
{-2252.25,2428.94,-0.35,359.6,359.9,224.7},
{-2242.43,2443.06,-0.35,359.6,359.9,223.8},
{-2233.74,2450.02,-0.35,359.6,359.8,229.3},

}

for i,v in ipairs(positionVehicles) do
local lodka = createVehicle(453, v[1], v[2], v[3], v[4], v[5], v[6])
setElementData(lodka, "pojazd_opis", "Praca dorywcza\nRybak")
setElementData(lodka, "pojazd_paliwo", 50)
setElementFrozen(lodka, true)
end

addEventHandler("onVehicleEnter", resourceRoot, function(plr, seat)
if seat == 0 then
setElementFrozen(source, false)
setElementData(plr, "gracz_praca", true)
outputChatBox("* Rozpocz??e?/-a? prac?.", plr)
triggerClientEvent(plr, "STARTJobTrash", resourceRoot)
setElementData(source, "pojazd_opis", "Ryby: 0%")
end
end)

function respawnVehicles()
for i,v in ipairs(getElementsByType("lodka", resourceRoot)) do
if not getVehicleOccupant(v) then
respawnVehicle(v)
setElementFrozen(v, true)
setElementData(v, "pojazd_opis", "Praca Dorywcza\nRyby")
setElementData(v, "pojazd_paliwo", 50)
end
end
end
setTimer(respawnVehicles, 3000, 1)




Kod:

praca.lua
local blip createBlip ( -2221.0339355469,2432.5249023438,21.702512741089,9 )
local jobMarker
local jobVehicle
local jobOdbieranie = createMarker(-2243.6643066406,2409.1198730469,0.63392680883408, "cylinder", 6, 0, 0, 255)


local positionTrash = {
{-2556.3203125,2020.6102294922,0.51379191875458},
{-2569.83203125,1672.6839599609,0.70956069231033},
{-2440.0751953125,1485.9638671875,-1.1625391244888},
{-2034.0706787109,1457.7700195313,0.19541426002979},
{-1566.4959716797,1531.5930175781,0.31219452619553},
{-1429.0490722656,1040.4868164063,0.39768686890602},
{-1283.2919921875,654.00091552734,-0.98955863714218},
{-980.30920410156,740.89916992188,-0.91844207048416},
{-921.92877197266,897.09765625,0.6256023645401},
}

function finishJob()
if jobMarker and isElement(jobMarker) then
destroyElement(jobMarker)
jobMarker = nil
end
if jobBlip and isElement(jobBlip) then
destroyElement(jobBlip)
jobBlip = nil
end
end

function hideNextPoint(el, md)
if el ~= localPlayer or not md then return end
if not getPedOccupiedVehicle(el) then return end
local pojazd = getPedOccupiedVehicle(el)
if not getElementData(pojazd, "pojazd_smieci") then setElementData(pojazd, "pojazd_smieci", 0) end

if getElementData(pojazd, "pojazd_smieci") > 100 then
outputChatBox("* Posiadasz 100% Ryb Wro? Do Portu Aby Roz?adowa? I Dosta? Got?wke.")
return
end

local smieci = getElementData(pojazd, "pojazd_smieci") + math.random(24, 21)

finishJob()
showNextPoint()
playSoundFrontEnd(12)
setElementData(pojazd, "pojazd_smieci", smieci)
setElementData(pojazd, "pojazd_opis", "Ryby: "..smieci.."%")
end

function showNextPoint()
jobRandom = math.random(1, #positionTrash)

jobMarker = createMarker(positionTrash[jobRandom][1], positionTrash[jobRandom][2], positionTrash[jobRandom][3], "checkpoint", 4, 0, 0, 255)
jobBlip = createBlipAttachedTo(jobMarker, 41)

addEventHandler("onClientMarkerHit", jobMarker, hideNextPoint)
end

addEventHandler("onClientVehicleExit", resourceRoot, function(plr, seat)
if seat == 0 then
if plr == localPlayer then
finishJob()
outputChatBox("* Zako?czy?e? prac?")
setElementData(source, "pojazd_smieci", 0)
setElementData(plr, "gracz_praca", false)
end
end
end)

addEventHandler("onClientMarkerHit", jobOdbieranie, function(el, md)
if not md or getElementType(el) ~= "player" then return end
if el ~= localPlayer then return end
if not getPedOccupiedVehicle(el) then return end
local pojazd = getPedOccupiedVehicle(el)
if getElementData(pojazd, "pojazd_smieci") and tonumber(60) <= getElementData(pojazd, "pojazd_smieci") then
smieci = getElementData(pojazd, "pojazd_smieci") * 1.1

setElementData(pojazd, "pojazd_smieci", 0)
triggerServerEvent("givePlayerMoney", el, smieci, 2)
setElementData(pojazd, "pojazd_opis", "Pryby: 0%")
else
outputChatBox("* Nie posiadasz wi?cej ni?. 80% Ryb")
end



I oczywi?cie meta
Kod:

<meta>
<script src="praca.lua" type="client" />
<script src="pojazdy.lua" type="server" />
</meta>

Prosi?bym o pomoc ;) Daje reputacje !

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-22, 20:41


jg2aviva1

Rusek :D






Wiek: 25
Na forum: 4135 dni
Posty: 445
Nick w MP: _Wolfenstei[N]^.^

Piwa: 1033

Respekt: 240
Respekt: 240Respekt: 240

Ostrzeżeń: 60%
"demoniskoxd" napisał/a:

Witam mam pewien problem jest praca "kutry" P?yn?c do blipa na mapie jest 0% za?adunku a gdy si? wjezdza w blip powinno byc iles tam % zape?nienia,lecz wogole sie nie zapelnia i blip nie znika pomoze kto? ?

Kod:

pojazdy.lua
--[[
(c) 2014 GO-Life.pl. All rights reserved.

Author Split <split@go-life.pl>
Version 1.0

You have no right to use this code without my permission.
Write to me maybe to agree to use the code.
]]--

local positionVehicles = {
{-2222.30,2398.25,-0.36,359.6,359.9,44.1},
{-2210.99,2411.89,-0.35,359.6,359.8,44.6},
{-2202.47,2419.04,-0.36,359.6,359.9,44.8},
{-2230.74,2390.79,-0.35,359.6,359.9,43.3},
{-2262.30,2422.28,-0.35,359.6,359.9,221.1},
{-2252.25,2428.94,-0.35,359.6,359.9,224.7},
{-2242.43,2443.06,-0.35,359.6,359.9,223.8},
{-2233.74,2450.02,-0.35,359.6,359.8,229.3},

}

for i,v in ipairs(positionVehicles) do
local lodka = createVehicle(453, v[1], v[2], v[3], v[4], v[5], v[6])
setElementData(lodka, "pojazd_opis", "Praca dorywcza\nRybak")
setElementData(lodka, "pojazd_paliwo", 50)
setElementFrozen(lodka, true)
end

addEventHandler("onVehicleEnter", resourceRoot, function(plr, seat)
if seat == 0 then
setElementFrozen(source, false)
setElementData(plr, "gracz_praca", true)
outputChatBox("* Rozpocz??e?/-a? prac?.", plr)
triggerClientEvent(plr, "STARTJobTrash", resourceRoot)
setElementData(source, "pojazd_opis", "Ryby: 0%")
end
end)

function respawnVehicles()
for i,v in ipairs(getElementsByType("lodka", resourceRoot)) do
if not getVehicleOccupant(v) then
respawnVehicle(v)
setElementFrozen(v, true)
setElementData(v, "pojazd_opis", "Praca Dorywcza\nRyby")
setElementData(v, "pojazd_paliwo", 50)
end
end
end
setTimer(respawnVehicles, 3000, 1)




Kod:

praca.lua
local blip createBlip ( -2221.0339355469,2432.5249023438,21.702512741089,9 )
local jobMarker
local jobVehicle
local jobOdbieranie = createMarker(-2243.6643066406,2409.1198730469,0.63392680883408, "cylinder", 6, 0, 0, 255)


local positionTrash = {
{-2556.3203125,2020.6102294922,0.51379191875458},
{-2569.83203125,1672.6839599609,0.70956069231033},
{-2440.0751953125,1485.9638671875,-1.1625391244888},
{-2034.0706787109,1457.7700195313,0.19541426002979},
{-1566.4959716797,1531.5930175781,0.31219452619553},
{-1429.0490722656,1040.4868164063,0.39768686890602},
{-1283.2919921875,654.00091552734,-0.98955863714218},
{-980.30920410156,740.89916992188,-0.91844207048416},
{-921.92877197266,897.09765625,0.6256023645401},
}

function finishJob()
if jobMarker and isElement(jobMarker) then
destroyElement(jobMarker)
jobMarker = nil
end
if jobBlip and isElement(jobBlip) then
destroyElement(jobBlip)
jobBlip = nil
end
end

function hideNextPoint(el, md)
if el ~= localPlayer or not md then return end
if not getPedOccupiedVehicle(el) then return end
local pojazd = getPedOccupiedVehicle(el)
if not getElementData(pojazd, "pojazd_smieci") then setElementData(pojazd, "pojazd_smieci", 0) end

if getElementData(pojazd, "pojazd_smieci") > 100 then
outputChatBox("* Posiadasz 100% Ryb Wro? Do Portu Aby Roz?adowa? I Dosta? Got?wke.")
return
end

local smieci = getElementData(pojazd, "pojazd_smieci") + math.random(24, 21)

finishJob()
showNextPoint()
playSoundFrontEnd(12)
setElementData(pojazd, "pojazd_smieci", smieci)
setElementData(pojazd, "pojazd_opis", "Ryby: "..smieci.."%")
end

function showNextPoint()
jobRandom = math.random(1, #positionTrash)

jobMarker = createMarker(positionTrash[jobRandom][1], positionTrash[jobRandom][2], positionTrash[jobRandom][3], "checkpoint", 4, 0, 0, 255)
jobBlip = createBlipAttachedTo(jobMarker, 41)

addEventHandler("onClientMarkerHit", jobMarker, hideNextPoint)
end

addEventHandler("onClientVehicleExit", resourceRoot, function(plr, seat)
if seat == 0 then
if plr == localPlayer then
finishJob()
outputChatBox("* Zako?czy?e? prac?")
setElementData(source, "pojazd_smieci", 0)
setElementData(plr, "gracz_praca", false)
end
end
end)

addEventHandler("onClientMarkerHit", jobOdbieranie, function(el, md)
if not md or getElementType(el) ~= "player" then return end
if el ~= localPlayer then return end
if not getPedOccupiedVehicle(el) then return end
local pojazd = getPedOccupiedVehicle(el)
if getElementData(pojazd, "pojazd_smieci") and tonumber(60) <= getElementData(pojazd, "pojazd_smieci") then
smieci = getElementData(pojazd, "pojazd_smieci") * 1.1

setElementData(pojazd, "pojazd_smieci", 0)
triggerServerEvent("givePlayerMoney", el, smieci, 2)
setElementData(pojazd, "pojazd_opis", "Pryby: 0%")
else
outputChatBox("* Nie posiadasz wi?cej ni?. 80% Ryb")
end



I oczywi?cie meta
Kod:

<meta>
<script src="praca.lua" type="client" />
<script src="pojazdy.lua" type="server" />
</meta>

Prosi?bym o pomoc ;) Daje reputacje !


Tutaj masz dzia?aj?ce kutry :) . Nie ?a?uj R* :eye:

Podpis



GTAO Member: 2015-08-23, 14:26

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-22, 23:08


Frixo







Wiek: 24
Na forum: 3879 dni
Posty: 9
Nick w MP: Frixo

Piwa: 28

Respekt: 70

Pomo?e mi kto?!? Jestem pocz?tkuj?cy i dopiero zaczynam, chcia?bym si? nauczy? skryptowa?, ale p?ki co mi si? odechciewa, m?g?by mi kto? powiedzie? o co chodzi, ?e nie dzia?a ten skrypt? Nie wiem co robi?...
Kod:


function spawn()
spawnPlayer ( source, 0, 0, 0 )
setPlayerMoney ( thePlayer, 150 )
setElementModel ( source, 23 )
end
addEventHandler ( "onPlayerJoin", spawn )

Prosi?bym o wyja?nienie krok po kroku o co chodzi, bo ja nie wiem...

To mi pisze w debugscripcie
Kod:

WARNING: Info_w\Skrypt.lua:6: Bad Argument @ 'addEventHandler' [Expected element at argument 2, got function]


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-22, 23:34


#404







Wiek: 26
Na forum: 4772 dni
Posty: 1438

Piwa: 2512

Respekt: 833,5
Respekt: 833,5Respekt: 833,5

Ostrzeżeń: 60%
Frixo, 2 argument w addEventHandler to element, do kt?rego przypisujesz zdarzenie. Dodaj tam getRootElement() alb root. Natomiast odno?nik do funkcjo czyli "spawn" przesu? do pozycji 3 argumentu.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-22, 23:36


Dexnes_

Tiger






Wiek: 26
Na forum: 4402 dni
Posty: 620
Nick w MP: Dexnes

Piwa: 1394

Respekt: 390
Respekt: 390Respekt: 390Respekt: 390Respekt: 390

Frixo, w debugu masz wyjasnione ze jest blad z argumentem.

@up wyprzedziles ...

[ Komentarz dodany przez: DestroY: 2015-10-22, 23:39 ]
Na co Ci tutaj meta ? Je?eli nie masz bladego ppoj?cia to po prostu nie pomagaj...

[ Komentarz dodany przez: DestroY: 2015-10-22, 23:40 ]
Ahh nie ma to jak edit posta w momencie dodawania komentarza...

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-23, 00:15


demoniskoxd







Wiek: 30
Na forum: 3990 dni
Posty: 79
Nick w MP: Francesco

Piwa: 1

Respekt: 50

jg2aviva1,
Dziekuje ;3

[ Dodano: 2015-10-23, 00:20 ]
Prosi?bym o ma?? pomoc ot?? mam skrypt na rowery i chia?bym aby gdy gracz zejdzie z roweru znika? on po 15 sekundach a nie od razu mo?e mi kto? pom?c ?



Kod:

blipy = createBlip(-1909.16,870.20,34.16,0,1,255,102,0)

addEvent("wypozyczRower", true)
addEventHandler("wypozyczRower", getRootElement(),
function(kategoria)
--if not veh then
if kategoria == "A" then
veh = createVehicle(509, -1909.54,865.59,35.16, 0, 0, 270)
setVehicleHandling( veh,"maxVelocity", 45.00) -- Oganicznik :D
setElementData(veh, "pojazdy_opis", "Wypo?yczalnia Rower?w")
elseif kategoria == "B" then
veh = createVehicle(481, -1909.54,865.59,35.16, 0, 0, 270)
setVehicleHandling( veh,"maxVelocity", 45.00) -- Oganicznik :D
setElementData(veh, "pojazdy_opis", "Wypo?yczalnia Rower?w")
elseif kategoria == "C" then
veh = createVehicle(510, -1909.54,865.59,35.16, 0, 0, 270)
setVehicleHandling( veh,"maxVelocity", 45.00) -- Oganicznik :D
setElementData(veh, "pojazdy_opis", "Wypo?yczalnia Rower?w")
end
warpPedIntoVehicle (source, veh)
outputChatBox("#FF9D00[#919191Wypo?yczalnia#FF9D00] #919191Dzi?kujemy za wypo?yczenie roweru.#FF9D00 ?yczymy mi?ej jazdy!",source,255,255,255,true)
setElementData(source, "wyp_rower", true)

--end
end)

function usun( element )
if ( getElementModel ( source ) == 509 ) or ( getElementModel ( source ) == 481 ) or ( getElementModel ( source ) == 510 ) then
setElementData(element,"wyp_rower", false)
destroyElement(source)
outputChatBox("#FF9D00[#919191Wypo?yczalnia#FF9D00] #919191Dzi?kujemy za skorzystanie z naszej wypo?yczalni.#FF9D00 Zapraszamy Ponownie!",element,255,255,255,true)
end
end
addEventHandler ( "onVehicleExit", getRootElement(), usun )

function usun2 (element)
if not element then
destroyElement(veh)
end
end
addEventHandler ( "onPlayerQuit", getRootElement(), usun2)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-23, 21:48


Dexnes_

Tiger






Wiek: 26
Na forum: 4402 dni
Posty: 620
Nick w MP: Dexnes

Piwa: 1394

Respekt: 390
Respekt: 390Respekt: 390Respekt: 390Respekt: 390

demoniskoxd, sprawdz :

blipy createBlip(-1909.16,870.20,34.16,0,1,255,102,0addEvent("wypozyczRower"trueaddEventHandler("wypozyczRower"getRootElement(), 
function(kategoria) 
--if not veh then 
if kategoria == "A" then 
veh createVehicle(509, -1909.54,865.59,35.1600270setVehicleHandlingveh,"maxVelocity"45.00) -- Oganicznik :D 
setElementData(veh"pojazdy_opis""Wypo?yczalnia Rower?w") 
elseif kategoria == "B" then 
veh createVehicle(481, -1909.54,865.59,35.1600270setVehicleHandlingveh,"maxVelocity"45.00) -- Oganicznik :D 
setElementData(veh"pojazdy_opis""Wypo?yczalnia Rower?w") 
elseif kategoria == "C" then 
veh createVehicle(510, -1909.54,865.59,35.1600270setVehicleHandlingveh,"maxVelocity"45.00) -- Oganicznik :D 
setElementData(veh"pojazdy_opis""Wypo?yczalnia Rower?w"end 
warpPedIntoVehicle (sourcevehoutputChatBox("#FF9D00[#919191Wypo?yczalnia#FF9D00] #919191Dzi?kujemy za wypo?yczenie roweru.#FF9D00 ?yczymy mi?ej jazdy!",source,255,255,255,truesetElementData(source"wyp_rower"true) 

--end 
end) 

function usunelement ) 
if ( getElementModel source ) == 509 ) or ( getElementModel source ) == 481 ) or ( getElementModel source ) == 510 then 
setElementData(element,"wyp_rower"falsedestroyElement(sourceoutputChatBox("#FF9D00[#919191Wypo?yczalnia#FF9D00] #919191Dzi?kujemy za skorzystanie z naszej wypo?yczalni.#FF9D00 Zapraszamy Ponownie!",element,255,255,255,trueend 
end 
setTimer(usun150000)
addEventHandler "onVehicleExit"getRootElement(), usun ) 

function usun2 (element) 
if not element then 
destroyElement(vehend 
end 
setTimer(usun2150000)
addEventHandler "onPlayerQuit"getRootElement(), usun2)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-25, 23:33


demoniskoxd







Wiek: 30
Na forum: 3990 dni
Posty: 79
Nick w MP: Francesco

Piwa: 1

Respekt: 50

BlackGamePL,
Nie dzia?a znika od razu po zej?ciu z niego ;(

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-26, 00:08


Kurczak23







Wiek: 32
Na forum: 5033 dni
Posty: 30

Piwa: 499

Respekt: 115,3
Respekt: 115,3

Kod:

blipy = createBlip(-1909.16,870.20,34.16,0,1,255,102,0)

addEvent("wypozyczRower", true)
addEventHandler("wypozyczRower", getRootElement(),
function(kategoria)
--if not veh then
if kategoria == "A" then
veh = createVehicle(509, -1909.54,865.59,35.16, 0, 0, 270)
setVehicleHandling( veh,"maxVelocity", 45.00) -- Oganicznik :D
setElementData(veh, "pojazdy_opis", "Wypo?yczalnia Rower?w")
elseif kategoria == "B" then
veh = createVehicle(481, -1909.54,865.59,35.16, 0, 0, 270)
setVehicleHandling( veh,"maxVelocity", 45.00) -- Oganicznik :D
setElementData(veh, "pojazdy_opis", "Wypo?yczalnia Rower?w")
elseif kategoria == "C" then
veh = createVehicle(510, -1909.54,865.59,35.16, 0, 0, 270)
setVehicleHandling( veh,"maxVelocity", 45.00) -- Oganicznik :D
setElementData(veh, "pojazdy_opis", "Wypo?yczalnia Rower?w")
end
warpPedIntoVehicle (source, veh)
outputChatBox("#FF9D00[#919191Wypo?yczalnia#FF9D00] #919191Dzi?kujemy za wypo?yczenie roweru.#FF9D00 ?yczymy mi?ej jazdy!",source,255,255,255,true)
setElementData(source, "wyp_rower", veh)
--end
end)

function usun( plr )
local rower = getElementData(plr,"wyp_rower")
if rower == source then
setTimer ( usun2, 15000, 1, plr )
outputChatBox("#FF9D00[#919191Wypo?yczalnia#FF9D00] #919191Dzi?kujemy za skorzystanie z naszej wypo?yczalni.#FF9D00 Zapraszamy Ponownie!",plr,255,255,255,true)
end
end
addEventHandler ( "onVehicleExit", getRootElement(), usun )

function usun2(element)
local rower = getElementData(element,"wyp_rower")
if not rower then return end
if isElement(rower) then
if getPedOccupiedVehicle(element) == rower then return end
destroyElement(rower)
setElementData(element,"wyp_rower", false)
end
end

addEventHandler( "onPlayerQuit", getRootElement(), function()
usun2(source)
end)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-10-26, 16:12


demoniskoxd







Wiek: 30
Na forum: 3990 dni
Posty: 79
Nick w MP: Francesco

Piwa: 1

Respekt: 50

Kurczak23,
Dzi?kuj? za pomoc ;) oczywi?cie leci piwo i respekt ;D

Postaw piwo autorowi tego posta
 

 
Tagi: prośby :: przerobienie :: skryptu
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » Zasoby do MTA » PROŚBY O PRZEROBIENIE SKRYPTU Odpowiedz do tematu

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
Dodaj temat do Ulubionych
Wersja do druku