Forum

> > CS2D > Scripts > Spawn Item with gut bomb
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Spawn Item with gut bomb

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Spawn Item with gut bomb

WhoAMI
User Off Offline

Zitieren
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.
3× editiert, zuletzt 31.01.11 11:02:46

Admin/Mod Kommentar

please stop editing to push your thread. it's forbidden.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht