AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [MENU] Get info from all pages (https://forums.alliedmods.net/showthread.php?t=208756)

BlackRaven 02-17-2013 09:04

[MENU] Get info from all pages
 
Edit: Fixed

YamiKaitou 02-17-2013 09:32

Re: [MENU] Get info from all pages
 
Show us your code

fysiks 02-17-2013 15:28

Re: [MENU] Get info from all pages
 
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).

BlackRaven 02-19-2013 08:39

Re: [MENU] Get info from all pages
 
Edit: Fixed

fysiks 02-19-2013 22:21

Re: [MENU] Get info from all pages
 
Quote:

Originally Posted by BlackRaven (Post 1897541)
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.

BlackRaven 02-20-2013 11:38

Re: [MENU] Get info from all pages
 
EDIT:fixed,thank you everyone! :)


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

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