Add DbContext, Models
This commit is contained in:
16
Server/Commands/Admin.cs
Normal file
16
Server/Commands/Admin.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using GTANetworkAPI;
|
||||
|
||||
namespace reallife_gamemode.Server.Command
|
||||
{
|
||||
public class Admin : Script
|
||||
{
|
||||
[Command("o")]
|
||||
public void sendOChat(Client player, string message)
|
||||
{
|
||||
NAPI.Chat.SendChatMessageToAll("~r~" + player.Name + " sagt:~w~ " + message);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user