Portal SAMP
[Ajuda] O que significa isso? - Versão de Impressão

+- Portal SAMP (https://portalsamp.com)
+-- Fórum: SA-MP (https://portalsamp.com/forumdisplay.php?fid=5)
+--- Fórum: Área de suporte (https://portalsamp.com/forumdisplay.php?fid=6)
+--- Tópico: [Ajuda] O que significa isso? (/showthread.php?tid=2192)



O que significa isso? - Klaba - 15/03/2022

Olá amigos!

Bom, eu estava vendo algumas GameMods, e queria saber o que é os últimos números, tipo: (Modelo Do objeto, Nome, ?)

Código:
new Tuning_Shop_Objects[][e_Tuning_Shop_Objects] =
{
    {1000, "Alerón Ford", 15000},
    {1001, "Alerón McLaren", 17000},
    {1002, "Alerón Pagani", 13000},
    {1003, "Alerón GTR", 10000},
    {1004, "Alerón P21", 9000},
    {1005, "bnt_b_sc_l", 3000},
    {1007, "wg_l_b_ssk", 2000},
    {1018, "exh_b_ts", 3500},
    {1019, "exh_b_t", 3500},
    {1021, "exh_b_m", 3500},
    {1024, "lgt_b_sspt", 2000},
    {1029, "exh_c_s", 3000},
    {1043, "exh_lr_br2", 3500},
    {1044, "exh_lr_br1", 3000},
    {1047, "wg_l_a_f", 2500},
    {1048, "wg_l_c_f", 2500},
    {1056, "wg_l_a_st", 2500},
    {1090, "wg_l_a_u", 2500},
    {2768, "CJ_CB_BURG", 1000},
    {19078, "TheParrot1", 8000},
    {19893, "LaptopSAMP1", 6000},
    {19838, "CoffeeCup1", 1000},
    {11736, "MedicCase1", 3000},
    {1247, "bribe", 8000},
    {19147, "PinSpotLight5", 5000},
    {19148, "PinSpotLight6", 5000},
    {19149, "PinSpotLight7", 5000},
    {19151, "PinSpotLight9", 5000},
    {19580, "Pizza1", 1000},
    {2690, "CJ_FIRE_EXT", 5000},
    {19308, "taxi01", 3000},
    {1550, "CJ_MONEY_BAG", 4000},
    {19306, "kmb_goflag2", 5000},
    {19307, "kmb_goflag3", 5000},
    {18749, "SAMPLogoSmall", 5000},
    {19054, "XmasBox1", 3000},
    {19133, "ArrowType4", 5000},
    {19471, "forsale02", 3000},
    {19878, "Skateboard1", 2000},
    {19314, "bullhorns01", 5000},
    {2404, "CJ_SURF_BOARD", 3000},
    {2405, "CJ_SURF_BOARD2", 3000},
    {2406, "CJ_SURF_BOARD3", 3000},
    {19317, "bassguitar01", 2000},
    {19318, "flyingv01", 2000},
    {2232, "MED_SPEAKER_4", 3000},
    {1840, "speaker_2", 2000},
    {2229, "SWANK_SPEAKER", 4000},
    {1025, "wheel_or1", 2500},
    {1073, "wheel_sr6", 2500},
    {1074, "wheel_sr3", 2500},
    {1075, "wheel_sr2", 2500},
    {1076, "wheel_lr4", 2500},
    {1077, "wheel_lr1", 2500},
    {1078, "wheel_lr3", 2500},
    {1079, "wheel_sr1", 2500},
    {1080, "wheel_sr5", 2500},
    {1081, "wheel_sr4", 2500},
    {1082, "wheel_gn1", 2500},
    {1083, "wheel_lr2", 2500},
    {1084, "wheel_lr5", 2500},
    {1085, "wheel_gn2", 2500},
    {1096, "wheel_gn3", 2500},
    {1097, "wheel_gn4", 2500},
    {19894, "laptop", 4500},
    {19873, "toiletpaperroll1", 200},
    {19874, "soapbar1", 200},
    {19624, "case1", 600},
    {19621, "obj1", 1500},
    {1049, "Alerón TSR-S", 6000},
    {1050, "Alerón Speedtail", 7000},
    {1098, "Rueda", 7000},
    {1128, "Rejilla1", 5000},
    {1130, "Rejilla2", 5500},
    {1131, "Rejilla3", 3000},
    {1157, "Parachoque",5000},
    {1174, "Parachoque",5000},
    {1175, "Parachoque",5000},
    {1189, "Parachoque", 5000},
    {1254, "Calabera", 20000},
    {1274, "Dinero", 25000},
    {2103, "Radio", 13000},
    {2231, "Parlante", 15000},
    {2798, "Manilla", 8000},
    {18647, "Neon Rojo", 14000},
    {18648, "Neon Azul", 14000},
    {18649, "Neon Verde", 14000},
    {18650, "Neon Amarillo", 14000},
    {18651, "Neon Rosa", 14000},
    {18652, "Neon Blanco", 14000},
    {19150, "Luz Amarilla", 8000},
    {19153, "Luz", 8000},
    {19156, "Luz Verde", 8000},
    {19917, "Motor Sport", 30000}
};

vejam acima...


Isso é um mselection (abre um menu de seleção baseado no txt)


RE: O que significa isso? - Burunu - 15/03/2022

(15/03/2022 19:06)Klaba Escreveu: Olá amigos!

Bom, eu estava vendo algumas GameMods, e queria saber o que é os últimos números, tipo: (Modelo Do objeto, Nome, ?)

Código:
new Tuning_Shop_Objects[][e_Tuning_Shop_Objects] =
{
    {1000, "Alerón Ford", 15000},
    {1001, "Alerón McLaren", 17000},
    {1002, "Alerón Pagani", 13000},
    {1003, "Alerón GTR", 10000},
    {1004, "Alerón P21", 9000},
    {1005, "bnt_b_sc_l", 3000},
    {1007, "wg_l_b_ssk", 2000},
    {1018, "exh_b_ts", 3500},
    {1019, "exh_b_t", 3500},
    {1021, "exh_b_m", 3500},
    {1024, "lgt_b_sspt", 2000},
    {1029, "exh_c_s", 3000},
    {1043, "exh_lr_br2", 3500},
    {1044, "exh_lr_br1", 3000},
    {1047, "wg_l_a_f", 2500},
    {1048, "wg_l_c_f", 2500},
    {1056, "wg_l_a_st", 2500},
    {1090, "wg_l_a_u", 2500},
    {2768, "CJ_CB_BURG", 1000},
    {19078, "TheParrot1", 8000},
    {19893, "LaptopSAMP1", 6000},
    {19838, "CoffeeCup1", 1000},
    {11736, "MedicCase1", 3000},
    {1247, "bribe", 8000},
    {19147, "PinSpotLight5", 5000},
    {19148, "PinSpotLight6", 5000},
    {19149, "PinSpotLight7", 5000},
    {19151, "PinSpotLight9", 5000},
    {19580, "Pizza1", 1000},
    {2690, "CJ_FIRE_EXT", 5000},
    {19308, "taxi01", 3000},
    {1550, "CJ_MONEY_BAG", 4000},
    {19306, "kmb_goflag2", 5000},
    {19307, "kmb_goflag3", 5000},
    {18749, "SAMPLogoSmall", 5000},
    {19054, "XmasBox1", 3000},
    {19133, "ArrowType4", 5000},
    {19471, "forsale02", 3000},
    {19878, "Skateboard1", 2000},
    {19314, "bullhorns01", 5000},
    {2404, "CJ_SURF_BOARD", 3000},
    {2405, "CJ_SURF_BOARD2", 3000},
    {2406, "CJ_SURF_BOARD3", 3000},
    {19317, "bassguitar01", 2000},
    {19318, "flyingv01", 2000},
    {2232, "MED_SPEAKER_4", 3000},
    {1840, "speaker_2", 2000},
    {2229, "SWANK_SPEAKER", 4000},
    {1025, "wheel_or1", 2500},
    {1073, "wheel_sr6", 2500},
    {1074, "wheel_sr3", 2500},
    {1075, "wheel_sr2", 2500},
    {1076, "wheel_lr4", 2500},
    {1077, "wheel_lr1", 2500},
    {1078, "wheel_lr3", 2500},
    {1079, "wheel_sr1", 2500},
    {1080, "wheel_sr5", 2500},
    {1081, "wheel_sr4", 2500},
    {1082, "wheel_gn1", 2500},
    {1083, "wheel_lr2", 2500},
    {1084, "wheel_lr5", 2500},
    {1085, "wheel_gn2", 2500},
    {1096, "wheel_gn3", 2500},
    {1097, "wheel_gn4", 2500},
    {19894, "laptop", 4500},
    {19873, "toiletpaperroll1", 200},
    {19874, "soapbar1", 200},
    {19624, "case1", 600},
    {19621, "obj1", 1500},
    {1049, "Alerón TSR-S", 6000},
    {1050, "Alerón Speedtail", 7000},
    {1098, "Rueda", 7000},
    {1128, "Rejilla1", 5000},
    {1130, "Rejilla2", 5500},
    {1131, "Rejilla3", 3000},
    {1157, "Parachoque",5000},
    {1174, "Parachoque",5000},
    {1175, "Parachoque",5000},
    {1189, "Parachoque", 5000},
    {1254, "Calabera", 20000},
    {1274, "Dinero", 25000},
    {2103, "Radio", 13000},
    {2231, "Parlante", 15000},
    {2798, "Manilla", 8000},
    {18647, "Neon Rojo", 14000},
    {18648, "Neon Azul", 14000},
    {18649, "Neon Verde", 14000},
    {18650, "Neon Amarillo", 14000},
    {18651, "Neon Rosa", 14000},
    {18652, "Neon Blanco", 14000},
    {19150, "Luz Amarilla", 8000},
    {19153, "Luz", 8000},
    {19156, "Luz Verde", 8000},
    {19917, "Motor Sport", 30000}
};

vejam acima...


Isso é um mselection (abre um menu de seleção baseado no txt)

Aparentemente seria os valores(preço) de cada item. Me corrijam caso estiver errado!


RE: O que significa isso? - ipsLuan - 15/03/2022

Basicamento: {objetoId, objetoNome, objetoPreço}.