Post: GSC sounds and Icon??
01-21-2015, 05:32 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); I would like to add a sound when I click on a option and want to add a scrolling icon??can someone please help me??
(adsbygoogle = window.adsbygoogle || []).push({});
01-25-2015, 03:08 PM #2
ModyHacker
Gym leader
1. Search for StoreShaders
2. you should see something like this:

     self.menu.scroller= self drawShader("[COLOR="#B22222"]white[/COLOR]", 190, -50, 300, 500, (1, 1, 1), 0, 1);


3.change the white to something in this list: You must login or register to view this content.
4.Now it should be:

    self.menu.scroller= self drawShader("[COLOR="#B22222"]perk_hacker[/COLOR]", 190, -50, 300, 500, (1, 1, 1), 0, 1);


5.now go to init() and add:
    precacheShader("[COLOR="#40E0D0"]perk_hacker[/COLOR]");

6.now your scroller should be the hacker perk
7.now you can go and change where the place is by changing:

    self.menu.scroller= self drawShader("perk_hacker", [COLOR="#008000"]190, -50, 300, 500, [/COLOR](1, 1, 1), 0, 1);


Hope it helped :P
01-25-2015, 10:03 PM #3
what about sounds??
01-25-2015, 11:21 PM #4
PS3 ITA DEX <3
Are you high?
Sounds aren't hard here's the code.
     
self PlaySoundToPlayer( "wpn_dsr50_silencer_lfe", self );

In my menu I have it set to play sounds when I scroll / open the menu. So in the button monitoring just add that to which ever one you wont. Like so
     
openMenu()
{
self PlaySoundToPlayer( "wpn_dsr50_silencer_lfe", self );
wait 0.20;

Where it says "wpn_dsr50"silencer_lfe" that's the sound it will play
Here's a link to all the known sound codes. Smile
You must login or register to view this content.

Note that some won't work. Any that has wpn on the start usually will.

The following user thanked PS3 ITA DEX <3 for this useful post:

Rezqaazify
01-26-2015, 01:12 AM #5
thanks!!!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo