Wysłany: 2019-02-13, 11:05
Pyrek24
Wiek: 25 Na forum: 3438 dni Posty: 546
Nick w MP: Pyrek
Piwa : 10
Witam ot?? mam kod, jest on po stronie clienta, dopisa? by mi, ?e aby pracowa?, trzeba mie? tyle RP itd.
kod
--[[
Praca zbieracza marihuany
@ copyright 2018 AJRPG
@ author AJgorEx
Nie masz prawa zmieni ? autora .
]]--
local praca = createMarker (- 2458.42 , - 670.68 , 134.70 - 0.9 , "cylinder" , 2.0 , 255 , 80 , 0 )
local missionText = createElement ( "text" )
-- createBlip (- 2458.42 , - 670.68 , 134.70 , 46 , 2 , 0 , 0 , 0 , 0 , 0 , 275 )
setElementData ( missionText , "name" , "Praca zbieracza\nKonto premium +25%" )
setElementPosition ( missionText , - 2458.42 , - 670.68 , 134.70 )
local miejscaelektryk = {
{- 2441.13 , - 657.32 , 133.13 },
{- 2425.33 , - 651.86 , 133.08 },
{- 2415.14 , - 680.65 , 133.13 },
{- 2434.76 , - 696.65 , 133.13 },
{- 2454.01 , - 711.62 , 134.26 },
{- 2465.82 , - 691.35 , 136.01 },
{- 2484.23 , - 659.32 , 138.96 },
{- 2451.64 , - 654.78 , 133.11 },
}
local krzak = 679
addEventHandler ( "onClientMarkerHit" , praca , function( el , md )
if not md or getElementType ( el ) ~= "player" then return end
if el ~= localPlayer then return end
outputChatBox ( " " )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Aby rozpocz?? prac? wci?nij klawisz R.' , 'info' )
end )
bindKey ( "r" , "down" , function()
if not isElementWithinMarker ( localPlayer , praca ) then return end
if not getElementData ( localPlayer , "gracz_praca" ) then
local losuj = math . random ( 2 , #miejscaelektryk)
setElementData ( localPlayer , "gracz_praca" , true )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Zbierz marihuane z pola.' , 'info' )
local cel = createMarker ( miejscaelektryk [ losuj ][ 1 ], miejscaelektryk [ losuj ][ 2 ], miejscaelektryk [ losuj ][ 3 ]- 1.0 , "checkpoint" , 1.0 , 255 , 80 , 0 )
local blip = createBlipAttachedTo ( cel , 41 )
local skrzynia = createObject ( krzak , miejscaelektryk [ losuj ][ 1 ], miejscaelektryk [ losuj ][ 2 ], miejscaelektryk [ losuj ][ 3 ]- 1.0 )
addEventHandler ( "onClientMarkerHit" , cel , function( el , md )
if not md or getElementType ( el ) ~= "player" then return end
if el ~= localPlayer then return end
if getPedOccupiedVehicle ( el ) then
outputChatBox ( "* Nie mo?esz tego zebra? b?d?c w poje?dzie!" )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Nie mo?esz tego zebra? bed?c w poje?dzie.' , 'error' )
return
end
destroyElement ( blip )
setElementFrozen ( el , true )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Zbierasz mary?k?, poczekaj 5 sekund.' , 'info' )
setPedAnimation ( localPlayer , "AIRPORT" , "thrw_barl_thrw" , - 1 , true , false )
setTimer (function()
setElementFrozen ( el , false )
outputChatBox ( "* Zebra?e? topa." )
destroyElement ( skrzynia )
destroyElement ( cel )
setPedAnimation ( localPlayer , false )
setElementData ( el , "gracz_praca" , false )
local kasa = math . random ( 40000 , 45000 ) -- Wyp ? ata
local rp = math . random ( 0 , 2 )
local mp = math . random ( 0 , 1 )
local premium = getElementData ( localPlayer , "player:premium" )
if premium then
kasa = kasa * 1.25
triggerServerEvent ( "givePlayerMoney" , localPlayer , kasa )
setElementData ( el , "player:reputation" , getElementData ( el , "player:reputation" )+ rp )
setElementData ( el , "player:movep" , getElementData ( el , "player:movep" )+ mp )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Za dojechanie na zebran? marych? otrzymujesz:\n#006600 ' .. kasa .. ' #ffffff$,#800000 ' .. rp .. '#ffffff REP oraz #ff4000' .. mp .. '#ffffff MovePoints' , 'success' )
else
kasa = kasa
triggerServerEvent ( "givePlayerMoney" , localPlayer , kasa )
setElementData ( el , "player:reputation" , getElementData ( el , "player:reputation" )+ rp )
setElementData ( el , "player:movep" , getElementData ( el , "player:movep" )+ mp )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Za dojechanie na zebran? marych? otrzymujesz:\n#006600 ' .. kasa .. ' #ffffff$,#800000 ' .. rp .. '#ffffff REP oraz #ff4000' .. mp .. '#ffffff MovePoints' , 'success' )
end
end , 4000 , 1 )
end )
else
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Posiadasz aktywn? prac? !' , 'error' )
end
end )
Wysłany: 2019-02-13, 11:16
TheSebaPL
Mod-team
Wiek: 21 Na forum: 3098 dni Posty: 964
Piwa : 3102
Masz tutaj kod na prawko tak?e od RP usuwasz sobie prawko dajesz tam do configu RP i masz
addEventHandler ( "onMarkerHit" , m1 , function( el , md )
if getElementData ( el , "zrespilGracz" ) then
outputChatBox ( "Praca w trakcie przygotowania." , el , 213 , 75 , 0 )
return
end
if getElementData ( el , "player:license:pjC" ) ~= 1 then
outputChatBox ( "Aby tu pracowa? musisz mie? zdane prawo jazdy kat. C!" , el , 213 , 75 , 0 )
return
end
if getElementData ( el , "player:reputation" ) <= 999 then
outputChatBox ( "Aby tu pracowa? musisz mie? 1000 RP!" , el , 213 , 75 , 0 )
return
end
Bez prawka:
addEventHandler ( "onMarkerHit" , m1 , function( el , md )
if getElementData ( el , "player:reputation" ) <= 999 then
outputChatBox ( "Aby tu pracowa? musisz mie? 1000 RP!" , el , 213 , 75 , 0 )
return
end
Ca?y kod:
--[[
Praca zbieracza marihuany
@ copyright 2018 AJRPG
@ author AJgorEx
Nie masz prawa zmieni ? autora .
]]--
local praca = createMarker (- 2458.42 , - 670.68 , 134.70 - 0.9 , "cylinder" , 2.0 , 255 , 80 , 0 )
local missionText = createElement ( "text" )
-- createBlip (- 2458.42 , - 670.68 , 134.70 , 46 , 2 , 0 , 0 , 0 , 0 , 0 , 275 )
setElementData ( missionText , "name" , "Praca zbieracza\nKonto premium +25%" )
setElementPosition ( missionText , - 2458.42 , - 670.68 , 134.70 )
local miejscaelektryk = {
{- 2441.13 , - 657.32 , 133.13 },
{- 2425.33 , - 651.86 , 133.08 },
{- 2415.14 , - 680.65 , 133.13 },
{- 2434.76 , - 696.65 , 133.13 },
{- 2454.01 , - 711.62 , 134.26 },
{- 2465.82 , - 691.35 , 136.01 },
{- 2484.23 , - 659.32 , 138.96 },
{- 2451.64 , - 654.78 , 133.11 },
}
local krzak = 679
addEventHandler ( "onClientMarkerHit" , praca , function( el , md )
if not md or getElementType ( el ) ~= "player" then return end
if el ~= localPlayer then return end
outputChatBox ( " " )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Aby rozpocz?? prac? wci?nij klawisz R.' , 'info' )
end )
addEventHandler ( "onMarkerHit" , m1 , function( el , md )
if getElementData ( el , "player:reputation" ) <= 999 then
outputChatBox ( "Aby tu pracowa? musisz mie? 1000 RP!" , el , 213 , 75 , 0 )
return
end
bindKey ( "r" , "down" , function()
if not isElementWithinMarker ( localPlayer , praca ) then return end
if not getElementData ( localPlayer , "gracz_praca" ) then
local losuj = math . random ( 2 , #miejscaelektryk)
setElementData ( localPlayer , "gracz_praca" , true )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Zbierz marihuane z pola.' , 'info' )
local cel = createMarker ( miejscaelektryk [ losuj ][ 1 ], miejscaelektryk [ losuj ][ 2 ], miejscaelektryk [ losuj ][ 3 ]- 1.0 , "checkpoint" , 1.0 , 255 , 80 , 0 )
local blip = createBlipAttachedTo ( cel , 41 )
local skrzynia = createObject ( krzak , miejscaelektryk [ losuj ][ 1 ], miejscaelektryk [ losuj ][ 2 ], miejscaelektryk [ losuj ][ 3 ]- 1.0 )
addEventHandler ( "onClientMarkerHit" , cel , function( el , md )
if not md or getElementType ( el ) ~= "player" then return end
if el ~= localPlayer then return end
if getPedOccupiedVehicle ( el ) then
outputChatBox ( "* Nie mo?esz tego zebra? b?d?c w poje?dzie!" )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Nie mo?esz tego zebra? bed?c w poje?dzie.' , 'error' )
return
end
destroyElement ( blip )
setElementFrozen ( el , true )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Zbierasz mary?k?, poczekaj 5 sekund.' , 'info' )
setPedAnimation ( localPlayer , "AIRPORT" , "thrw_barl_thrw" , - 1 , true , false )
setTimer (function()
setElementFrozen ( el , false )
outputChatBox ( "* Zebra?e? topa." )
destroyElement ( skrzynia )
destroyElement ( cel )
setPedAnimation ( localPlayer , false )
setElementData ( el , "gracz_praca" , false )
local kasa = math . random ( 40000 , 45000 ) -- Wyp ? ata
local rp = math . random ( 0 , 2 )
local mp = math . random ( 0 , 1 )
local premium = getElementData ( localPlayer , "player:premium" )
if premium then
kasa = kasa * 1.25
triggerServerEvent ( "givePlayerMoney" , localPlayer , kasa )
setElementData ( el , "player:reputation" , getElementData ( el , "player:reputation" )+ rp )
setElementData ( el , "player:movep" , getElementData ( el , "player:movep" )+ mp )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Za dojechanie na zebran? marych? otrzymujesz:\n#006600 ' .. kasa .. ' #ffffff$,#800000 ' .. rp .. '#ffffff REP oraz #ff4000' .. mp .. '#ffffff MovePoints' , 'success' )
else
kasa = kasa
triggerServerEvent ( "givePlayerMoney" , localPlayer , kasa )
setElementData ( el , "player:reputation" , getElementData ( el , "player:reputation" )+ rp )
setElementData ( el , "player:movep" , getElementData ( el , "player:movep" )+ mp )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Za dojechanie na zebran? marych? otrzymujesz:\n#006600 ' .. kasa .. ' #ffffff$,#800000 ' .. rp .. '#ffffff REP oraz #ff4000' .. mp .. '#ffffff MovePoints' , 'success' )
end
end , 4000 , 1 )
end )
else
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Posiadasz aktywn? prac? !' , 'error' )
end
end )
Je?eli co? nie dzia?a daj logi z debugscript 3 a je?eli dzia?a to zostaw
Więcej szczegółów
Wystawiono 1 piw(a):Pyrek24
Wysłany: 2019-02-13, 11:40
Pyrek24
Wiek: 25 Na forum: 3438 dni Posty: 546
Nick w MP: Pyrek
Piwa : 10
Nie dzia?a a w DB3 ?adnego b??du
Wysłany: 2019-02-13, 11:45
TheSebaPL
Mod-team
Wiek: 21 Na forum: 3098 dni Posty: 964
Piwa : 3102
Pyrek24 , To dodaj t? linijk? z prawkiem i zobacz co b?dzie ci pisa?o. Mo?e te? ?e masz sam wystarczaj?c? ilo?? RP i to tobie dzia?a.
Wysłany: 2019-02-13, 14:03
Mikołajj
Wiek: 22 Na forum: 2885 dni Posty: 303
Nick w MP: Mikołaj
Piwa : 132
bindKey ( "r" , "down" , function()
if not isElementWithinMarker ( localPlayer , praca ) then return end
if not getElementData ( localPlayer , "gracz_praca" ) then
if tonumber ( getElementData ( localPlayer , "player:reputation" )) >= "100" then
local losuj = math . random ( 2 , #miejscaelektryk)
setElementData ( localPlayer , "gracz_praca" , true )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Zbierz marihuane z pola.' , 'info' )
local cel = createMarker ( miejscaelektryk [ losuj ][ 1 ], miejscaelektryk [ losuj ][ 2 ], miejscaelektryk [ losuj ][ 3 ]- 1.0 , "checkpoint" , 1.0 , 255 , 80 , 0 )
local blip = createBlipAttachedTo ( cel , 41 )
local skrzynia = createObject ( krzak , miejscaelektryk [ losuj ][ 1 ], miejscaelektryk [ losuj ][ 2 ], miejscaelektryk [ losuj ][ 3 ]- 1.0 )
addEventHandler ( "onClientMarkerHit" , cel , function( el , md )
if not md or getElementType ( el ) ~= "player" then return end
if el ~= localPlayer then return end
if getPedOccupiedVehicle ( el ) then
outputChatBox ( "* Nie mo?esz tego zebra? b?d?c w poje?dzie!" )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Nie mo?esz tego zebra? bed?c w poje?dzie.' , 'error' )
return
end
destroyElement ( blip )
setElementFrozen ( el , true )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Zbierasz mary?k?, poczekaj 5 sekund.' , 'info' )
setPedAnimation ( localPlayer , "AIRPORT" , "thrw_barl_thrw" , - 1 , true , false )
setTimer (function()
setElementFrozen ( el , false )
outputChatBox ( "* Zebra?e? topa." )
destroyElement ( skrzynia )
destroyElement ( cel )
setPedAnimation ( localPlayer , false )
setElementData ( el , "gracz_praca" , false )
local kasa = math . random ( 40000 , 45000 ) -- Wyp ? ata
local rp = math . random ( 0 , 2 )
local mp = math . random ( 0 , 1 )
local premium = getElementData ( localPlayer , "player:premium" )
if premium then
kasa = kasa * 1.25
triggerServerEvent ( "givePlayerMoney" , localPlayer , kasa )
setElementData ( el , "player:reputation" , getElementData ( el , "player:reputation" )+ rp )
setElementData ( el , "player:movep" , getElementData ( el , "player:movep" )+ mp )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Za dojechanie na zebran? marych? otrzymujesz:\n#006600 ' .. kasa .. ' #ffffff$,#800000 ' .. rp .. '#ffffff REP oraz #ff4000' .. mp .. '#ffffff MovePoints' , 'success' )
else
kasa = kasa
triggerServerEvent ( "givePlayerMoney" , localPlayer , kasa )
setElementData ( el , "player:reputation" , getElementData ( el , "player:reputation" )+ rp )
setElementData ( el , "player:movep" , getElementData ( el , "player:movep" )+ mp )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Za dojechanie na zebran? marych? otrzymujesz:\n#006600 ' .. kasa .. ' #ffffff$,#800000 ' .. rp .. '#ffffff REP oraz #ff4000' .. mp .. '#ffffff MovePoints' , 'success' )
end
end , 4000 , 1 )
end )
else
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Nie masz wystarczaj?cej ilo?ci RP!' , 'error' )
end
else
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Posiadasz aktywn? prac? !' , 'error' )
end
end )
Sprawd? tak, powinno zadzia?a? jak masz 100 lub wi?cej reputacji.
Wysłany: 2019-02-13, 17:04
Pyrek24
Wiek: 25 Na forum: 3438 dni Posty: 546
Nick w MP: Pyrek
Piwa : 10
error w DB3
St4ge
Kod: ERROR: Loading script failder: Marichuana-MoveRPG-PRACA job_c.lua44: attempt to compare string with number
Wysłany: 2019-02-13, 17:48
Mikołajj
Wiek: 22 Na forum: 2885 dni Posty: 303
Nick w MP: Mikołaj
Piwa : 132
bindKey ( "r" , "down" , function()
if not isElementWithinMarker ( localPlayer , praca ) then return end
if not getElementData ( localPlayer , "gracz_praca" ) then
if tonumber ( getElementData ( localPlayer , "player:reputation" )) >= "100" then
local losuj = math . random ( 2 , #miejscaelektryk)
setElementData ( localPlayer , "gracz_praca" , true )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Zbierz marihuane z pola.' , 'info' )
local cel = createMarker ( miejscaelektryk [ losuj ][ 1 ], miejscaelektryk [ losuj ][ 2 ], miejscaelektryk [ losuj ][ 3 ]- 1.0 , "checkpoint" , 1.0 , 255 , 80 , 0 )
local blip = createBlipAttachedTo ( cel , 41 )
local skrzynia = createObject ( krzak , miejscaelektryk [ losuj ][ 1 ], miejscaelektryk [ losuj ][ 2 ], miejscaelektryk [ losuj ][ 3 ]- 1.0 )
addEventHandler ( "onClientMarkerHit" , cel , function( el , md )
if not md or getElementType ( el ) ~= "player" then return end
if el ~= localPlayer then return end
if getPedOccupiedVehicle ( el ) then
outputChatBox ( "* Nie mo?esz tego zebra? b?d?c w poje?dzie!" )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Nie mo?esz tego zebra? bed?c w poje?dzie.' , 'error' )
return
end
destroyElement ( blip )
setElementFrozen ( el , true )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Zbierasz mary?k?, poczekaj 5 sekund.' , 'info' )
setPedAnimation ( localPlayer , "AIRPORT" , "thrw_barl_thrw" , - 1 , true , false )
setTimer (function()
setElementFrozen ( el , false )
outputChatBox ( "* Zebra?e? topa." )
destroyElement ( skrzynia )
destroyElement ( cel )
setPedAnimation ( localPlayer , false )
setElementData ( el , "gracz_praca" , false )
local rp = math . random ( 0 , 2 )
local mp = math . random ( 0 , 1 )
local premium = getElementData ( localPlayer , "player:premium" )
if premium then
kasa = math . random ( 40000 , 45000 )* 1.25
triggerServerEvent ( "givePlayerMoney" , localPlayer , kasa )
setElementData ( el , "player:reputation" , getElementData ( el , "player:reputation" )+ rp )
setElementData ( el , "player:movep" , getElementData ( el , "player:movep" )+ mp )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Za dojechanie na zebran? marych? otrzymujesz:\n#006600 ' .. kasa .. ' #ffffff$,#800000 ' .. rp .. '#ffffff REP oraz #ff4000' .. mp .. '#ffffff MovePoints' , 'success' )
else
kasa = math . random ( 40000 , 45000 )
triggerServerEvent ( "givePlayerMoney" , localPlayer , kasa )
setElementData ( el , "player:reputation" , getElementData ( el , "player:reputation" )+ rp )
setElementData ( el , "player:movep" , getElementData ( el , "player:movep" )+ mp )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Za dojechanie na zebran? marych? otrzymujesz:\n#006600 ' .. kasa .. ' #ffffff$,#800000 ' .. rp .. '#ffffff REP oraz #ff4000' .. mp .. '#ffffff MovePoints' , 'success' )
end
end , 4000 , 1 )
end )
else
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Nie masz wystarczaj?cej ilo?ci RP!' , 'error' )
end
else
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Posiadasz aktywn? prac? !' , 'error' )
end
end )
Wysłany: 2019-02-13, 17:51
Pyrek24
Wiek: 25 Na forum: 3438 dni Posty: 546
Nick w MP: Pyrek
Piwa : 10
St4ge dalej to samo
w DB3
Kod: ERROR: Loading script failder: Marichuana-MoveRPG-PRACA job_c.lua44: attempt to compare string with number
Wysłany: 2019-02-13, 18:13
Qwertick
Coming soon...
Wiek: 23 Na forum: 3577 dni Posty: 472
Nick w MP: Qwertick
Piwa : 2726
bindKey ( "r" , "down" , function()
if not isElementWithinMarker ( localPlayer , praca ) then return end
if not getElementData ( localPlayer , "gracz_praca" ) then
if getElementData ( localPlayer , "player:reputation" ) > 100 then
local losuj = math . random ( 2 , #miejscaelektryk)
setElementData ( localPlayer , "gracz_praca" , true )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Zbierz marihuane z pola.' , 'info' )
local cel = createMarker ( miejscaelektryk [ losuj ][ 1 ], miejscaelektryk [ losuj ][ 2 ], miejscaelektryk [ losuj ][ 3 ]- 1.0 , "checkpoint" , 1.0 , 255 , 80 , 0 )
local blip = createBlipAttachedTo ( cel , 41 )
local skrzynia = createObject ( krzak , miejscaelektryk [ losuj ][ 1 ], miejscaelektryk [ losuj ][ 2 ], miejscaelektryk [ losuj ][ 3 ]- 1.0 )
addEventHandler ( "onClientMarkerHit" , cel , function( el , md )
if not md or getElementType ( el ) ~= "player" then return end
if el ~= localPlayer then return end
if getPedOccupiedVehicle ( el ) then
outputChatBox ( "* Nie mo?esz tego zebra? b?d?c w poje?dzie!" )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Nie mo?esz tego zebra? bed?c w poje?dzie.' , 'error' )
return
end
destroyElement ( blip )
setElementFrozen ( el , true )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Zbierasz mary?k?, poczekaj 5 sekund.' , 'info' )
setPedAnimation ( localPlayer , "AIRPORT" , "thrw_barl_thrw" , - 1 , true , false )
setTimer (function()
setElementFrozen ( el , false )
outputChatBox ( "* Zebra?e? topa." )
destroyElement ( skrzynia )
destroyElement ( cel )
setPedAnimation ( localPlayer , false )
setElementData ( el , "gracz_praca" , false )
local rp = math . random ( 0 , 2 )
local mp = math . random ( 0 , 1 )
local premium = getElementData ( localPlayer , "player:premium" )
if premium then
kasa = math . random ( 40000 , 45000 )* 1.25
triggerServerEvent ( "givePlayerMoney" , localPlayer , kasa )
setElementData ( el , "player:reputation" , getElementData ( el , "player:reputation" )+ rp )
setElementData ( el , "player:movep" , getElementData ( el , "player:movep" )+ mp )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Za dojechanie na zebran? marych? otrzymujesz:\n#006600 ' .. kasa .. ' #ffffff$,#800000 ' .. rp .. '#ffffff REP oraz #ff4000' .. mp .. '#ffffff MovePoints' , 'success' )
else
kasa = math . random ( 40000 , 45000 )
triggerServerEvent ( "givePlayerMoney" , localPlayer , kasa )
setElementData ( el , "player:reputation" , getElementData ( el , "player:reputation" )+ rp )
setElementData ( el , "player:movep" , getElementData ( el , "player:movep" )+ mp )
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Za dojechanie na zebran? marych? otrzymujesz:\n#006600 ' .. kasa .. ' #ffffff$,#800000 ' .. rp .. '#ffffff REP oraz #ff4000' .. mp .. '#ffffff MovePoints' , 'success' )
end
end , 4000 , 1 )
end )
else
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Nie masz wystarczaj?cej ilo?ci RP!' , 'error' )
end
else
triggerEvent ( 'onClientAddNotification' , localPlayer , 'Posiadasz aktywn? prac? !' , 'error' )
end
end )
Podpis
Kontakt
Discord: Qwertick#1210
Więcej szczegółów
Wystawiono 1 piw(a):Pyrek24
Wysłany: 2019-02-13, 18:37
Pyrek24
Wiek: 25 Na forum: 3438 dni Posty: 546
Nick w MP: Pyrek
Piwa : 10
Wercio dzk, a zrobisz mi jeszcze pod jedn? element dat? jest pod RP, i jeszcze pod REP zrobisz?
Wysłany: 2019-02-13, 19:50
Emm
***** ***
Wiek: 32 Na forum: 3880 dni Posty: 3191
Nick w MP: Emm
Piwa : 6162
Administrator: Admin ma zawsze rację | REGULAMIN FORUM | REKLAMA/VIP | .
Ma by? na zasadzie takiej, ?e ma mie? albo "RP" albo "REP", czy na zasadzie "RP" i "REP" > 100?
Podpis
Użytkownik : 20.10.2015r
GTAO Member : 06.03.2016r
Support-Team : 20.01.2016r
Moderator : 30.03.2016r
Mod-Team : 08.10.2016r
Vice Admin : 04.05.2018r
Administrator : 03.05.2022r
[you]
! Koniecznie zapoznaj się z
regulaminem forum .
Pamiętaj, aby zawsze go przestrzegać, nie mniej ważne są również
regulaminy działów , w których się wypowiadasz!
Zamiast zakładać temat po kilka razy, bo jest usuwany przez
Administrację , przejrzyj regulamin i napisz poprawnie temat!
Sprawy z administracją możesz załatwiać anonimowo w
tym dziale .
Najważniejsze informacje od
Administracji możesz przeczytać
tutaj oraz
tutaj .
Wysłany: 2019-02-13, 21:26
Pyrek24
Wiek: 25 Na forum: 3438 dni Posty: 546
Nick w MP: Pyrek
Piwa : 10
Tagi: wymagan
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: