sourcemod-plugins/scripting/include/player_notes.inc
2023-07-20 20:15:44 -05:00

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);