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: elemental
1. Elemental Data
Mam taki kodzik:

Kod:

function fixcaronly(thePlayer)
local naprawka = getElementData (thePlayer, "fix")
if naprawka == 0 then
setElementData ( thePlayer, "fix", 1 )
else
outputChatBox("Niestety, naprawy mo?esz u?y? tylko raz co 5 minut !", thePlayer, 255, 0, 0)
end
end
addCommandHandler("napraw", fixcaronly)


Chc? by co 5 minut mo?na by?o tego u?ywa?, p?tl? jak??, czy timerem...
Pozdrawiam :)

// a tak wgl, czy to dobrze jest, nie testowa?em... robi?em od tak...