HelpCode for NoFlash/NoSmoke

Posts 16–18 of 18 · Page 2 of 2
Quote Originally Posted by rabir007 View Post


if (Smoke) (CurrentWeapon + BoomDuration) = 999999; //The smoke will never explode on your camera
0.0f Perfect ^_^

---------- Post added at 04:42 AM ---------- Previous post was at 04:32 AM ----------

Quote Originally Posted by kjbmarr View Post
How do you make no smoke with "BoomDurationDamage"??
Here Work In PH
#define Nosmoke (i == 8 || i == 64 || i == 65 || i == 384 || i == 521)
if(smoke)
{
if(WeaponMgR != NULL && (Nosmoke)){
*(float*)(WeaponMgR + 0x3AE9) = 0.0f;
}
Quote Originally Posted by ayawmanmik View Post
0.0f Perfect ^_^
That means instand explode in contact with floor, so that won't solve nothing...
Ok both are working now

NoSmoke:
Code:
if(CurrentWeapon && IsSmokeGrenade(i)) { *(float*)(CurrentWeapon+BoomDurationDamage) =999999; }
NoFlash:
Code:
if(CurrentWeapon && i==7) { *(float*)(CurrentWeapon+WepRange) = 0; }
Posts 16–18 of 18 · Page 2 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us