mirror of
https://github.com/rumblefrog/setup-sp.git
synced 2026-10-09 23:19:46 +02:00
20 lines
441 B
SourcePawn
Vendored
20 lines
441 B
SourcePawn
Vendored
#include <sourcemod>
|
|
|
|
#pragma semicolon 1
|
|
#pragma newdecls required
|
|
|
|
#if defined __sourcepawn2
|
|
#error Expected the SourcePawn 1 compatibility compiler
|
|
#endif
|
|
|
|
void FormatMessage(char[] buffer, int maxLength, const char[] format, any ...)
|
|
{
|
|
VFormat(buffer, maxLength, format, 4);
|
|
}
|
|
|
|
public void OnPluginStart()
|
|
{
|
|
char buffer[64];
|
|
FormatMessage(buffer, sizeof(buffer), "%s", "SourcePawn 1");
|
|
PrintToServer("%s", buffer);
|
|
}
|