Raised This Month: $ Target: $400
 0% 

Kann mir das jemand erweitern???


  
 
 
Thread Tools Display Modes
Author Message
Dr.Noob
Member
Join Date: Jan 2005
Location: NRW
Old 05-27-2006 , 23:13   Kann mir das jemand erweitern???
#1

Hallo zusammen ,
Ich hoffe jemand kann mir das Plugin erweitern und reparieren kann bin nähmlich kein scripter und würde aber gern zusätzliche funktionen haben!

Dieses Plugin: wenn man zb. /teamspeak eingibt kommt ein modt Fenster und man kann dann darüber auf Teamspeak connecten.
Ich hätte gern zusätzliche say comands wie /hlstats /rules /teamspeak und /website ,natürlich mit einem jeweiligen modfenster.
Desweiteren seht ihr in der sma das wenn man zb /teamspeak eingegeben hat das zu den anderen Playern über Chat eine Message gesendet werden sollte:client_cmd(player,"say Don't shoot! I'm connecting to Teamspeak") das funzt auch net so wirklich sonst läufts Prima.
Das ist doch bestimmt möglich wäre nett wenn sich da einer ransetzt vielen Dank schon mal
Code:
/*AMXMOD script.
*Soundlistplugin (c) by |T0.VeNoM|
*visit my Clansite @http://www.team-zero.de
*/  

#include <amxmod> 

public informclient(strindex[]) 
{ 
  new myindex 
  myindex=str_to_num(strindex) 
  if(myindex>0) 
    client_print(myindex,print_chat,"Gib ^"/Teamspeak ^" ein um auf unseren TS Channel zu Connecten") 

} 

#include <amxmisc>

public mandatoryinform(strindex[]) 
{ 
  new myindex 
  myindex=str_to_num(strindex) 
  if(myindex>0) 
    show_motd(myindex,"/addons/amxmodx/configs/modt2.txt","Teamspeak") 

} 

public client_putinserver(id){ 
  new str[4] 
  num_to_str(id,str,2) 
  set_task(10.0,"informclient",432211+id,str,2) 
  if(get_cvar_num("forcerules")) 
  set_task(11.0,"mandatoryinform",432611+id,str,2) 

} 

public client_disconnect(id){ 
  remove_task(432211+id) 
  remove_task(432611+id) 

} 

public server_rules(id){ 
   show_motd(id,"/addons/amxmodx/configs/modt2.txt","Teamspeak") 
   return PLUGIN_HANDLED 

} 

public admin_showthem(id,level,cid){ 
if (!cmd_access(id,level,cid,2)) 
  return PLUGIN_HANDLED 
new arg[32] 
read_argv(1,arg,31) 
new player = cmd_target(id,arg,5) 
if (!player) return PLUGIN_HANDLED 

//new name[32] 
//get_user_name(player,name,31) 
client_cmd(player,"say Don't shoot! I'm connecting to Teamspeak") 
show_motd(player,"/addons/amxmodx/configs/modt2.txt","Go Teamspeak") 
  return PLUGIN_HANDLED 
} 

public plugin_init()  

{  
   register_plugin("Soundlist","1.0","www.team-zero.de")  
   register_clcmd("say /Teamspeak", "server_rules")  
   register_cvar("forcerules","0") 
   register_concmd("amx_showrules","admin_showthem",ADMIN_SLAY,"<authid, nick or #userid>") 
   return PLUGIN_CONTINUE  
      
}
Dr.Noob 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 20:08.


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