Increased PrintHint and PrintCenter buffer
This commit is contained in:
parent
b70873e046
commit
6686badc93
@ -354,7 +354,7 @@ static cell_t PrintCenterText(IPluginContext *pContext, const cell_t *params)
|
|||||||
|
|
||||||
g_SourceMod.SetGlobalTarget(client);
|
g_SourceMod.SetGlobalTarget(client);
|
||||||
|
|
||||||
char buffer[192];
|
char buffer[254];
|
||||||
|
|
||||||
{
|
{
|
||||||
DetectExceptions eh(pContext);
|
DetectExceptions eh(pContext);
|
||||||
@ -388,7 +388,7 @@ static cell_t PrintHintText(IPluginContext *pContext, const cell_t *params)
|
|||||||
|
|
||||||
g_SourceMod.SetGlobalTarget(client);
|
g_SourceMod.SetGlobalTarget(client);
|
||||||
|
|
||||||
char buffer[192];
|
char buffer[254];
|
||||||
{
|
{
|
||||||
DetectExceptions eh(pContext);
|
DetectExceptions eh(pContext);
|
||||||
g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);
|
g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);
|
||||||
|
@ -356,7 +356,7 @@ native PrintCenterText(client, const String:format[], any:...);
|
|||||||
*/
|
*/
|
||||||
stock PrintCenterTextAll(const String:format[], any:...)
|
stock PrintCenterTextAll(const String:format[], any:...)
|
||||||
{
|
{
|
||||||
decl String:buffer[192];
|
decl String:buffer[254];
|
||||||
|
|
||||||
for (new i = 1; i <= MaxClients; i++)
|
for (new i = 1; i <= MaxClients; i++)
|
||||||
{
|
{
|
||||||
@ -389,7 +389,7 @@ native PrintHintText(client, const String:format[], any:...);
|
|||||||
*/
|
*/
|
||||||
stock PrintHintTextToAll(const String:format[], any:...)
|
stock PrintHintTextToAll(const String:format[], any:...)
|
||||||
{
|
{
|
||||||
decl String:buffer[192];
|
decl String:buffer[254];
|
||||||
|
|
||||||
for (new i = 1; i <= MaxClients; i++)
|
for (new i = 1; i <= MaxClients; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user