int customformat(const char * format, ...) //Ignore int and const char * (they are from C++)
{
char buffer[256]; //Here I declare a string (is like those we have in SA-MP made with new)
va_list arg;
va_start (arg,format);
vsprintf(buffer,format,arg); //This function is like format
va_end(arg);
cout << buffer << endl; //This is something like: print(buffer) in SA-MP
return 1;
}
SendFormated(playerid,format,args) // where format have the specifiers and args is the arguments like a string or integer.