Raised This Month: $ Target: $400
 0% 

Help with a amx_showip


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 08-25-2013 , 00:17   Re: Help with a amx_showip
Reply With Quote #1

Quote:
Originally Posted by devilicioux View Post
PHP Code:
public function(id

    new 
team get_user_team(id
//make a switch statement to check what it returns and Then store the value in variable.
//get_user_team(id) == 1 //ts
//get_user_team(id) == 2 //ct                                 
//get_user_team(id) == 3 // spec
//get_user_team(id) == 0 // unnasigned                                 

I think get_user_team returns 3 for both unassigned and spectators. Someone correct me if im wrong.
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 08-25-2013 , 00:32   Re: Help with a amx_showip
Reply With Quote #2

Quote:
Originally Posted by pokemonmaster View Post
I think get_user_team returns 3 for both unassigned and spectators. Someone correct me if im wrong.
You are wrong.

0 = Unassigned
1 = Terrorist
2 = Counter Terrorist
3 = Spectator
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd 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 15:49.


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