Post: [CODE] Glow Stick
07-16-2012, 01:14 AM #1
Cmd-X
It's been awhile.
(adsbygoogle = window.adsbygoogle || []).push({});
Glow Stick Code (MW2)

    
lightsticktestwtf()
{
self maps\mp\perks\_perks::givePerk("specialty_fastreload");
self maps\mp\perks\_perks::givePerk("specialty_extendedmelee");
self maps\mp\perks\_perks::givePerk("specialty_fastsprintrecovery");
self maps\mp\perks\_perks::givePerk("specialty_improvedholdbreath");
self maps\mp\perks\_perks::givePerk("specialty_fastsnipe");
self maps\mp\perks\_perks::givePerk("specialty_selectivehearing");
self maps\mp\perks\_perks::givePerk("specialty_heartbreaker");
self maps\mp\perks\_perks::givePerk("specialty_automantle");
self maps\mp\perks\_perks::givePerk("specialty_falldamage");
self maps\mp\perks\_perks::givePerk("specialty_lightweight");
self maps\mp\perks\_perks::givePerk("specialty_coldblooded");
self maps\mp\perks\_perks::givePerk("specialty_fastmantle");
self maps\mp\perks\_perks::givePerk("specialty_quickdraw");
self maps\mp\perks\_perks::givePerk("specialty_parabolic");
self maps\mp\perks\_perks::givePerk("specialty_detectexplosive");
self maps\mp\perks\_perks::givePerk("specialty_marathon");
self maps\mp\perks\_perks::givePerk("specialty_extendedmags");
self maps\mp\perks\_perks::givePerk("specialty_armorvest");
self maps\mp\perks\_perks::givePerk("specialty_scavenger");
self maps\mp\perks\_perks::givePerk("specialty_jumpdive");
self maps\mp\perks\_perks::givePerk("specialty_extraammo");
self maps\mp\perks\_perks::givePerk("specialty_bulletdamage");
self maps\mp\perks\_perks::givePerk("specialty_quieter");
self maps\mp\perks\_perks::givePerk("specialty_bulletpenetration");
self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
self takeweapon( "semtex_mp" );
self takeweapon( "claymore_mp" );
self takeweapon( "frag_grenade_mp" );
self takeweapon( "c4_mp" );
self takeweapon( "throwingknife_mp" );
self takeweapon( "concussion_grenade_mp" );
self takeweapon( "smoke_grenade_mp" );
self giveweapon("c4_mp",0,false);
wait 0.01;
self takeweapon( "c4_mp" );
wait 0.5;
self giveweapon("lightstick_mp",0,false);
}

(Yes, you need all the perks, or else it won't work for some reason)

Precache:
    
precacheItem("lightstick_mp");


that's what my class setup was, sometimes it may not work if you use other items.

video:


Thanks LightModz for always being by my side when I was down :love:

credits:

rendflex
&
You must login or register to view this content.


_____________________________________________
thanks :love:
Last edited by Cmd-X ; 07-16-2012 at 09:33 PM.

The following 27 users say thank you to Cmd-X for this useful post:

-Kitten-, blackhawk2299, YouAppreciateMe, ChromeVisionz, CrEaTiiOnUNREAL, d1g1tal, DiscoverTheOG, dutch masters, EcLiPz_MoDD3Rz, forflah123, ForgivenxModz, Fraud, Hoodie Allen, Ingloreusemodz, itzHaZed, Kush Friendly, Jango, primetime43, say-say123, Script Kiddie, Simple-_-Modz, Special-Modding, This-Guyy, UnboundUser, Vultra, xSoulEdge, xXdynomite1997X

The following 5 users groaned at Cmd-X for this awful post:

247Yamato, KingcreekS, Uk_ViiPeR, Vampytwistッ
07-16-2012, 04:04 PM #20
Originally posted by Blackstorm View Post
I know the result is always the same, but it's good to practice good scripting techniques. It's like math;

1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 = 10

2 x 5 = 10


They will give you the same result but which one is the better way to go? The 2 x 5 equation. That's all I'm saying, even though it'll have the same result, you should always practice making your scripts smaller and more efficient.

---------- Post added at 09:02 AM ---------- Previous post was at 08:59 AM ----------



foreach(weapon in self getWeaponsListOffhands()) *



Meh I couldn't remember the exact function. I have used it like once in my life lol.
07-16-2012, 04:07 PM #21
Ingloreusemodz
Sexy Pimp Yo
Nice, now i'm going to use this in my porno patch
07-16-2012, 07:17 PM #22
Cmd-X
It's been awhile.
Originally posted by Blackstorm View Post
I know the result is always the same, but it's good to practice good scripting techniques. It's like math;

1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 = 10

2 x 5 = 10


They will give you the same result but which one is the better way to go? The 2 x 5 equation. That's all I'm saying, even though it'll have the same result, you should always practice making your scripts smaller and more efficient.

---------- Post added at 09:02 AM ---------- Previous post was at 08:59 AM ----------



foreach(weapon in self getWeaponsListOffhands()) *


Yeah good point man, but I didn't know the optimized version of that code at the time.. Lol.
07-17-2012, 12:29 AM #23
itzHaZed
Do a barrel roll!
Here's a HD video Happy
07-17-2012, 05:08 AM #24
That is bad a** man Smile I never knew you could use those as a weapon =]
Last edited by d1g1tal ; 07-17-2012 at 05:11 AM.
07-20-2012, 10:24 PM #25
Cmd-X
It's been awhile.
Originally posted by itzHaZed View Post
Here's a HD video Happy


Lol, I love how you put, "itzHaZed Glow Stick Mod".. followed by, "I didn't make this!"
07-21-2012, 08:16 AM #26
Originally posted by Snow
Credits to infinity ward for putting it in their game? Lol, and yes Jake, we know you can also add it to the spawn, and yes, Jake, I already stated what you need to precache. Tell me who found it, because I seriously don't know.

LoL! Yea Thank You Inifinity Ward for making this

The following user thanked xXdynomite1997X for this useful post:

Cmd-X
07-24-2012, 12:39 PM #27
07-25-2012, 09:17 AM #28
Fraud
Banned
This is pretty cool man

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo