Port events to transitional syntax.
This commit is contained in:
+4
-4
@@ -190,9 +190,9 @@ public void ConVarChange_Alltalk(ConVar convar, const char[] oldValue, const cha
|
||||
}
|
||||
}
|
||||
|
||||
public Event_PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast)
|
||||
public Event_PlayerSpawn(Event event, const String:name[], bool:dontBroadcast)
|
||||
{
|
||||
new client = GetClientOfUserId(GetEventInt(event, "userid"));
|
||||
new client = GetClientOfUserId(event.GetInt("userid"));
|
||||
|
||||
if (!client)
|
||||
{
|
||||
@@ -209,9 +209,9 @@ public Event_PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast)
|
||||
}
|
||||
}
|
||||
|
||||
public Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
|
||||
public Event_PlayerDeath(Event event, const String:name[], bool:dontBroadcast)
|
||||
{
|
||||
int client = GetClientOfUserId(GetEventInt(event, "userid"));
|
||||
int client = GetClientOfUserId(event.GetInt("userid"));
|
||||
|
||||
if (!client)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user