Raised This Month: $ Target: $400
 0% 

Is it possible to optimize this code?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Lukass
Junior Member
Join Date: Dec 2008
Old 01-04-2009 , 12:32   Is it possible to optimize this code?
Reply With Quote #1

Code:
    register_clcmd("say /noriuvip","noriu_vip",0,"- Jeigu nori VIP")
    register_clcmd("say /viprules","vip_rules",0,"- VIP taisykles")
    register_clcmd("say /rules","rules",0,"- Taisykles")


public noriu_vip(id) {

    
    show_motd(id,"noriuvip.txt","Nori VIP?")
  
}

public vip_rules(id) {

    
    show_motd(id,"viprules.txt","VIP taisykles")
  
}



public rules(id) {

    
    show_motd(id,"rules.txt","Taisykles")
  
}
It`s possible to use one function instead these three?
Lukass 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 23:11.


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