Raised This Month: $ Target: $400
 0% 

Help - Add Menu To Report


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MorehiZarfati
BANNED
Join Date: Apr 2016
Old 04-28-2016 , 11:58   Help - Add Menu To Report
Reply With Quote #1

Quote:
#include <sourcemod>
#include <core>
#include <sdktools>
#include <cstrike>
#include <colors>
public Plugin:myinfo =
{
name = "FKlist Report",
description = "Report For Fk",
author = "nhnkl159",
version = "1.0",
url = "zingamer.co.il"
};
new used[66];
new String:killer[64][68];


public void OnPluginStart()
{
RegConsoleCmd("sm_fk", Command_Fk, "", 0);
HookEvent("round_start", Event_RS, EventHookMode);
HookEvent("player_death", Event_PD, EventHookMode);
}

public Action:Command_Fk(client, args)
{
if (IsPlayerAlive(client))
{
CReplyToCommand(client, "{green}[Fklist] Alive players cant use !fk.");
return Plugin_Handled;
}
if (used[client] == 1)
{
CReplyToCommand(client, "{green}[Fklist] You already used !fk this round.");
return Plugin_Handled;
}
used[client] = 1;
new i = 1;
while (i < MaxClients)
{
if (IsClientConnected(i) && IsClientInGame(i))
{
if (CheckCommandAccess(i, "sm_kick", 4, false))
{
CPrintToChat(i, "{green}[Fklist]");
CPrintToChat(i, "{green}[Fklist] %N claims he was FreeKilled by %s", client, killer[client]);
CPrintToChat(i, "{green}[Fklist]");
}
}
i++;
}
CReplyToCommand(client, "{green}[Fklist] Massage sent to all admins online !");
return Plugin_Handled;
}

public Action:Event_RS(Handle:event, String:name[], bool:dontBroadcast)
{
new i;
while (MaxClients + 1 > i)
{
used[i] = 0;
i++;
}
return Plugin_Handled;
}

public Action:Event_PD(Handle:event, String:name[], bool:dontBroadcast)
{
new attackerId = GetEventInt(event, "attacker", 0);
new attacker = GetClientOfUserId(attackerId);
decl String:name1[64];
GetClientName(attacker, name1, 64);
return Plugin_Handled;
}
How I can Add All FreeKill Report To Menu.

Last edited by MorehiZarfati; 04-28-2016 at 12:41.
MorehiZarfati is offline
Send a message via Skype™ to MorehiZarfati
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 04-28-2016 , 12:27   Re: Help - Add Menu To Report
Reply With Quote #2

Why on earth, are you removing the original author of the plugin: nhnkl159?
__________________
xines is offline
MorehiZarfati
BANNED
Join Date: Apr 2016
Old 04-28-2016 , 12:41   Re: Help - Add Menu To Report
Reply With Quote #3

Quote:
Originally Posted by xines View Post
Why on earth, are you removing the original author of the plugin: nhnkl159?
nhnkl159 = Mordechi
Mordechi its them name if you really want i change this.
and my name is Mordechi i change this beacus its not changed sorry,
i change now.

Last edited by MorehiZarfati; 04-28-2016 at 12:42.
MorehiZarfati is offline
Send a message via Skype™ to MorehiZarfati
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 04-28-2016 , 13:27   Re: Help - Add Menu To Report
Reply With Quote #4

Quote:
Originally Posted by MorehiZarfati View Post
nhnkl159 = Mordechi
Mordechi its them name if you really want i change this.
and my name is Mordechi i change this beacus its not changed sorry,
i change now.
Mordechi
Morehi

I though u just misspelled your username incorrectly since they're very similar, my bad sorry.
But i guess still leaving his author name as it orignally was is the best option.
__________________
xines is offline
MorehiZarfati
BANNED
Join Date: Apr 2016
Old 04-28-2016 , 14:10   Re: Help - Add Menu To Report
Reply With Quote #5

Quote:
Originally Posted by xines View Post
Mordechi
Morehi

I though u just misspelled your username incorrectly since they're very similar, my bad sorry.
But i guess still leaving his author name as it orignally was is the best option.
Ohh Becuase-
I opened the user did not notice a missing lette.
And I change The Author Name For nhnkl159 you can help me?

Last edited by MorehiZarfati; 04-28-2016 at 14:11.
MorehiZarfati is offline
Send a message via Skype™ to MorehiZarfati
nhnkl159
Senior Member
Join Date: Jul 2012
Location: Israel 3>
Old 04-29-2016 , 06:30   Re: Help - Add Menu To Report
Reply With Quote #6

Quote:
Originally Posted by xines View Post
Why on earth, are you removing the original author of the plugin: nhnkl159?
im the original author , i dont know who is he.

im gonna report it to a mod and try to get he's ip to check who is him.

and my real name is Mordehi Zarfati.

he's a faker with my own name.
__________________

Last edited by nhnkl159; 04-29-2016 at 06:42.
nhnkl159 is offline
Send a message via Skype™ to nhnkl159
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode