#endif
}
+float notif_checkstring(string input)
+{
+ if not(input == "") { return TRUE; }
+ else { return FALSE; }
+}
+
float notif_stringcount(string s1, string s2)
{
float stringcount;
#define MSG_INFO_NOTIF(name,strnum,flnum,args,hudargs,icon,normal,gentle) \
{ NOTIF_MATCH(name, net_name) CHECK_AUTOCVAR(name) \
{ \
- print(sprintf(CCR(normal_or_gentle(normal, gentle)), args)); \
+ if(notif_checkstring(normal)) { print(sprintf(CCR(normal_or_gentle(normal, gentle)), args)); } \
if(strtolower(icon) != "") { HUD_Notify_Push(icon, hudargs); } \
} }
MSG_INFO_NOTIFICATIONS