Hello.
I need help with this script.
But ... How do I get to make the command in 4 days?
My stamine system no work :/ and this is the solution i get far.
Other.
RedSkull system no work.. i've in the config.lua
and with 3 kills the players become Red Skull ¿?¿?¿?¿? and no loss frags
help me.. :/
Regards.
Abba.
I need help with this script.
Code:
local staminaMaxMinutes = 2520
local cost = 5000
function onSay(cid, words, param, channel)
if(getPlayerStamina(cid) < staminaMaxMinutes) then
if(doPlayerRemoveMoney(cid, cost)) then
doPlayerSetStamina(cid, 2520)
doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "You have restored your stamina for " .. cost .. " gold.")
else
doPlayerSendCancel(cid, "You need " .. cost .. " gold to restore your stamina.")
end
else
doPlayerSendCancel(cid, "Your stamina is already full.")
end
return true
end
But ... How do I get to make the command in 4 days?
My stamine system no work :/ and this is the solution i get far.
Other.
RedSkull system no work.. i've in the config.lua
Code:
killsToRedSkull = "6"
timeToDecreaseFrags = 6 * 60 * 60 * 1000
and with 3 kills the players become Red Skull ¿?¿?¿?¿? and no loss frags
help me.. :/
Regards.
Abba.