Post: Help with GSC Binds
10-08-2014, 11:14 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); This is a really nooby question but how do I add binds to my gsc menu?
10-08-2014, 11:32 AM #2
SyGnUs
Give a F*** About Your Lifestyle
Originally posted by Modz View Post
This is a really nooby question but how do I add binds to my gsc menu?


You can use something like this -
    
if(self actionSlotTwoButtonPressed())
{
//Code to be executed here
}
10-08-2014, 03:11 PM #3
xReaperv3
Bounty hunter
As SyGnUs said, make a function that "monitors" player's Buttons, try something like this: (dont forget to call it in a thread)
    
Binds()
{
if(self ActionSlotOneButtonPressed())
{
//Mod here when you press DPAD Up
wait 0.02;
}
else if(self ActionSlotTwoButtonPressed())
{
//Mod here when you press DPAD Down
wait 0.02;
}
wait 0.05;
}

The following user thanked xReaperv3 for this useful post:

iknownothing
10-08-2014, 11:17 PM #4
Thanks Smile

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo