AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how can i create a help window(like top15) (https://forums.alliedmods.net/showthread.php?t=117732)

byetovice 02-04-2010 05:10

how can i create a help window(like top15)
 
i want to show a help window when i say /xhelp
help window like top15..

how can i do it? pls help me

shuttle_wave 02-04-2010 05:22

Re: how can i create a help window(like top15)
 
PHP Code:

// Make a help.txt and put wat ever into it and place it in ur cstrike folder
#include <amxmodx>
#include <amxmisc>
new const VERSION[] = "1.0";
public 
plugin_init()
{
 
register_plugin("Help Motd"VERSION"Shuttle_Wave")
 
 
 
register_clcmd("say /xhelp""XHelp")
 
register_clcmd("say_team /xhelp""XHelp")
}
public 
XHelp (id)
{
 
show_motd(id,"help.txt")




All times are GMT -4. The time now is 07:20.

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