Raised This Month: $ Target: $400
 0% 

Help with Tag mismatch


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 07-09-2012 , 16:42   Re: Help with Tag mismatch
Reply With Quote #2

Code:
if(get_user_team(i)==CS_TEAM_T)

PHP Code:
if(cs_get_user_team(i)==CS_TEAM_T
cs_get_user_team returns the CS_TEAM constant. the other can get funky. But still should work....whatever reason....that should fix it. Apply that to all of those errors

line 266 - 268
Code:
origin[0] = 0;
    origin[1] = 0;
    origin[2] = -100000;

PHP Code:
origin[0] = 0.0;
    
origin[1] = 0.0;
    
origin[2] = -100000.0
Floats REQUIRE the '.0' at the end. That's how the compiler/engine knows its a float, rather than an int.
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 07-09-2012 at 16:42.
Liverwiz 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 15:23.


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