Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: maryha
1. maryha przerobka nie dziala
Witam posiadam skrypt z yad 2020 sf lecz nie dziala mi przerobka maryhy i wyskakuje taki blad
[img]https://i.imgur.com/haPkDVb.png[/img]
c.lua
[lua]
--[[
autor; ez3n
mta-youradventure.pl
]]

local sx,sy = guiGetScreenSize()
local sc = 1920/sx

local font = dxCreateFont("f.ttf", 20) or "default"

local przerabianie = nil

local czas = nil

createMarker(-1183.26,-1140.74,129.22-1, "cylinder", 5, 51, 102, 255)
local blip = createBlip(-1183.63,-1139.69,129.22, 25)
setBlipVisibleDistance(blip, 250)

function gui()
dxDrawText("Trwa przerabianie marihuanynPozosta?o: "..czas.." sekund", 547/sc, 475/sc, 1376/sc, 608/sc, tocolor(0,0,0), 1/sc, font, "center", "center")
dxDrawText("#ccccccTrwa przerabianie marihuanynPozosta?o: #3366ff"..czas.." sekund", 546/sc, 474/sc, 1375/sc, 607/sc, tocolor(200,200,200), 1/sc, font, "center", "center", _,_,_,true)
end

function zbierajsurowce()
if getElementData(localPlayer, "maryha") == 0 then
exports['yd-noti']:noti("Nie posiadasz marihuany!", "error")
return
end
if getElementData(localPlayer, "player:duty") == "SAPD" then exports['yd-noti']:noti("tobie to si? chyba w dupie poprzewraca?o", "error") return end
if not przerabianie then
przerabianie = true
czas = 1
addEventHandler("onClientRender", root, gui)
t...