Raised This Month: $ Target: $400
 0% 

mho_mod [status: beta testing]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
mateo10
Veteran Member
Join Date: Jan 2006
Old 02-21-2007 , 12:31   Re: mho_mod needs help
Reply With Quote #5

A tip is to use switch statements.
ex:
Code:
switch(key) {     case 0:     {         client_print(id, print_chat, "You have pressed key number 1");         dosomething(id);     }     case 1:     {         client_print(id, print_chat, "You have pressed key number 2");         dosomething(id);     }     case 2:     {         //etc..     } }
mateo10 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 00:45.


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