aufzug XD
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using GTANetworkAPI;
|
||||
using ReallifeGamemode.Server.Shop.Clothing;
|
||||
using ReallifeGamemode.Server.Shop.SevenEleven;
|
||||
@@ -189,7 +190,11 @@ namespace ReallifeGamemode.Server.Managers
|
||||
#endregion Shops
|
||||
}
|
||||
|
||||
|
||||
[RemoteEvent("sendClientToStage")]
|
||||
public void ElevatorSendToStage(Player player, string level)
|
||||
{
|
||||
player.Position = ElevatorPoints.Where(e => e.Stage == level).First().Position;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user