Raised This Month: $ Target: $400
 0% 

Checking Syntax


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 09-03-2005 , 23:18  
Reply With Quote #4

well you could do something like:
Code:
new const g_szCommands[4][] = {     "Command1",     "Command2",     "Command3",     "Command4" }; for(new iCmd = 0; iCmd < 4; iCmd++)     if(equali(check, g_szCommands[iCmd]))         return PLUGIN_HANDLED;
Or something like that to make the code look cleaner/nicer.
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
 



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 14:27.


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