Raised This Month: $ Target: $400
 0% 

Ingame Motd Edit


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
tepegoz
Senior Member
Join Date: Apr 2019
Old 07-24-2019 , 11:30   Ingame Motd Edit
Reply With Quote #1

I want this
to say "/add text" - add text(line) to motd.txt
to say "/remove text - remove text(line) from motd.txt

HTML Code:
#include <amxmodx>
#include <cstrike>

public plugin_init()
{
	register_plugin("Rules", "1.0", "NewNamePT")
        register_clcmd("say /kurallar","ShowMotd")
}

public ShowMotd(id)
{
 show_motd(id, "motd.txt")
}
 public client_authorized(id)
{
 //set_task(30.0, "PrintText" ,id)
}
public PrintText(id)
{
 client_print(id, print_chat, "[Rules] Write /rules to view the server rules.")
}
tepegoz is offline
 


Thread Tools
Display Modes

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 17:22.


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