I noticed with methods such as server_print that there is this parameter at the end described as "any:...". I was wondering if I could put this into any methods I make. I tried just passing a string in and I was met with an error saying the string is incorrectly formatted. This error occurred on the line with server_print. Code:
Code:
public printMsg(const message[],any:...) {
server_print(message);
return PLUGIN_CONTINUE;
}
Code:
new name[32] = "SchmoSalt";
printMsg("Your name is %s.",name);