English Spawn Item with gut bomb

2 replies
Goto Page
To the start Previous 1 Next To the start
30.01.11 06:39:41 pm
Up
WhoAMI
User
Offline Off
Hi all.How can I create another item on the floor when I threw in gut bomb?

I trying make this so

addhook("hit","guthit")
function guthit(source,wpn)
x = player(source,"tilex")
y = player(source,"tiley")
if (x>=0) and (y>=0) then
if wpn == 86 then
parse("spawnitem 45 "..x.." x y"..y)
end
end
end


I hope you will help.
edited 3×, last 31.01.11 11:02:46 am

Admin/mod comment:

please stop editing to push your thread. it's forbidden.
31.01.11 07:15:12 pm
Up
Night Till Death
User
Offline Off
isnt it suppose to be Id,Tile,Tile,Rotation?
31.01.11 07:36:44 pm
Up
WhoAMI
User
Offline Off
Problem solved,thanks.
To the start Previous 1 Next To the start