Post: Small Crosshair gsc script
08-13-2015, 09:29 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I was wondering if anyone has a smaller crosshair script. This would make the regulard black ops 2 crosshair smaller so the bullet always goes in the middle of your screen. An example of a script i do not want is a script that adds a pink crosshair over the black ops 2 crosshair. I have seen this done in modded lobbies and was wondering if anyone could help me out! Thanks Happy
(adsbygoogle = window.adsbygoogle || []).push({});
08-13-2015, 12:12 PM #2
ProcyonXL
Do a barrel roll!
use the dvar from Modern Warfare 2

setDvar("perk_weapSpreadMultiplier", 0.001);
08-13-2015, 12:51 PM #3
Originally posted by ProcyonXL View Post
use the dvar from Modern Warfare 2

setDvar("perk_weapSpreadMultiplier", 0.001);


is that for the whole server? or for a player?
I have never used dvars before

also please tell me in what context i would use this.
08-13-2015, 01:40 PM #4
FRINZ
I’m too L33T
Originally posted by 15987632 View Post
is that for the whole server? or for a player?
I have never used dvars before

also please tell me in what context i would use this.


    smallcross()
{
if(self.small==0)
{
self iprintln("Small Crosshair Enable");
setDvar("perk_weapSpreadMultiplier", 0.001);
self.small=1;
}
else
{
self iprintln("Small Crosshair Disable");
setDvar("perk_weapSpreadMultiplier", 1);
self.small=0;
}
}


there you go m9
08-13-2015, 02:21 PM #5
Originally posted by 7584
    smallcross()
{
if(self.small==0)
{
self iprintln("Small Crosshair Enable");
setDvar("perk_weapSpreadMultiplier", 0.001);
self.small=1;
}
else
{
self iprintln("Small Crosshair Disable");
setDvar("perk_weapSpreadMultiplier", 1);
self.small=0;
}
}


there you go m9


thats easy, thanks m9
08-13-2015, 03:07 PM #6
Trefad
I defeated!
Originally posted by 7584
    smallcross()
{
if(self.small==0)
{
self iprintln("Small Crosshair Enable");
setDvar("perk_weapSpreadMultiplier", 0.001);
self.small=1;
}
else
{
self iprintln("Small Crosshair Disable");
setDvar("perk_weapSpreadMultiplier", 1);
self.small=0;
}
}


there you go m9


Do you know if I can set it up to automatically give you it?
08-13-2015, 05:58 PM #7
Originally posted by Trefad View Post
Do you know if I can set it up to automatically give you it?


put it in here onPlayerSpawned()
08-13-2015, 07:09 PM #8
NEW UPDATE- It only works for host how do i give it to any player?
08-15-2015, 07:02 AM #9
Trefad
I defeated!
Originally posted by 15987632 View Post
NEW UPDATE- It only works for host how do i give it to any player?


smallcross(player)
{
if(player.small==0)
{
player iprintln("Small Crosshair Enable");
setDvar("perk_weapSpreadMultiplier", 0.001);
player.small=1;
}
else
{
player iprintln("Small Crosshair Disable");
setDvar("perk_weapSpreadMultiplier", 1);
player.small=0;
}
}

All I did was change everything that said self to player. Not sure if it works.
08-15-2015, 12:54 PM #10
Originally posted by Trefad View Post
smallcross(player)
{
if(player.small==0)
{
player iprintln("Small Crosshair Enable");
setDvar("perk_weapSpreadMultiplier", 0.001);
player.small=1;
}
else
{
player iprintln("Small Crosshair Disable");
setDvar("perk_weapSpreadMultiplier", 1);
player.small=0;
}
}

All I did was change everything that said self to player. Not sure if it works.


that wont make a diff in my case, this is for a zombieland menu.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo