Print

From SA-MP Wiki

Jump to: navigation, search


Prints a string to the server console (the server window, not the in-game chat).


Parameters:
(const string[])
string[]The string to print.


ReturnsThis function doesn't return a specific value


Image:32px-Ambox_warning_orange.png Note: It will also be printed to server_log.txt.


public OnGameModeInit( )
{
    print("Gamemode started.");
    return 1;
}

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

  • Printf: Print a formatted message into the logs and console.
Personal tools