Answered adding a second page to players list

nick97

Veteran
Messages
27
Reaction score
7
Points
783
can someone please help me get the page 2 on my players list to work i can get it to come up but when i click on page 2 its disconnects me and freezes my ps3 any help would be good this is how ive done it

self add_option("pOpt " + i + "_2", "Next Page", ::submenu, "" + i + "_4", "[" + verificationToColor(player.MenuAccess) + "^7] " + name);

self add_menu("pOpt_" + i + "_4" + verificationToColor(player.MenuAccess) + "^7] " + name, "CoHost");
 

TheNiceUb3r

Veteran
Messages
45
Reaction score
46
Points
793
can someone please help me get the page 2 on my players list to work i can get it to come up but when i click on page 2 its disconnects me and freezes my ps3 any help would be good this is how ive done it

self add_option("pOpt " + i + "_2", "Next Page", ::submenu, "" + i + "_4", "[" + verificationToColor(player.MenuAccess) + "^7] " + name);

self add_menu("pOpt_" + i + "_4" + verificationToColor(player.MenuAccess) + "^7] " + name, "CoHost");


Your using the source engine menu base, I have not found a way to do this yet without freezing but if I do ill help ya.
 

DF_AUS

Moderator
Staff member
Head Staff Team
Donator
Messages
577
Reaction score
793
Points
878
Your using the source engine menu base, I have not found a way to do this yet without freezing but if I do ill help ya.

Here bae,its me ( DF_AUS ) so obviously you know i use Source engine aswel :smile:

self add_option("pOpt " + i + "_2", "^7--- ^5PAGE 2 ^7---", ::submenu, "player_sub2" + i + "_2");

self add_menu("player_sub2" + i + "_2", "pOpt " + i + "_2", self.menu.menuopt["Client Menu"], "Co-Host");
self add_option("player_sub2" + i + "_2", "FRINZ_MALE_ESCORT", :://Call Code, player);
Your using the source engine menu base, I have not found a way to do this yet without freezing but if I do ill help ya.
 

nick97

Veteran
Messages
27
Reaction score
7
Points
783
thanks guys ive worked it out i did it like this
Here bae,its me ( DF_AUS ) so obviously you know i use Source engine aswel :grinning:

self add_option("pOpt " + i + "_2", "^7--- ^5PAGE 2 ^7---", ::submenu, "player_sub2" + i + "_2");

self add_menu("player_sub2" + i + "_2", "pOpt " + i + "_2", self.menu.menuopt["Client Menu"], "Co-Host");
self add_option("player_sub2" + i + "_2", "FRINZ_MALE_ESCORT", :://Call Code, player);

thanks guys i did it like this

self add_option("pOpt " + i, "Options 2", ::submenu, "pOpt2 " + i + "_4", "[" + verificationToColor(player.status) + "^7] " + playerName);
self add_menu("pOpt2 " + i + "_4", "pOpt " + i, "[" + verificationToColor(player.status) + "^7] " + playerName, "Co-Host");
 

TheNiceUb3r

Veteran
Messages
45
Reaction score
46
Points
793
You can also do it this way a little less code I guess

self add_option("pOpt " + i + "_2", "Page 2", ::submenu, "MainPMP2" + i, "^FPage 2");
self add_menu("MainPMP2" + i, "pOpt " + i + "_2", "Co-Host");

self add_option("MainPMP2" + i, "Test", ::Testing, player);
 

Kaedin

Insane-Known Member
Messages
1
Reaction score
0
Points
351
You can also do it this way a little less code I guess

self add_option("pOpt " + i + "_2", "Page 2", ::submenu, "MainPMP2" + i, "^FPage 2");
self add_menu("MainPMP2" + i, "pOpt " + i + "_2", "Co-Host");

self add_option("MainPMP2" + i, "Test", ::Testing, player);


Could you skyoe me? "Kovely"
 
Top