Print

From SA-MP Wiki

(Redirected from Function:print)
Jump to: navigation, search

print

Image:Farm-Fresh text lowercase.png Note: This function name starts with a lowercase letter.


Description:

Prints a string to the server console (not in-game chat) and logs (server_log.txt).


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


Return Values:

This function does not return any specific values.


Example Usage:

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 server logs and console.
Personal tools
Navigation
Toolbox
In other languages