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