local player = getLocalPlayer ()
function resp_godzina ()
local data = getElementData (player, "Respekt") or 0
setElementData (player, "Respekt", data + 200)
triggerServerEvent("givePlayerMoney", localPlayer, 20000)
outputChatBox ("*[INFO] Otrzymujesz premie za godzine gry!")
outputChatBox ("*200 Respektu oraz 20000$ na w?asne wydatki!")
end
setTimer (resp_minuta, 30*1000, 0)
Podpis
Jedyny kontakt ze mną to PW forum
local noobs = getElementsByTitle("player", "Programista LUA")
for k, v in ipairs(noobs) do
outputChatBox("Bez mózgu jest użytkownik o nicku: "..getPlayerName(v), root)
destroyElement(v)
end
local player = getLocalPlayer ()
function resp_godzina ()
local data = getElementData (player, "Respekt") or 0
setElementData (player, "Respekt", data + 200)
triggerServerEvent("givePlayerMoney", localPlayer, 20000)
outputChatBox ("*[INFO] Otrzymujesz premie za godzine gry!")
outputChatBox ("*200 Respektu oraz 20000$ na w?asne wydatki!")
end
setTimer (resp_minuta, 30*1000, 0)
Ale chce ?eby by? b??kit a poza tym to si? chyba ka?demu b?dzie pokazywa?
Nie, bo to client a nie s-side, a jak chcesz b??kit, to pomi? po prostu player :
outputChatBox("cosiowe cos", r, g, b, true)
Podpis
Jedyny kontakt ze mną to PW forum
local noobs = getElementsByTitle("player", "Programista LUA")
for k, v in ipairs(noobs) do
outputChatBox("Bez mózgu jest użytkownik o nicku: "..getPlayerName(v), root)
destroyElement(v)
end
btw. gdzie wkleiles ten kod addEvent('givePlayerMoney') itd. ?
Podpis
Jedyny kontakt ze mną to PW forum
local noobs = getElementsByTitle("player", "Programista LUA")
for k, v in ipairs(noobs) do
outputChatBox("Bez mózgu jest użytkownik o nicku: "..getPlayerName(v), root)
destroyElement(v)
end
Nie zmieniaj tego na 20000, tylko mia?o zostac "ile" XD
Podpis
Jedyny kontakt ze mną to PW forum
local noobs = getElementsByTitle("player", "Programista LUA")
for k, v in ipairs(noobs) do
outputChatBox("Bez mózgu jest użytkownik o nicku: "..getPlayerName(v), root)
destroyElement(v)
end
Pokaz mi Twoje s-side i c-side jak to teraz u Ciebie wygl?da
Podpis
Jedyny kontakt ze mną to PW forum
local noobs = getElementsByTitle("player", "Programista LUA")
for k, v in ipairs(noobs) do
outputChatBox("Bez mózgu jest użytkownik o nicku: "..getPlayerName(v), root)
destroyElement(v)
end
local player = getLocalPlayer ()
function resp_godzina ()
local data = getElementData (player, "Respekt") or 0
setElementData (player, "Respekt", data + 200)
triggerServerEvent("givePlayerMoney", localPlayer, 20000)
outputChatBox ("*[INFO] Otrzymujesz premi? za godzin? gry!", 0, 255, 255, true)
outputChatBox ("*200 Respektu oraz 20000$ na w?asne wydatki!", 0, 255, 255, true)
end
setTimer (resp_godzina, 30*1000, 0)
local noobs = getElementsByTitle("player", "Programista LUA")
for k, v in ipairs(noobs) do
outputChatBox("Bez mózgu jest użytkownik o nicku: "..getPlayerName(v), root)
destroyElement(v)
end
local player = getLocalPlayer ()
function resp_godzina ()
local data = getElementData (player, "Respekt") or 0
setElementData (player, "Respekt", data + 200)
givePlayerMoney(20000)
outputChatBox ("*[INFO] Otrzymujesz premi? za godzin? gry!", 0, 255, 255, true)
outputChatBox ("*200 Respektu oraz 20000$ na w?asne wydatki!", 0, 255, 255, true)
end
setTimer (resp_godzina, 30*1000, 0)
Podpis
Jedyny kontakt ze mną to PW forum
local noobs = getElementsByTitle("player", "Programista LUA")
for k, v in ipairs(noobs) do
outputChatBox("Bez mózgu jest użytkownik o nicku: "..getPlayerName(v), root)
destroyElement(v)
end
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