perfection
FATAL DAMAGE
- Joined
- Aug 27, 2011
- Messages
- 196
- Reaction score
- 8
LUA:
local experience = 100000 -- How much exp will be granted
local cash = 200000 -- How much money will be paid
function onSay (cid, words, param)
if getPlayerMoney(cid) >= cash then
doPlayerRemoveMoney(cid, cash)
doPlayerAddExp(cid, experience)
doPlayerSendTextMessage(cid,22, "You sucessfully bought " .. experience .. " EXP.")
else
doPlayerSendCancel(cid,"You Dont Have Enough Money")
end
doSendMagicEffect(getPlayerPosition(cid),2)
return TRUE
end
leave ur comment if u like it
