mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-05 19:53:20 +00:00
13 lines
No EOL
562 B
SourcePawn
13 lines
No EOL
562 B
SourcePawn
#if defined _player_notes_included_
|
|
#endinput
|
|
#endif
|
|
#define _player_notes_included_
|
|
|
|
void AddNote(int noteCreator, int noteTarget, const char[] message) {
|
|
char steamidCreator[32], steamidTarget[32];
|
|
GetClientAuthId(noteCreator, AuthId_Steam2, steamidCreator, sizeof(steamidCreator));
|
|
GetClientAuthId(noteTarget, AuthId_Steam2, steamidTarget, sizeof(steamidTarget));
|
|
AddPlayerNoteIdentity(steamidCreator, steamidTarget, message);
|
|
}
|
|
|
|
native void AddPlayerNoteIdentity(const char noteCreator[32], const char noteTarget[32], const char[] message); |