#include "../dpdefs/dpextensions.qh"
#include "constants.qh"
#include "teams.qh"
- #include "counting.qh"
#include "../server/autocvars.qh"
#include "../server/constants.qh"
#include "../server/defs.qh"
if((notif.nent_stringcount + notif.nent_floatcount) > count)
{
+ string s =
+ #ifdef NOTIFICATIONS_DEBUG
+ Get_Notif_BroadcastName(broadcast);
+ #else
+ ftos(broadcast);
+ #endif
backtrace(sprintf(
strcat(
"Not enough arguments for Send_Notification(%s, ...)! ",
"Check the definition and function call for accuracy...?\n"
),
sprintf(
- #ifdef NOTIFICATIONS_DEBUG
"%s, '%s', %s, %s",
- Get_Notif_BroadcastName(broadcast),
- #else
- "%d, '%s', %s, %s",
- broadcast,
- #endif
+ s,
client.classname,
Get_Notif_TypeName(net_type),
notif.nent_name
}
else if((notif.nent_stringcount + notif.nent_floatcount) < count)
{
+ string s =
+ #ifdef NOTIFICATIONS_DEBUG
+ Get_Notif_BroadcastName(broadcast);
+ #else
+ ftos(broadcast);
+ #endif
backtrace(sprintf(
strcat(
"Too many arguments for Send_Notification(%s, ...)! ",
"Check the definition and function call for accuracy...?\n"
),
sprintf(
- #ifdef NOTIFICATIONS_DEBUG
"%s, '%s', %s, %s",
- Get_Notif_BroadcastName(broadcast),
- #else
- "%d, '%s', %s, %s",
- broadcast,
- #endif
+ s,
client.classname,
Get_Notif_TypeName(net_type),
notif.nent_name