Jesper_Kladden
Donator
This is my first script ever that I've done in LUA so I guess I'm 1337 now!!
J/K. I know it suxx, but anyways..
when the player says "!gold" - he will recieve 100 gold (1 platinum). !!!
Call this file "getgold.lua"
and this should be in the "Talkactions.xml"
Rate it from 1~10 !! This is my first script ever
ps. - TFS 0.2
J/K. I know it suxx, but anyways..
when the player says "!gold" - he will recieve 100 gold (1 platinum). !!!
Call this file "getgold.lua"
Code:
function onSay(cid, word, param)
doPlayerAddMoney(cid, 100)
doPlayerSendTextMessage(cid, 21, "You've just got 100 gold pieces!")
end
and this should be in the "Talkactions.xml"
Code:
<talkaction words="!gold" script="getgold.lua"/>
Rate it from 1~10 !! This is my first script ever
ps. - TFS 0.2