Hey all, having a frustrating time with something extremely stupid. My console messages "server_print()" are not coming out right. They are not making a new line so the next command is on the same line as the last output. Easier to see that to type about
:
Code:
] amx_whowas tom
[WHOIS] No Results for: 'tom'] amx_whowas mu
[WHOIS] No Results for: 'mu'] amx_whowas amd
[WHOIS] No Results for: 'amd'] amx_whowas tim
[WHOIS] No Results for: 'tim'] amx_whowa
What am I doing wrong or what needs to be changed?
Code:
new iNumrows = dbi_num_rows(retval)
if (retval == RESULT_FAILED) {
dbi_error(mySql, error, 127)
log_amx("SQL Error: %L", error)
closeDatabase()
return PLUGIN_HANDLED
} else if (retval == RESULT_NONE) {
client_print(id, print_console, "[WHOIS] No Results for: '%s'", search)
closeDatabase()
return PLUGIN_HANDLED
}
I even tried:
Code:
client_print(id, print_console, "[WHOIS] No Results for: '%s'^n", search)
__________________