crie um talaction/scripts .lua chamado aol
nele coloque :
function onSay(cid, words, param) if getPlayerItemCount(cid,2160) >=10 then doPlayerAddItem(cid,2173) doPlayerRemoveItem(cid,2160,10) else doPlayerSendCancel(cid,"Você não tem dinheiro suficiente") end end
e no talkactions.xml é só voce colocar esta tag
<talkaction words="!aol" event="script" value="aol.lua"/>
ajudei ?? rep+
Para trocar o valor da aol troque aqui : if getPlayerItemCount(cid,2160) >=10 then
2160 = id de um dinheiro , nao sei ao certo qual é, e o >=10 é a quantidade maior ou igual a 10 é so modificar aí!! AJUDEI?? REP+ POR FAVOR


info
Grupo: Campones
Registrado: 11/07/11
Posts: 9
Reputação: +3
Oi gente eu gostaria de por aquele comando "!aol" no meu server pois meu server veio sem se alguem puder me ajudar eu agradeco.
eu gotaria de preferencia que a pessoa me mandase um tutorial por link