Post: Camos for gsc menu?
09-12-2015, 05:37 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Right now i am using

peace()
{
self giveWeapon( "peacekeeper_mp" );
self switchToWeapon( "peacekeeper_mp");
}

to get a weapon. Does anyone know how to add a camo tho?
(adsbygoogle = window.adsbygoogle || []).push({});
09-12-2015, 05:47 PM #2
-Numb
You talkin to me?
Originally posted by mcallihan100 View Post
Right now i am using

peace()
{
self giveWeapon( "peacekeeper_mp" );
self switchToWeapon( "peacekeeper_mp");
}

to get a weapon. Does anyone know how to add a camo tho?


self giveWeapon("peacekeeper_mp", 0, true ( 43, 0, 0, 0, 0 ));

Change 43 to a different number for a different camo Smile
09-12-2015, 06:19 PM #3
Originally posted by Numb View Post
self giveWeapon("peacekeeper_mp", 0, true ( 43, 0, 0, 0, 0 ));

Change 43 to a different number for a different camo Smile


The peacekeeper was just an example. Can I do that with all weapons?
09-12-2015, 06:20 PM #4
itsSorrow
In my man cave
Originally posted by mcallihan100 View Post
The peacekeeper was just an example. Can I do that with all weapons?


no you can't its the only weapon
09-12-2015, 06:21 PM #5
Originally posted by GentleSlugger View Post
no you can't its the only weapon


Also do you know if I could just have an option in my menu that would change to a random camo for any gun?
09-12-2015, 10:49 PM #6
HiddenHour
I defeated!
Originally posted by mcallihan100 View Post
Also do you know if I could just have an option in my menu that would change to a random camo for any gun?


Use
    randomIntRange(min, max+1)


So if you wanted to print a random number between 1 and 5, you would use
    self iprintln(randomIntRange(1, 6));


If you want to get the code for your weapon, use
    self getCurrentWeapon()


So to print the name of your weapon, use
    self iprintln(self getCurrentWeapon());
09-12-2015, 11:28 PM #7
itsSorrow
In my man cave
Originally posted by TheHiddenHour View Post
Use
    randomIntRange(min, max+1)


So if you wanted to print a random number between 1 and 5, you would use
    self iprintln(randomIntRange(1, 6));


If you want to get the code for your weapon, use
    self getCurrentWeapon()


So to print the name of your weapon, use
    self iprintln(self getCurrentWeapon());


what? He wants the random camo func...
    
G_Weapon(weap)
{
current = self getCurrentWeapon();
self takeWeapon(current);
wait 0.01;
randy = RandomIntRange( 17, 45 );
self giveWeapon( weap, 0, true ( randy, 0, 0, 0, 0 ));
self switchToWeapon( weap );
}
09-12-2015, 11:37 PM #8
HiddenHour
I defeated!
Originally posted by GentleSlugger View Post
what? He wants the random camo func...
    
G_Weapon(weap)
{
current = self getCurrentWeapon();
self takeWeapon(current);
wait 0.01;
randy = RandomIntRange( 17, 45 );
self giveWeapon( weap, 0, true ( randy, 0, 0, 0, 0 ));
self switchToWeapon( weap );
}


I'd rather let him figure it out and learn Magglass1
09-13-2015, 12:41 AM #9
itsSorrow
In my man cave
Originally posted by TheHiddenHour View Post
I'd rather let him figure it out and learn Magglass1


whats learning? Idk what that is since its the WEEKEND

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo