RaydiumWikiNi

ApiLoggingDetails

PagePrincipale :: DerniersChangements :: ParametresUtilisateur :: Vous êtes ec2-3-94-21-209.compute-1.amazonaws.com

3.2 Details


3.2.1 void raydium_log(unsigned char *format, ...)


This function must be used like "printf", using a format ("%s, %i, %x, ...") and then, suitable variables, but without the end-line char ('\n')

raydium_log("You are player %i, %s",player_number,player_name);


For now, this function writes to the parent terminal and the in-game console, with "Raydium: " string prefix.


Missing:
void raydium_console_line_add (char *format, ...);

Return to RaydiumApiReference index.