p41nwithoutlove
New Member
- Joined
- Aug 12, 2008
- Messages
- 216
- Reaction score
- 0
ok im using this script from my old tfs .2.4
basically what happens is when u say the word it takes the 5k from u but it doesnt give u the item and it says you dont have enough money
im pretty sure its because its a tfs .2.4 script can any 1 help?
rep++ ofc for help
PHP:
function onSay(cid, words, param)
if doPlayerRemoveMoney(cid, 5000) == 1 then
doPlayerAddItem(cid, 2306, 10)
else
doPlayerSendCancel(cid, 'You don\'t have enough money.')
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
end
basically what happens is when u say the word it takes the 5k from u but it doesnt give u the item and it says you dont have enough money
im pretty sure its because its a tfs .2.4 script can any 1 help?
rep++ ofc for help