• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

TalkAction Perfect !aol script

DanJ93

Member
Joined
Dec 25, 2008
Messages
212
Reaction score
19
Code:
function onSay(cid, words, param, channel)
   if getPlayerStorageValue(cid, 2700) <= os.time() then
     local kk = os.time()+2
     setPlayerStorageValue(cid, 2700, kk)
       if getPlayerMoney(cid) >= 10000 then
         if doPlayerAddItem(cid, 2173, 1, false) then
           return doPlayerRemoveMoney(cid, 10000) and doSendMagicEffect(getCreaturePosition(cid), 22)
         else
          return doPlayerSendCancel(cid, "You don't have space or cap.") and doSendMagicEffect(getCreaturePosition(cid), 2)
         end
       else
         return doPlayerSendCancel(cid, "You don't have money.") and doSendMagicEffect(getCreaturePosition(cid), 2)
       end
   else
         return doPlayerSendCancel(cid, "You are exhausted.") and doSendMagicEffect(getCreaturePosition(cid), 2)
   end
   return true
end
 
Last edited:
And what makes this script perfect?
It's for exp x99999 (can't spam 1000x !aol in 2 sec., can't use aols for anti push [when u don't have space, aols drop on ground])

Or you can change this script, and make other.

specjalnie tak pisze, hehe
 
Back
Top