1. sayfa (Toplam 1 sayfa)

/me Komutunu Sadece Ölülerin Kullanması

Gönderilme zamanı: Çrş Mar 10, 2021 12:27 pm
gönderen FearLess
Başlıkta belirttiğim gibi sadece /me komutunu ölülerin görmesini sağlayan plugin varmı acaba?

Only the Dead Use the /me Command

Gönderilme zamanı: Çrş Mar 10, 2021 3:29 pm
gönderen Midnight1338
find public cmdMe(id) in statsx.sma and replace with this one.

Kod: Tümünü seç

public cmdMe(id)
{
	if(is_user_alive(id))
    {
        client_print_color(id, 0, "^4[Server] ^1This feature is only available to dead players!"); 
        return PLUGIN_HANDLED;                 
    }
    
	if (!SayMe)
	{
		client_print(id, print_chat, "%L", id, "DISABLED_MSG")
		return PLUGIN_HANDLED
	}

	format_kill_vinfo(id, 0, g_sBuffer)
	client_print(id, print_chat, "* %s", g_sBuffer)

	return PLUGIN_CONTINUE
}

Only the Dead Use the /me Command

Gönderilme zamanı: Çrş Mar 10, 2021 6:39 pm
gönderen FearLess
Midnight1338 yazdı: Çrş Mar 10, 2021 3:29 pm find public cmdMe(id) in statsx.sma and replace with this one.

Kod: Tümünü seç

public cmdMe(id)
{
	if(is_user_alive(id))
    {
        client_print_color(id, 0, "^4[Server] ^1This feature is only available to dead players!"); 
        return PLUGIN_HANDLED;                 
    }
    
	if (!SayMe)
	{
		client_print(id, print_chat, "%L", id, "DISABLED_MSG")
		return PLUGIN_HANDLED
	}

	format_kill_vinfo(id, 0, g_sBuffer)
	client_print(id, print_chat, "* %s", g_sBuffer)

	return PLUGIN_CONTINUE
}
Teşekkürler.