Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gold Loot
Author Message
Van Glan Bloom
Journeyman
*

Posts: 104
Likes Given: 2
Likes Received: 3 in 3 posts
Joined: Jun 2013
Reputation: 0



Post: #1
Gold Loot
Hello,

I wish you would give me a hand in a script. I'm trying to create a script for the player kills a mob, the money goes directly to the bag of the player.

I have this :

Code:
[EVENTS e_money_collect]

on=@kill
local.tmp=<obj>
obj=<argo.uid>
if (<obj.isevent.e_exp>) || (<obj.baseid>==c_zombie_m)
local.new <new>
loot_corpse
bounce <new>
new=<local.new>
src.sysmessage @09c1 TESTE
return 1
endif

Code:
[FUNCTION loot_corpse]
if (<baseid>==i_gold)
    cont=<src.owner.findlayer.21.uid>
endif
03-09-2015 09:36 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Gold Loot - Van Glan Bloom - 03-09-2015 09:36 AM
RE: Gold Loot - azmanomer - 03-09-2015, 09:39 AM
RE: Gold Loot - Van Glan Bloom - 03-10-2015, 12:59 AM
RE: Gold Loot - azmanomer - 03-10-2015, 01:29 AM
RE: Gold Loot - Van Glan Bloom - 03-10-2015, 03:26 AM
RE: Gold Loot - XuN - 03-17-2015, 08:42 PM
RE: Gold Loot - Van Glan Bloom - 03-17-2015, 11:51 PM
RE: Gold Loot - darksun84 - 03-18-2015, 12:13 AM
RE: Gold Loot - XuN - 03-18-2015, 06:10 AM
RE: Gold Loot - Van Glan Bloom - 03-18-2015, 11:33 PM
RE: Gold Loot - XuN - 03-19-2015, 05:48 PM
RE: Gold Loot - Van Glan Bloom - 03-22-2015, 08:21 AM
RE: Gold Loot - UltimaAku - 04-28-2015, 07:43 PM
RE: Gold Loot - richm - 04-29-2015, 08:19 AM
RE: Gold Loot - Van Glan Bloom - 05-03-2015, 02:22 AM
RE: Gold Loot - XuN - 05-03-2015, 04:37 AM
RE: Gold Loot - Van Glan Bloom - 05-03-2015, 08:32 AM
RE: Gold Loot - XuN - 05-03-2015, 05:25 PM
RE: Gold Loot - Van Glan Bloom - 05-04-2015, 10:34 PM
RE: Gold Loot - XuN - 05-05-2015, 04:57 PM
RE: Gold Loot - Van Glan Bloom - 05-05-2015, 09:47 PM
RE: Gold Loot - XuN - 05-06-2015, 04:19 PM
RE: Gold Loot - Van Glan Bloom - 05-07-2015, 09:22 AM
RE: Gold Loot - XuN - 05-07-2015, 04:32 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)