You are viewing our Forum Archives. To view or take place in current topics click here.
[MW2 TU8] Release: How To Get Glow Stick working
Posted:

[MW2 TU8] Release: How To Get Glow Stick workingPosted:

ImTreyZv2
  • New Member
Status: Offline
Joined: Mar 09, 201410Year Member
Posts: 9
Reputation Power: 0
Status: Offline
Joined: Mar 09, 201410Year Member
Posts: 9
Reputation Power: 0
Well i thinks its about time to release how to get Glow Stick...
First of all you need this offset: 0x83109D9C
and set it to 1 ingame!
Then your done
Here is the code you need for giving glow stick...
void GiveGlowStick(int Client)
{
   GivePlayerWeapon(Client, "semtex_mp", 0, 1, 0);
   BG_TakePlayerWeapon(PlayerState(Client), G_GetWeaponIndexForName("semtex_mp"), 0);
   GivePlayerWeapon(Client, "lightstick_mp", 0, 1, 0);
}

Ps.: You need a Semtex in your class to give glowstick. I tried it with other items but they didnt work...
Have Fun

The following 10 users thanked ImTreyZv2 for this useful post:

-Mythic (04-12-2014), Adamu (03-16-2014), Gor (03-15-2014), Blzd (03-15-2014), TuM (03-15-2014), xChillest (03-15-2014), Kaspur (03-15-2014), MRMURK4G3 (03-15-2014), Xenon_Hoster (03-15-2014), XeAri (03-15-2014)
#2. Posted:
Xenon_Hoster
  • TTG Natural
Status: Offline
Joined: Sep 29, 201013Year Member
Posts: 974
Reputation Power: 38
Status: Offline
Joined: Sep 29, 201013Year Member
Posts: 974
Reputation Power: 38
nice release, thanks for sharing
#3. Posted:
-Lew
  • TTG Natural
Status: Offline
Joined: Jul 17, 201211Year Member
Posts: 923
Reputation Power: 177
Status: Offline
Joined: Jul 17, 201211Year Member
Posts: 923
Reputation Power: 177
so this could be added into a tool correct?
#4. Posted:
itsRubbers
  • Prospect
Status: Offline
Joined: Jan 06, 201311Year Member
Posts: 634
Reputation Power: 34
Status: Offline
Joined: Jan 06, 201311Year Member
Posts: 634
Reputation Power: 34
Tork wrote so this could be added into a tool correct?

Ya hurry go paste it in you're tool
#5. Posted:
-Lew
  • TTG Natural
Status: Offline
Joined: Jul 17, 201211Year Member
Posts: 923
Reputation Power: 177
Status: Offline
Joined: Jul 17, 201211Year Member
Posts: 923
Reputation Power: 177
rubbersallday wrote
Tork wrote so this could be added into a tool correct?

Ya hurry go paste it in you're tool


i dont have a tool it was a simple Q&A
#6. Posted:
DOLLARxHD
  • Junior Member
Status: Offline
Joined: Mar 10, 201113Year Member
Posts: 61
Reputation Power: 2
Status: Offline
Joined: Mar 10, 201113Year Member
Posts: 61
Reputation Power: 2
Pretty cool release for Mw2!
#7. Posted:
Bitwise
  • Resident Elite
Status: Offline
Joined: Feb 09, 201410Year Member
Posts: 267
Reputation Power: 14
Status: Offline
Joined: Feb 09, 201410Year Member
Posts: 267
Reputation Power: 14
I feel like an idiot XD I got it working too, but I was precaching the weapon, then setting it. But that was more lines of code...when you can do it in just 3 :/ Good share though.
#8. Posted:
ImTreyZv2
  • New Member
Status: Offline
Joined: Mar 09, 201410Year Member
Posts: 9
Reputation Power: 0
Status: Offline
Joined: Mar 09, 201410Year Member
Posts: 9
Reputation Power: 0
Bitwise wrote I feel like an idiot XD I got it working too, but I was precaching the weapon, then setting it. But that was more lines of code...when you can do it in just 3 :/ Good share though.

I told you that im not using your function
But thanks
#9. Posted:
TuM
  • TTG Addict
Status: Offline
Joined: May 11, 201113Year Member
Posts: 2,038
Reputation Power: 483
Status: Offline
Joined: May 11, 201113Year Member
Posts: 2,038
Reputation Power: 483
Good job and nice release, glad to see the hole modding community on here ain't retards ;)
#10. Posted:
Kopa
  • TTG Senior
Status: Offline
Joined: Feb 16, 201410Year Member
Posts: 1,172
Reputation Power: 43
Status: Offline
Joined: Feb 16, 201410Year Member
Posts: 1,172
Reputation Power: 43
nice release! thanks for the share
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.