forked from UNLOZE/sm-plugins
mapchooser_extended: Refactored to new syntax
Added better cooldown system Added MinPlayers/MaxPlayers system
This commit is contained in:
@@ -351,7 +351,7 @@ stock CReplyToCommand(client, const String:message[], any:...) {
|
||||
decl String:buffer[MAX_BUFFER_LENGTH];
|
||||
SetGlobalTransTarget(client);
|
||||
VFormat(buffer, sizeof(buffer), message, 3);
|
||||
if(GetCmdReplySource() == SM_REPLY_TO_CONSOLE) {
|
||||
if(!client || GetCmdReplySource() == SM_REPLY_TO_CONSOLE) {
|
||||
CRemoveTags(buffer, sizeof(buffer));
|
||||
PrintToConsole(client, "%s", buffer);
|
||||
} else {
|
||||
|
||||
@@ -457,8 +457,8 @@ stock NativeVotes_FixResults(num_clients,
|
||||
num_items,
|
||||
const item_indexes[],
|
||||
const item_votes[],
|
||||
client_info[][2],
|
||||
item_info[][2])
|
||||
client_info[][],
|
||||
item_info[][])
|
||||
{
|
||||
for (new i = 0; i < num_clients; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user