Post: [C#] How To Code Numeric Up and Downs, And ComboBoxes [SIMPLE]
12-30-2013, 05:10 PM #1
Notorious
Caprisuns Is Back
(adsbygoogle = window.adsbygoogle || []).push({}); This is very simple and I hope you enjoy! Leave a like and a sub!


*EDIT*

for the numeric up and downs use this code:

byte[] Prestige = BitConverter.GetBytes((int)NumericUpDown1.Value); //turns the int into bytes
Array.Reverse(Prestige); //reverse the bytes for the ps3
PS3.SetMemory(PRESTIGE_ADDRESS, Prestige); //send the bytes to the ps3

thanks to Bad Luck Kevin Smile

You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Notorious for this useful post:

MDBOXER123
12-30-2013, 05:21 PM #2
marky1991
Are you high?
(L) I love you
12-30-2013, 05:23 PM #3
Notorious
Caprisuns Is Back
Originally posted by marky1991 View Post
(L) I love you


hahaha
12-30-2013, 05:50 PM #4
Originally posted by NoToRiOuSHaCkEr View Post
This is very simple and I hope you enjoy! Leave a like and a sub!




You must login or register to view this content.


you should change something in the tutorial, instead of making a if statements for every prestige, transform the value into bytes like this:

byte[] Prestige = BitConverter.GetBytes((int)NumericUpDown1.Value); //turns the int into bytes
Array.Reverse(Prestige); //reverse the bytes for the ps3
PS3.SetMemory(PRESTIGE_ADDRESS, Prestige); //send the bytes to the ps3


otherwise your way would need 20 if/else statements... i just resumed it in 3 lines ! Smile

Great tutorial btw :yes: ^^
12-30-2013, 06:01 PM #5
Notorious
Caprisuns Is Back
Originally posted by Bad
you should change something in the tutorial, instead of making a if statements for every prestige, transform the value into bytes like this:

byte[] Prestige = BitConverter.GetBytes((int)NumericUpDown1.Value); //turns the int into bytes
Array.Reverse(Prestige); //reverse the bytes for the ps3
PS3.SetMemory(PRESTIGE_ADDRESS, Prestige); //send the bytes to the ps3


otherwise your way would need 20 if/else statements... i just resumed it in 3 lines ! Smile

Great tutorial btw :yes: ^^

Ok man I will try it and thank you man I appreciate it.
12-30-2013, 06:12 PM #6
Originally posted by NoToRiOuSHaCkEr View Post
This is very simple and I hope you enjoy! Leave a like and a sub!


*EDIT*

for the numeric up and downs use this code:

byte[] Prestige = BitConverter.GetBytes((int)NumericUpDown1.Value); //turns the int into bytes
Array.Reverse(Prestige); //reverse the bytes for the ps3
PS3.SetMemory(PRESTIGE_ADDRESS, Prestige); //send the bytes to the ps3

thanks to Bad Luck Kevin Smile

You must login or register to view this content.

Nice Bro Smile

The following user thanked JustDoItMods for this useful post:

Notorious

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo