Blockland Forums > Help
How i Make a Script of weapon that kills a bot?
(1/4) > >>
eyal2200:
im making a new gun and im still working on it but i want to make inside the (Gunname).cs i want to make a script that when i shoot a projectile on a bot it kills him can anybody help me with that?
Subpixel:
server.cs

--- Code: ---exec("Add-Ons/Weapon_gun name here/gune name here.cs");
--- End code ---

Bot events:
onBotProjectileHit > Bot > Kill
eyal2200:
theres no script for projectile that kills bots instead of making events?
Subpixel:

--- Quote from: eyal2200 on October 13, 2012, 12:20:57 PM ---theres no script for projectile that kills bots instead of making events?

--- End quote ---
What do you mean?
Bots will die when you shoot them.
eyal2200:
look i mean by shooting bots with no events like Ban hammer it doesnt work on events and if you hit bots with ban hammer it dies i just want to make a gun with a script from ban hammer but bot dies from projectiles.
Navigation
Message Index
Next page

Go to full version