View Single Post
QuantumToast
Member
Join Date: May 2017
Location: US
Old 06-16-2017 , 15:13   Re: Infractions - The Early Stages
Reply With Quote #26

Looking at some examples of plugins that use some sort of hook to player_connect, they seem to follow this format:
PHP Code:
public Action Event_PlayerConnect(Handle event, const String name[], bool dontBroadcast
Are the second two arguments required? Additionally, should I need anything other than the networkid (player SteamID) information from the event? All the function will do is compare their SteamID to the database and check if they have infractions, and if so, print a message to admins.

Last edited by QuantumToast; 06-16-2017 at 15:29.
QuantumToast is offline