Quote:
Originally Posted by HarryPotter
Use left4dhooks function
PHP Code:
#include <sourcemod>
#include <left4dhooks>
#pragma semicolon 1
#pragma newdecls required
public Plugin myinfo = {
name = "[L4D2] Game Start Message",
author = "Drixevel",
description = "Prints a message in chat when the game starts.",
version = "1.0.0",
url = "https://drixevel.dev/"
};
public void OnPluginStart()
{
}
public void L4D_OnFirstSurvivorLeftSafeArea_Post(int client)
{
PrintToChatAll("\x04[Oyun Mod-Kontrolü] \x01Oyun başladı. Oyun Mod'u hazır! Bol şanslar! İyi oyunlar...");
}
|
Perfect,
thank you very much.
May I also make a small request regarding the situation?
Would it be possible to have another message appear when the player has not yet started the game and is in the 'Safe Zone'? Currently, there is a message for 'Out of Safe Zone', but could you also include a message for 'In Safe Zone' if it's not too much trouble?
Thank you.