RAGE Multiplayer 1.1.0-DP Update
/freeze was obselete and removed /unfreeze was obselete and removed /spectate was obselete and removed
This commit is contained in:
@@ -18,11 +18,10 @@ namespace ReallifeGamemode.Server.Events
|
||||
class Connect : Script
|
||||
{
|
||||
[ServerEvent(Event.PlayerConnected)]
|
||||
public void OnPlayerConnected(Client player)
|
||||
public void OnPlayerConnected(Player player)
|
||||
{
|
||||
player.SetData("isLoggedIn", false);
|
||||
player.Position = new Vector3(-1883.736, -781.4911, -10);
|
||||
player.FreezePosition = true;
|
||||
|
||||
|
||||
using (var dbContext = new DatabaseContext())
|
||||
@@ -49,7 +48,7 @@ namespace ReallifeGamemode.Server.Events
|
||||
|
||||
}
|
||||
|
||||
private bool IsPlayerBanned(Client player)
|
||||
private bool IsPlayerBanned(Player player)
|
||||
{
|
||||
using (var dbContext = new DatabaseContext())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user