Yikes, fixed PrintToChatAll() and PrintCenterTextAll()
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40904
This commit is contained in:
parent
f6a1db7633
commit
95dee16788
@ -229,7 +229,7 @@ native PrintToChat(client, const String:format[], any:...);
|
||||
stock PrintToChatAll(const String:format[], any:...)
|
||||
{
|
||||
new num = GetMaxClients();
|
||||
decl buffer[256];
|
||||
decl String:buffer[192];
|
||||
|
||||
VFormat(buffer, sizeof(buffer), format, 2);
|
||||
|
||||
@ -263,7 +263,7 @@ native PrintCenterText(client, const String:format[], any:...);
|
||||
stock PrintCenterTextAll(const String:format[], any:...)
|
||||
{
|
||||
new num = GetMaxClients();
|
||||
decl buffer[256];
|
||||
decl String:buffer[192];
|
||||
|
||||
VFormat(buffer, sizeof(buffer), format, 2);
|
||||
|
||||
|
@ -40,13 +40,15 @@ struct Plugin
|
||||
#include <admin>
|
||||
#include <dbi>
|
||||
#include <sorting>
|
||||
#include <halflife>
|
||||
#include <clients>
|
||||
#include <console>
|
||||
#include <events>
|
||||
#include <bitbuffer>
|
||||
#include <usermessages>
|
||||
#include <menus>
|
||||
#include <halflife>
|
||||
|
||||
#define MAXPLAYERS 64 /**< Maximum number of players that can be in server */
|
||||
|
||||
/**
|
||||
* Declare this as a struct in your plugin to expose its information.
|
||||
|
Loading…
Reference in New Issue
Block a user