Post: C# Selector Map { 1.18 }
08-27-2014, 06:57 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU
You must login or register to view this content.
List comboBox
    Aftermath
Cargo
Carrier
Drone
Express
Hijacked
Meltdown
Overflow
Plaza
Raid
Slums
Standoff
Turbine
Yemen
Nuketown 2025
Dig
Pod
Take Off
Frost
Mirage
Hydro
Grind
Down Hill
Encore
Vertigo
Magma
Studio
Rush
Castaway
Bridge
Uplink

Button SET
     private void simpleButton60_Click(object sender, EventArgs e)
{
if (this.comboBoxEdit5.SelectedIndex == 0)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_la" });
}
if (this.comboBoxEdit5.SelectedIndex == 1)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_dockside" });
}
if (this.comboBoxEdit5.SelectedIndex == 2)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_carrier" });
}
if (this.comboBoxEdit5.SelectedIndex == 3)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_drone" });
}
if (this.comboBoxEdit5.SelectedIndex == 4)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_express" });
}
if (this.comboBoxEdit5.SelectedIndex == 5)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_hijacked" });
}
if (this.comboBoxEdit5.SelectedIndex == 6)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_meltdown" });
}
if (this.comboBoxEdit5.SelectedIndex == 7)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_overflow" });
}
if (this.comboBoxEdit5.SelectedIndex == Cool Man (aka Tustin)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_nightclub" });
}
if (this.comboBoxEdit5.SelectedIndex == 9)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_raid" });
}
if (this.comboBoxEdit5.SelectedIndex == 10)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_slums" });
}
if (this.comboBoxEdit5.SelectedIndex == 11)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_village" });
}
if (this.comboBoxEdit5.SelectedIndex == 12)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_turbine" });
}
if (this.comboBoxEdit5.SelectedIndex == 13)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_socotra" });
}
if (this.comboBoxEdit5.SelectedIndex == 14)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_nuketown_2020" });
}
if (this.comboBoxEdit5.SelectedIndex == 15)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_dig" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x10)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_pod" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x11)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_takeoff" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x12)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_frostbite" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x13)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_mirage" });
}
if (this.comboBoxEdit5.SelectedIndex == 20)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_hydro" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x15)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_skate" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x16)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_downhill" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x17)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_concert" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x1Cool Man (aka Tustin)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_vertigo" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x19)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_magma" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x1a)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_Studio" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x1b)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_paintball" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x1c)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_Cove" });
}
if (this.comboBoxEdit5.SelectedIndex == 0x1d)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_Detour" });
}
if (this.comboBoxEdit5.SelectedIndex == 30)
{
RPC.Call(0x313e88, new object[] { 0, "map mp_Uplink" });
}
}


Thanks Smile Smile Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 4 users say thank you to _Antonio96_ for this useful post:

One, ALI ALHILFI, xTc, OlympMoDzYT

The following 2 users groaned at _Antonio96_ for this awful post:

FusionIsDaName, Smooth
08-28-2014, 09:52 PM #11
Hash847
Purple God
Originally posted by NGU View Post
have a list next to it
xD


I don't deny that will make the code shorter, but I like to make my stuff 'user friendly' even know I never release anything.
08-29-2014, 04:10 PM #12
omg this is so fcking hard , t34ch m3 y0ur $k1ll$
10-02-2014, 08:09 AM #13
Unhapn
|PS3 Modder | Coder | Developer|
I try adding this to my tool and its not working when I use my tool
10-02-2014, 09:02 AM #14
Originally posted by Geo7 View Post
If this is leeched, I wont be able to stop laughing, it is too simple to have been leeched xD


What do you think xD, hes a tryhard even look at his NGU Logo :|
10-02-2014, 12:46 PM #15
Items
Bounty hunter
thanks bro
10-02-2014, 10:50 PM #16
Sticky
Mary J Wannnnna
Originally posted by Winter View Post
There is a problem with that. For example:
"mp_la" "mp_dockside"

People want to know what map their changing to.

not true, whenever i do rpc calls in C# i always put new object[] before my params. That's the way i learned to initialize a byte[], or float[] or anything else, but I know you can just put the params in without putting new object[]...
10-16-2014, 08:09 AM #17
One
At least I can fight
thanks for this
10-16-2014, 10:44 PM #18
Jewels
I’m too L33T
works like a charm :yes:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo