private void PlayerSpawned(Fougerite.Player player, SpawnEvent se) { DS.Add("lastCoords", player.SteamID.ToString(), player.Location); DS.Add("AntiSpeedHack", player.SteamID.ToString(), 0); }
public void OnPlayerSpawned(Player player, SpawnEvent evt) { Invoke("On_PlayerSpawned", player, evt); }
public static void PlayerSpawned(PlayerClient pc, Vector3 pos, bool camp) { try { Fougerite.Player player = Fougerite.Player.FindByPlayerClient(pc); SpawnEvent se = new SpawnEvent(pos, camp); if ((OnPlayerSpawned != null) && (player != null)) { OnPlayerSpawned(player, se); } } catch (Exception ex) { Logger.LogException(ex); } }
public static Vector3 PlayerSpawning(PlayerClient pc, Vector3 pos, bool camp) { try { Fougerite.Player player = Fougerite.Player.FindByPlayerClient(pc); SpawnEvent se = new SpawnEvent(pos, camp); if ((OnPlayerSpawning != null) && (player != null)) { OnPlayerSpawning(player, se); } return new Vector3(se.X, se.Y, se.Z); } catch (Exception ex) { Logger.LogException(ex); } return Vector3.zero; }
void OnPlayerSpawning(Fougerite.Player param0, SpawnEvent param1) { foreach (KeyValuePair<string, V8Plugin> plugin in plugins) { plugin.Value.Invoke("On_PlayerSpawned", param0, param1); // Deprecated plugin.Value.Invoke("OnPlayerSpawned", param0, param1); } }