Raised This Month: $ Target: $400
 0% 

[MENU] Get info from all pages


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BlackRaven
Member
Join Date: Jun 2012
Location: Latvia
Old 02-17-2013 , 09:04   [MENU] Get info from all pages
Reply With Quote #1

Edit: Fixed

Last edited by BlackRaven; 02-20-2013 at 15:40.
BlackRaven is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-17-2013 , 09:32   Re: [MENU] Get info from all pages
Reply With Quote #2

Show us your code
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Old 02-17-2013, 09:43
BlackRaven
This message has been deleted by BlackRaven. Reason: FIXED
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-17-2013 , 15:28   Re: [MENU] Get info from all pages
Reply With Quote #3

You can't use read_argv() there. You need to pass the target player's id to the PlayersMenu() function (in addition to the player who is using the menu).
__________________
fysiks is offline
BlackRaven
Member
Join Date: Jun 2012
Location: Latvia
Old 02-19-2013 , 08:39   Re: [MENU] Get info from all pages
Reply With Quote #4

Edit: Fixed

Last edited by BlackRaven; 02-20-2013 at 15:41.
BlackRaven is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-19-2013 , 22:21   Re: [MENU] Get info from all pages
Reply With Quote #5

Quote:
Originally Posted by BlackRaven View Post
If i understand you right then you mean the data function.
Do i need to add data function to PlayersMenu?
Like:
PHP Code:
PlayersMenu(iddata
?
"data" is not a "function," it is a string and I never said anything about "data". I said what I said and that is what I meant. You need to pass the player's id (which is an integer).

It is possible with "data" if you do it correctly but is not the way that you should do it.
__________________

Last edited by fysiks; 02-19-2013 at 22:22.
fysiks is offline
BlackRaven
Member
Join Date: Jun 2012
Location: Latvia
Old 02-20-2013 , 11:38   Re: [MENU] Get info from all pages
Reply With Quote #6

EDIT:fixed,thank you everyone!

Last edited by BlackRaven; 02-20-2013 at 15:41.
BlackRaven is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode