• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

HELP scprit i give

Zool

Banned User
Joined
Jun 9, 2009
Messages
742
Reaction score
5
Location
Poland/St Wola
Need sprit to :
I want Starlight Amulet be : When whos take it and use it and die dont lost experanse and items. this amulet = 0 lost experanse and items
i give reputation ++ :)
Next i have problem /pz
Edit it plx i give rep ++
function onSay(cid)
local pzTime = getPlayerRedSkullTicks(cid)
if(pzTime == 0) then
doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_ORANGE,"You don't have to wait to lose pz.")
return TRUE
end
local mins = 0
local hours = 0
if(pzTime > 60) then
if(pzTime > 3600) then
hours = math.floor(pzTime/3600)
pzTime = pzTime-(hours*3600)
end
mins = math.floor(pzTime/60)
pzTime = pzTime-(mins*60)
end
local wiadomosc = "To lose pz you need to wait "
if(hours > 0) then
wiadomosc = wiadomosc .. hours .." hours and "
end
if(mins > 0) then
wiadomosc = wiadomosc .. mins .. " minutes and "
end
wiadomosc = wiadomosc .. pzTime .." seconds."
doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_ORANGE,wiadomosc)
return TRUE
end

whiteSkullTime = 15 * 60 * 1000
pzLocked = 30 * 1000

I want see who to lost pz :/
19:57 Maxirek [159]: 19:57 To lose pz you need to wait 5659 hours and 10 minutes and 0 seconds.
 
Last edited:
Back
Top