Cleaned up code (removed unnneccessary lines / words)

This commit is contained in:
hydrant
2018-09-19 20:14:49 +02:00
parent 969537c655
commit f4f4b897f0
4 changed files with 3 additions and 5 deletions

View File

@@ -11,8 +11,6 @@ namespace reallife_gamemode
{
public class Main : Script
{
[ServerEvent(Event.ResourceStart)]
public void OnResourceStart()
{

View File

@@ -17,7 +17,7 @@ namespace reallife_gamemode.Server.Events
{
class Connect : Script
{
[ServerEvent(GTANetworkAPI.Event.PlayerConnected)]
[ServerEvent(Event.PlayerConnected)]
public void OnPlayerConnected(Client player)
{

View File

@@ -15,7 +15,7 @@ namespace reallife_gamemode.Server.Events
{
public class Death : Script
{
[ServerEvent(GTANetworkAPI.Event.PlayerDeath)]
[ServerEvent(Event.PlayerDeath)]
public void OnPlayerDeath(Client player, Client killer, uint reason)
{
NAPI.Chat.SendChatMessageToPlayer(player, "Du bist durch " + killer.Name + " gestorben: " + reason.ToString());

View File

@@ -17,7 +17,7 @@ namespace reallife_gamemode.Server.Events
public class Spawn : Script
{
[ServerEvent(GTANetworkAPI.Event.PlayerSpawn)]
[ServerEvent(Event.PlayerSpawn)]
public void OnPlayerSpawn(Client player)
{