Post: [SCRIPT] Water Gun CoD4
07-25-2012, 09:28 PM #1
iPROFamily
Gym leader
(adsbygoogle = window.adsbygoogle || []).push({}); Credit to Hxrry for the video:



Put this in init:
    level._effect["iPRO"] = loadfx("explosions/grenadeExp_water");


For Default Weapon Only:
    WaterGunDefault()
{
self endon("death");
self endon("disconnect");
self giveWeapon("defaultweapon_mp",6);
self switchtoweapon("defaultweapon_mp",6);
for(;Winky Winky
{
self waittill("weapon_fired");
if(self getcurrentweapon()== "defaultweapon_mp")
{
my=self gettagorigin("j_head");
trace=bullettrace(my,my+anglestoforward(self getplayerangles())*100000,true,self)["position"];
playfx(level._effect["iPRO"],trace);
}
wait 0.1;
}
}


For All Weapons:
    WaterGun()
{
self endon("death");
self endon("disconnect");
for(;Winky Winky
{
self waittill("weapon_fired");
playfx(level._effect["iPRO"],bullettrace(self getEye(), self getEye()+anglestoforward(self getplayerangles())*100000,0,self)["position"]);
}
}


I Made it for cod5 but works for CoD4 to
(adsbygoogle = window.adsbygoogle || []).push({});

The following 11 users say thank you to iPROFamily for this useful post:

codybenti, Harry, Jacob-And-Britt, Josh Moss, Karoolus, kempson87, LightModz, Cmd-X, Simple-_-Modz, xMrSuperMoDzZ--
08-06-2012, 01:36 AM #20
where do i put these codes?
08-06-2012, 02:16 AM #21
iPROFamily
Gym leader
Originally posted by GAMER View Post
probably not, but when you posted it on here.

you had:

    
self waittill("weapon_fired");
{
//stuff
}


no biggie just a simple typo :p

keep releasing man!


whats your skype bro?
08-06-2012, 02:32 AM #22
Originally posted by iPROFamily View Post
whats your skype bro?


I already have you added.
08-06-2012, 05:37 AM #23
iPROFamily
Gym leader
Originally posted by GAMER View Post
I already have you added.


whats your name on it ?
08-08-2012, 07:32 AM #24
Would this work on mw2?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo