Add DbContext, Models
This commit is contained in:
20
Server/Events/Spawn.cs
Normal file
20
Server/Events/Spawn.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using GTANetworkAPI;
|
||||
using GTANetworkMethods;
|
||||
using reallife_gamemode.Model;
|
||||
|
||||
namespace reallife_gamemode.Server.Event
|
||||
{
|
||||
public class Spawn : Script
|
||||
{
|
||||
|
||||
[ServerEvent(GTANetworkAPI.Event.PlayerSpawn)]
|
||||
public void OnPlayerSpawn(Client player)
|
||||
{
|
||||
NAPI.Chat.SendChatMessageToPlayer(player, "~b~Du wurdest gespawnt.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user