Post: [SCRIPTS] Few Little Disable/Enable Functions
11-29-2011, 10:56 PM #1
IVI40A3Fusionz
Former Gaming Squad Member
(adsbygoogle = window.adsbygoogle || []).push({}); Firstly i would like to say that alot of people will know these but these are specifically for the newer coders.
Other than that i would also like to say that here you have a few Disable and Enable functions that i think would work well if you were making a game mode.

Disable/Enable Jumping.
**Disable Jumping:**
    allowJump(false);



**Enable Jumping:**
    allowJump(true);


Disable/Enable Sprinting.
**Disable Sprinting:**
    allowSprint(false);



**Enable Sprinting:**
    allowSprint(true);


Disable/Enable Controls.
**Disable Controls:**
    freezecontrols(true);



**Enable Controls:**
    freezecontrols(false);


Disable/Enable Weapons.
**Disable Weapons:**
    DisableWeapons();



**Enable Weapons:**
    self EnableWeapons();


Disable/Enable Aiming.
**Disable Aiming:**
    allowADS(false);



**Enable Aiming:**
    allowADS(true);


Disable/Enable Crouching.
**Disable Crouching:**
    allowCrouch(false);



**Enable Crouching:**
    allowCrouch(true);


Disable/Enable Standing
**Disable Standing:**
    allowStand(false);



**Enable Standing:**
    allowStand(true);


Flame if you like it won't bother me one bit. Thank the thread and it will encourage me to keep producing things Smile.
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked IVI40A3Fusionz for this useful post:

247Yamato
11-29-2011, 11:19 PM #2
Taylor
Former Black Knight.
Originally posted by another user
.


FLAMING!

You must login or register to view this content.
01-12-2012, 10:45 PM #3
wow so gay!!!
01-12-2012, 11:02 PM #4
Taylor
Former Black Knight.
Originally posted by COD5
wow so gay!!!


lets see u do better, he found these in the hud util, do u even know wat that is? lmao
01-12-2012, 11:26 PM #5
thers more on here Happy You must login or register to view this content.
01-12-2012, 11:31 PM #6
Default Avatar
Newelly
Guest
Originally posted by xYARDSALEx View Post
lets see u do better, he found these in the hud util, do u even know wat that is? lmao


if not he can find it here:
You must login or register to view this content.

to be precise:
You must login or register to view this content.

just find it in the folders Winky Winky


some good stuff in those folders if you look good enough Winky Winky

The following user thanked Newelly for this useful post:

Woof
01-13-2012, 12:11 AM #7
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by IELIITEMODZX View Post
thers more on here Happy You must login or register to view this content.


All these are just in some .gsc files in a CoD4 patch_mp.ff so of course there's going to be more XD.
01-13-2012, 12:16 AM #8
Originally posted by IVI40A3Fusionz View Post
All these are just in some .gsc files in a CoD4 patch_mp.ff so of course there's going to be more XD.
:p but i think there is some other Disable/Enable functions in there to add.
01-13-2012, 12:18 AM #9
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by reScript
There is seriously no point posting anything like this, this game has been out for years, every signle file has been looked through multiple times. would be a miracle finding something new... Happy


1. Never said they were 'new' Winky Winky.
2. Look at the post date, this thread is atleast a few weeks old.
3. Have a good day.

---------- Post added at 12:18 AM ---------- Previous post was at 12:18 AM ----------

Originally posted by IELIITEMODZX View Post
:p but i think there is some other Disable/Enable functions in there to add.


Then maybe you can make a thread and put them all in there because if i update this one i will just get hate Winky Winky but hey that's NGU for you.
01-13-2012, 12:22 AM #10
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by reScript
1. I never said you said they were new?
2. This was old about 3years ago.
3. I am having a good day thanks.


Sorry but i never started coding until about 3 months ago so everything i learn in the mean time is pretty much very new to me.

Oh and im glad you having a nice day well night as your from the UK Winky Winky.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo