hack fix for at28078
This commit is contained in:
parent
363d95f68c
commit
b8ddd281aa
|
@ -11,9 +11,9 @@
|
||||||
#endif
|
#endif
|
||||||
#define _amxconst_included
|
#define _amxconst_included
|
||||||
|
|
||||||
#define AMXX_VERSION 1.71
|
#define AMXX_VERSION 1.72
|
||||||
#define AMXX_VERSION_NUM 171
|
#define AMXX_VERSION_NUM 172
|
||||||
stock const AMXX_VERSION_STR[]="1.71"
|
stock const AMXX_VERSION_STR[]="1.72"
|
||||||
|
|
||||||
#define ADMIN_ALL 0 /* everyone */
|
#define ADMIN_ALL 0 /* everyone */
|
||||||
#define ADMIN_IMMUNITY (1<<0) /* flag "a" */
|
#define ADMIN_IMMUNITY (1<<0) /* flag "a" */
|
||||||
|
|
|
@ -36,11 +36,12 @@
|
||||||
#include <amxmisc>
|
#include <amxmisc>
|
||||||
|
|
||||||
#define SPEED 0.3
|
#define SPEED 0.3
|
||||||
|
#define SCROLLMSG_SIZE 512
|
||||||
|
|
||||||
new g_startPos
|
new g_startPos
|
||||||
new g_endPos
|
new g_endPos
|
||||||
new g_scrollMsg[384]
|
new g_scrollMsg[SCROLLMSG_SIZE]
|
||||||
new g_displayMsg[384]
|
new g_displayMsg[SCROLLMSG_SIZE]
|
||||||
new Float:g_xPos
|
new Float:g_xPos
|
||||||
new g_Length
|
new g_Length
|
||||||
new g_Frequency
|
new g_Frequency
|
||||||
|
@ -90,12 +91,12 @@ public msgInit()
|
||||||
public setMessage()
|
public setMessage()
|
||||||
{
|
{
|
||||||
remove_task(123) /* remove current messaging */
|
remove_task(123) /* remove current messaging */
|
||||||
read_argv(1, g_scrollMsg, 380)
|
read_argv(1, g_scrollMsg, SCROLLMSG_SIZE-1)
|
||||||
|
|
||||||
new hostname[64]
|
new hostname[64]
|
||||||
|
|
||||||
get_cvar_string("hostname", hostname, 63)
|
get_cvar_string("hostname", hostname, 63)
|
||||||
replace(g_scrollMsg, 380, "%hostname%", hostname)
|
replace(g_scrollMsg, SCROLLMSG_SIZE-1, "%hostname%", hostname)
|
||||||
g_Length = strlen(g_scrollMsg)
|
g_Length = strlen(g_scrollMsg)
|
||||||
|
|
||||||
new mytime[32]
|
new mytime[32]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user