Raised This Month: $ Target: $400
 0% 

Why wont this work?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bilal Pro
Senior Member
Join Date: Mar 2012
Location: Holland
Old 04-21-2012 , 12:51   Why wont this work?
Reply With Quote #1

PHP Code:
menu_additem(menuszText"1"get_user_team(id) == 2
My question is why wont this work, it compiles fine :O?
__________________
  • Point System with rank titles for sale [X] [100% private]
  • VIP Menu for sale [X] [100% private]
  • HnS shop more features for sale [X] [100% private]
Contact: Bilalzaandam1234, on steam if you are interested.
Bilal Pro is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-21-2012 , 13:14   Re: Why wont this work?
Reply With Quote #2

The 4th argument is the access required to use that option. This is referring to the ADMIN_* variables, it's not a 1 or 0 (bool) thing.

I think you will need to use a callback instead of using the 4th argument for disabling for a certain team. And, before you ask, look in the menu tutorial for callbacks. I can't remember if Emp added it to his main post but if not then you need to search for Exolent's post about callbacks.
__________________
fysiks 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 07:52.


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