menu only for a User
I need this menu can be accessed only by the first user to type the command to open it.
PHP Code:
|
Re: menu only for a User
i dont believe that is possible.. :(
|
Re: menu only for a User
Store the id of the first player in a global variable. Check in the command if the id of the person calling the command is the same as the person in the variable. Also, if the variable is equal to 0 then store the person's id. Quite simple actually.
|
Re: menu only for a User
something like that?
PHP Code:
|
Re: menu only for a User
PHP Code:
|
Re: menu only for a User
I was thinking he meant that the first person to use it can use it again and everybody else cannot use it at all. I guess the way he says it that it could be either way.
|
Re: menu only for a User
Anyway, his code is so terrible that i would be better in request forum than in scripting help one.
|
| All times are GMT -4. The time now is 12:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.