![√](img/ok.gif)
Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
wen man ne gutbomb schiest sol ein npc spawn
5 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
![√](img/ok.gif)
vielleicht meinst du das :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-- Projectile -- addhook("projectile","point.pro") function point.pro(id,weapon,x,y) if (weapon==53) then parse("setweapon "..id.." 53") parse("setpos "..id.." "..x.." "..y.."") end end -- Spawn -- addhook("spawn","point.spawn") function point.spawn(id) parse("equip "..id.." 53") end
1
2
3
4
2
3
4
addhook("projectile","spawnnpc") function spawnnpc(id,weapon,x,y) parse("spawnnpc 1 "..math.floor(x/32).." "..math.floor(y/32).." 0") end
![∗](img/star.gif)
man müsste noch die if-bedingung mit weapon einbauen, welche hundesohn genannt hat.
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)