View Single Post
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 06-24-2021 , 11:56   Re: can players exploit sourcemod with their name?
Reply With Quote #5

It is safe to use SM's Print* functions. I know only two cases where you shouldn't use player name:
1) FakeClientCommand(Ex), ServerCommand() and ClientCommand() - use UserId instead (as said in #2).

2) SQL Queries - use Database.Format or Database.Escape to escape some symbols in player name.
__________________

Last edited by MAGNAT2645; 06-24-2021 at 11:57.
MAGNAT2645 is offline