ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1174

HOW TO PUT A SELECTED TOGGLE ONLY FOR THAT PLAYER?

by EMILG0NZA - 05-09-2020 - 10:19 PM
#1
So Maybe You Know How to put a Toggle Like Money Drop or a Crash etc But How I Can DO To Put That Variable Only On That Player Im Confiuse And Really IDK How HELP
Disc = 0xemiil
Reply
#2
//variable
bool toggleDropCash[17];

//loop
if (toggleDropCash[selectedPlayer]){
//.. code
}

//bool option
toggleDropCash[selectedPlayer] = !toggleDropCash[selectedPlayer];

or

&toggleDropCash[selectedPlayer]
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#3
(05-09-2020 - 10:58 PM)SlkB Wrote: //variable
bool toggleDropCash[17];

//loop
if (toggleDropCash[selectedPlayer]){
    //.. code
}

//bool option
toggleDropCash[selectedPlayer] = !toggleDropCash[selectedPlayer];

or

&toggleDropCash[selectedPlayer]
Very Nice I will Try Later Thx
Disc = 0xemiil
Reply
#4
Will not work you need to use a struct for online players and call your bools in there
Reply
#5
(05-10-2020 - 03:33 AM)Venom_Modz Wrote: Will not work you need to use a struct for online players and call your bools in there
? not need nothing of this, only bools
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#6
(05-09-2020 - 11:14 PM)FeetForFree Wrote:
(05-09-2020 - 10:58 PM)SlkB Wrote: //variable
bool toggleDropCash[17];

//loop
if (toggleDropCash[selectedPlayer]){
    //.. code
}

//bool option
toggleDropCash[selectedPlayer] = !toggleDropCash[selectedPlayer];

or

&toggleDropCash[selectedPlayer]
Very Nice I will Try Later Thx
thats the way
Reply
#7
(05-12-2020 - 01:08 AM)BModzMasterTM Wrote:
(05-09-2020 - 11:14 PM)FeetForFree Wrote:
(05-09-2020 - 10:58 PM)SlkB Wrote: //variable
bool toggleDropCash[17];

//loop
if (toggleDropCash[selectedPlayer]){
    //.. code
}

//bool option
toggleDropCash[selectedPlayer] = !toggleDropCash[selectedPlayer];

or

&toggleDropCash[selectedPlayer]
Very Nice I will Try Later Thx
thats the way
Neta tu cres que haci jale?
Disc = 0xemiil
Reply
#8
(05-10-2020 - 03:33 AM)Venom_Modz Wrote: Will not work you need to use a struct for online players and call your bools in there
EXACTLY WHAT HE SAID
Reply

Users browsing: 1 Guest(s)