Raised This Month: $ Target: $400
 0% 

doubt new menu system


Post New Thread Reply   
 
Thread Tools Display Modes
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 06-02-2011 , 10:26   Re: doubt new menu system
Reply With Quote #11

And the error is ... ?

Most likely you didn't use the constants or you didn't tag a variable to get team... so, what error ?

Just to note, cs_set_user_team() works, you don't need anything else.
__________________
Hunter-Digital is offline
andre neves
Junior Member
Join Date: Mar 2011
Old 06-02-2011 , 17:54   Re: doubt new menu system
Reply With Quote #12

do I need to have everyone spect, I do not remember the error, I think it was invalid player

Last edited by andre neves; 09-07-2011 at 17:16.
andre neves is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-02-2011 , 21:47   Re: doubt new menu system
Reply With Quote #13

Come back when you know the error and show the code that you are using.
__________________
fysiks is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 06-03-2011 , 02:15   Re: doubt new menu system
Reply With Quote #14

use is_user_connected(id) or

#define Is_Player(%1) 1 <= %1 <= g_iMaxPlayers

new g_iMaxPlayers

plugin init
g_iMaxPlayers = get_maxplayers();

then if(Is_Player(id))
Doc-Holiday 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 09:47.


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