Post: Promod View Code?
01-03-2011, 03:04 AM #1
xGozzy
Climbing up the ladder
(adsbygoogle = window.adsbygoogle || []).push({}); Anyone no the code for the zoom out like the view of promod?
(adsbygoogle = window.adsbygoogle || []).push({});
01-03-2011, 03:06 AM #2
juddylovespizza
I'VE GOT JUNGLE FEVER
self setClientDvar( "cg_gun_x", "5" );
self setClientDvar( "FOV", "90" );

The following user thanked juddylovespizza for this useful post:

xGozzy
01-03-2011, 03:16 AM #3
xGozzy
Climbing up the ladder
Originally posted by juddylovespizza View Post
self setClientDvar( "cg_gun_x", "5" );
self setClientDvar( "FOV", "90" );


How would i bind that to Square?
01-03-2011, 03:41 AM #4
juddylovespizza
I'VE GOT JUNGLE FEVER
Originally posted by Gozzy View Post
How would i bind that to Square?


In the onPlayerConnected(), add this...
    self thread iniButtons();


Then add this at the end of the file...
    iniButtons()
{
self.buttonAction = [];
self.buttonAction[0]="+usereload";
self.buttonAction[1]="weapnext";
self.buttonAction[2]="+gostand";
self.buttonAction[3]="+melee";
self.buttonAction[4]="+actionslot 1";
self.buttonAction[5]="+actionslot 2";
self.buttonAction[6]="+actionslot 3";
self.buttonAction[7]="+actionslot 4";
self.buttonAction[8]="+frag";
self.buttonAction[9]="+smoke";
self.buttonAction[10]="+attack";
self.buttonAction[11]="+speed_throw";
self.buttonAction[12]="+stance";
self.buttonAction[13]="+breathe_sprint";
self.buttonPressed = [];
for(i=0; i<14; i++)
{
self.buttonPressed[self.buttonAction[i]] = false;
self thread monitorButtons( self.buttonAction[i] );
}
}

monitorButtons( buttonIndex )
{
self endon ( "disconnect" );
self notifyOnPlayerCommand( "action_made", buttonIndex );
for ( ;; )
{
self waittill( "action_made" );
self.buttonPressed[ buttonIndex ] = true;
wait .05;
self.buttonPressed[ buttonIndex ] = false;
}
}

isButtonPressed( actionID )
{
if ( self.buttonPressed[ actionID ] == 1)
{
self.buttonPressed[ actionID ] = 0;
return true;
}
else
return false;
}


Then your code:
    if ( self isButtonPressed( "+actionslot 4" ) )
self ProMod();
01-03-2011, 03:42 AM #5
xGozzy
Climbing up the ladder
Originally posted by juddylovespizza View Post
In the onPlayerConnected(), add this...
    self thread iniButtons();


Then add this at the end of the file...
    iniButtons()
{
self.buttonAction = [];
self.buttonAction[0]="+usereload";
self.buttonAction[1]="weapnext";
self.buttonAction[2]="+gostand";
self.buttonAction[3]="+melee";
self.buttonAction[4]="+actionslot 1";
self.buttonAction[5]="+actionslot 2";
self.buttonAction[6]="+actionslot 3";
self.buttonAction[7]="+actionslot 4";
self.buttonAction[8]="+frag";
self.buttonAction[9]="+smoke";
self.buttonAction[10]="+attack";
self.buttonAction[11]="+speed_throw";
self.buttonAction[12]="+stance";
self.buttonAction[13]="+breathe_sprint";
self.buttonPressed = [];
for(i=0; i<14; i++)
{
self.buttonPressed[self.buttonAction[i]] = false;
self thread monitorButtons( self.buttonAction[i] );
}
}

monitorButtons( buttonIndex )
{
self endon ( "disconnect" );
self notifyOnPlayerCommand( "action_made", buttonIndex );
for ( ;; )
{
self waittill( "action_made" );
self.buttonPressed[ buttonIndex ] = true;
wait .05;
self.buttonPressed[ buttonIndex ] = false;
}
}

isButtonPressed( actionID )
{
if ( self.buttonPressed[ actionID ] == 1)
{
self.buttonPressed[ actionID ] = 0;
return true;
}
else
return false;
}


Then your code:
    if ( self isButtonPressed( "+actionslot 4" ) )
self ProMod();


O_o Im Talking About Bypass Codes
01-03-2011, 06:58 AM #6
here bud,

bind button_x "cg_fov 80,cg_fovScale 125"

thats like insane promod but heres reg

bind button_x "cg_fov 80"

The following user thanked xELiT3_Sn1PaXx for this useful post:

xGozzy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo