Raised This Month: $ Target: $400
 0% 

Public Chatviewer


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-20-2008 , 09:17   Re: Public Chatviewer
Reply With Quote #11

Ultimate Chat is still better since it has more features. ( covering all aspects )


By the way, regarding your code :
- new player_count = get_playersnum() : 'get_playersnum()' is useless since 'player_count' will be filled with the right value from get_players()

- players[ i] : Don't re-indexe. Do something like caching the value. Better when it's called severals times.
Code:
new player; for (new i = 0; i < player_count; i++) {       player = players[i];
- MSG_ONE : I would use MSG_ONE_UNRELIABLE here.

- get_user_msgid("SayText") : use a global variable to store one time the value

- register_cvar("AcidoX", "Autoheal 1.1", FCVAR_SERVER) : hum~~ ; you should not use 'AcidoX' for cvar name.
__________________

Last edited by Arkshine; 07-20-2008 at 09:34.
Arkshine 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 19:55.


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