Hi
I present to you a very nice Training Room
Screen :
-----------------------------------------------------------------
-------------------------------------------===============---
Script :
Paste to data/actions/actions.xml
Then create file stone.lua and paste :
Then create file food.lua and paste :
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Skan :
VirusTotal - Free Online Virus, Malware and URL Scanner
And Download ^^ :
DOWNLAOD
I present to you a very nice Training Room
Screen :
-----------------------------------------------------------------
-------------------------------------------===============---
Script :
Paste to data/actions/actions.xml
Code:
<action actionid="166" event="script" value="food.lua" />
<action actionid="167" event="script" value="stone.lua" />
Then create file stone.lua and paste :
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if doPlayerRemoveMoney ( cid, 5) then
doPlayerAddItem(cid,2671,1)
else
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You don\'t have money.")
end
return true
end
Then create file food.lua and paste :
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if doPlayerRemoveMoney ( cid, 10) then
doPlayerAddItem(cid,1294,10)
else
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "You don\'t have money.")
end
return true
end
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Skan :
VirusTotal - Free Online Virus, Malware and URL Scanner
And Download ^^ :
DOWNLAOD