Forum

> > CS2D > Scripts > Spawn Item with gut bomb
Forums overviewCS2D overview Scripts overviewLog in to reply

English Spawn Item with gut bomb

2 replies
To the start Previous 1 Next To the start

old Spawn Item with gut bomb

WhoAMI
User Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview