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

[Es] Ayuda !


  
 
 
Thread Tools Display Modes
Author Message
Sevendeath
Member
Join Date: May 2008
Old 10-15-2008 , 15:36   [Es] Ayuda !
#1

Hola, me gustaria saver caul es el code para q cuando un player ponga
por ejemplo " say /rush " les responda con un mensaje motd

gracias !
__________________
[IMG]http://img47.**************/img47/8725/dk8udeh1.jpg[/IMG]
Sevendeath is offline
*Link*
BANNED
Join Date: Feb 2008
Old 10-17-2008 , 00:29   Re: [Es] Ayuda !
#2

Creo que con esto funcionarķa,
Code:
#include <amxmodx>

#define PLUGIN "Rush MOTD"
#define VERSION "1.0"
#define AUTHOR "*Link*"

public plugin_init() {
    register_plugin("PLUGIN", "VERSION", "AUTHOR")
    register_clcmd("say /rush","rushmotd")

    return PLUGIN_CONTINUE
}

public rushmotd(id)
{
    show_motd(id,"rushmotd.txt")
}
Acordate de crear un txt en cstrike/rushmotd.txt y ahi escribis lo que queres que salga al decir /rush.
Attached Files
File Type: sma Get Plugin or Get Source (rush_motd.sma - 796 views - 302 Bytes)

Last edited by *Link*; 10-17-2008 at 00:39.
*Link* is offline
Send a message via MSN to *Link* Send a message via Skype™ to *Link*
 



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 01:32.


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