Raised This Month: $ Target: $400
 0% 

Bool Bug


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-10-2009 , 16:04   Re: Bool Bug
Reply With Quote #4

Set bool to true when spectator and false for all other? Please explain better\clearer if this is incorrect.

PHP Code:
UNASSIGNED false
TERRORIST 
false
CT 
false
SPECTATOR 
true 
PHP Code:
new boolg_bTeamSpec33 ];

register_event"TeamInfo" "fw_EvTeamInfo" "a" );

public 
fw_EvTeamInfo()
{
    static 
szTeam]; read_dataszTeam );
    
    
g_bTeamSpecread_data) ] = bool:( szTeam] == 'S' );

__________________

Last edited by Bugsy; 08-11-2009 at 23:01.
Bugsy is offline
 



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 18:20.


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