Raised This Month: $12 Target: $400
 3% 

set_client_listen not working?


Post New Thread Reply   
 
Thread Tools Display Modes
KiN | SuicideDog
Senior Member
Join Date: Mar 2004
Old 03-28-2004 , 22:45  
Reply With Quote #11

Quote:
Originally Posted by CheesyPeteza
It looks like high quality coding to me.
My code or his? If mine, are you telling me the logic looks good? Can you follow what I'm doing with it? (it's a little different cuz I have to adapt it so it works with my dead chat).. if I get it working I'll make one that works even if you don't have dead chat.. the logic when switching it off and on will be a little different.
__________________
Code:
#include <amxmodx> public client_connect(id){   new playerIQ    get_player_IQ(id,playerIQ)   if(playerIQ < 100 )  {     client_cmd(id,"say I'm too stupid to play;quit")  }   PLUGIN_CONTINUE}
KiN | SuicideDog is offline
CheesyPeteza
Senior Member
Join Date: Feb 2004
Location: UK
Old 03-29-2004 , 04:09  
Reply With Quote #12

Quote:
Originally Posted by KiN | SuicideDog
Quote:
Originally Posted by CheesyPeteza
It looks like high quality coding to me.
My code or his? If mine, are you telling me the logic looks good? Can you follow what I'm doing with it? (it's a little different cuz I have to adapt it so it works with my dead chat).. if I get it working I'll make one that works even if you don't have dead chat.. the logic when switching it off and on will be a little different.
The logic looks fine and I understand it perfectly. When I read it I think, that is exactly how I would have done it. 90% of the plugins I read from the plugins forum I think, wtf is he doing that for?
__________________
YO|Cheesy Peteza

[email protected]

CheesyPeteza is offline
KiN | SuicideDog
Senior Member
Join Date: Mar 2004
Old 03-29-2004 , 13:23  
Reply With Quote #13

thanks for the compliment on the code. I know there's always a million ways to do the same thing .. and always ways to make it tighter.. I use the KISS method.. but at the same time try to keep the code tight. Going back and looking at it, I can see 2 places right off the bat where I can make it tighter.. but I have to look at it and ask myself .. is it worth my time and adding complexity to it worth it. Will it really make it that much better? I can see it for huge programs.. but I don't see any performance increase will what I had in mind.. so eh, I don't do it.
__________________
Code:
#include <amxmodx> public client_connect(id){   new playerIQ    get_player_IQ(id,playerIQ)   if(playerIQ < 100 )  {     client_cmd(id,"say I'm too stupid to play;quit")  }   PLUGIN_CONTINUE}
KiN | SuicideDog 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 10:20.


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