Rufo
New Member
- Joined
- Jan 9, 2008
- Messages
- 251
- Reaction score
- 1
Haha long time not releasing simple scripts like this...
This works perfect on TFS 0.3.4++ because you can use instantly...
i'll explain.
If somone is throwing trash like in a depot tile or something and you dont know who is, use the command
And with this script the player who is throwing trash will send a little msg saying that he is...
First put into /data/movements/scripts/trash.lua
Then onto your movements.xml
TOO LAZY AND GOT TFS 0.3.6? Put this on movements.xml
By Cykotitan.
I know this is a little dumb ass but im bored so i'll release it xD.
I hope its useful for u
This works perfect on TFS 0.3.4++ because you can use instantly...
i'll explain.
If somone is throwing trash like in a depot tile or something and you dont know who is, use the command
Code:
/attr actionid 5121
First put into /data/movements/scripts/trash.lua
Lua:
function onAddItem(moveitem, tileitem, position, cid)
doCreatureSay(cid, "Im throwing trash!!", TALKTYPE_ORANGE_1)
end
Then onto your movements.xml
Code:
<movevent type="AddItem" tileitem="1" actionid="5121" event="script" value="trash.lua"/>
TOO LAZY AND GOT TFS 0.3.6? Put this on movements.xml
Code:
<movevent type="AddItem" tileitem="1" actionid="5121" event="buffer" value="doCreatureSay(cid, 'Im throwing trash!!', TALKTYPE_ORANGE_1)"/>
I know this is a little dumb ass but im bored so i'll release it xD.
I hope its useful for u
Last edited: