NoobSpawn, NoobSpawnRollerSystem
This commit is contained in:
20
ReallifeGamemode.Server/Events/PlayerSpawn.cs
Normal file
20
ReallifeGamemode.Server/Events/PlayerSpawn.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using GTANetworkAPI;
|
||||
using ReallifeGamemode.Database.Entities;
|
||||
using ReallifeGamemode.Server.Extensions;
|
||||
using ReallifeGamemode.Server.Util;
|
||||
using ReallifeGamemode.Server.WeaponDeal;
|
||||
|
||||
namespace ReallifeGamemode.Server.Events
|
||||
{
|
||||
public class PlayerSpawn : Script
|
||||
{
|
||||
[ServerEvent(Event.PlayerSpawn)]
|
||||
public void OnPlayerSpawn(Player player)
|
||||
{
|
||||
NAPI.ClientEvent.TriggerClientEvent(player, "SERVER:WeaponModifier", player);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user