Raised This Month: $ Target: $400
 0% 

Bots don't shoot invisible


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 06-14-2012 , 18:40   Re: Bots don't shoot invisible
Reply With Quote #10

As another suggestion, I think it would be better to don't use public for functions which are not forwards like set_task, RegisterHam, register_event or other natives.

-- Edited --

And for your next update, would be better to define:

Code:
const gmaxClients = 32; // Instead of: // new gmaxClients = 32;

Code:
public fwKilled( id ){ // Instead of: // public fwKilled( id , idattacker , shouldgib ){ // (because you don't use these variables)

Code:
    return !( 0 < iRender < 3 && 3 < iRender < 6 ); // Instead of: //  return ( iRender != kRenderTransColor && iRender != kRenderTransTexture && iRender != kRenderTransAlpha && iRender != kRenderTransAdd );
__________________

Last edited by claudiuhks; 06-14-2012 at 23:48.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
 


Thread Tools
Display Modes

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 17:17.


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