mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-04-08 18:50:09 +03:00
Apply line breaks
This commit is contained in:
parent
8f88dc5ac8
commit
8e823bf92c
@ -38,15 +38,21 @@ public showMsg()
|
|||||||
new a = g_startPos, i = 0
|
new a = g_startPos, i = 0
|
||||||
|
|
||||||
while (a < g_endPos)
|
while (a < g_endPos)
|
||||||
|
{
|
||||||
g_displayMsg[i++] = g_scrollMsg[a++]
|
g_displayMsg[i++] = g_scrollMsg[a++]
|
||||||
|
}
|
||||||
|
|
||||||
g_displayMsg[i] = 0
|
g_displayMsg[i] = 0
|
||||||
|
|
||||||
if (g_endPos < g_Length)
|
if (g_endPos < g_Length)
|
||||||
|
{
|
||||||
g_endPos++
|
g_endPos++
|
||||||
|
}
|
||||||
|
|
||||||
if (g_xPos > 0.35)
|
if (g_xPos > 0.35)
|
||||||
|
{
|
||||||
g_xPos -= 0.0063
|
g_xPos -= 0.0063
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_startPos++
|
g_startPos++
|
||||||
@ -101,7 +107,9 @@ public setMessage()
|
|||||||
set_task(float(g_Frequency), "msgInit", 123, "", 0, "b")
|
set_task(float(g_Frequency), "msgInit", 123, "", 0, "b")
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
server_print("%L", LANG_SERVER, "MSG_DISABLED")
|
server_print("%L", LANG_SERVER, "MSG_DISABLED")
|
||||||
|
}
|
||||||
|
|
||||||
return PLUGIN_HANDLED
|
return PLUGIN_HANDLED
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user