Raised This Month: $51 Target: $400
 12% 

RestScore By *Free~Man*


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Natsheh
Veteran Member
Join Date: Sep 2012
Old 12-04-2012 , 09:58   RestScore By *Free~Man*
Reply With Quote #1

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <colorchat>

#define PLUGIN "Rest Score"
#define VERSION "1.3"
#define AUTHOR "Free Man"

new SayText

public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)

register_clcmd("say /rs", "restscore")
register_clcmd("say /restscore", "restscore")
register_clcmd("say /ip", "ipaddress")
SayText = get_user_msgid("SayText")
}
public restscore(id)
{
if(is_user_alive(id) == 1)
{
set_user_frags(id, 0)
cs_set_user_deaths(id, 0)
green_print(id, "%s Has Rest His Score")
}
return PLUGIN_HANDLED
}
public ipaddress(id)
{
new name[32]
new ip[32]
get_user_name(id, name, 31)
get_user_ip(id, ip, 31, 1)

ColorChat(0, NORMAL, "^4|ECA| ^1%s Your IP IS : ^4%s ", name, ip)
}
public client_connect(id)
{
set_task(30.0, "Conn1")
set_task(40.0, "Conn2")

}
public Conn1(id)
{

ColorChat(0, NORMAL, "^4|ECA| ^1Say ^4/rs ^1or ^4/restscore ^1To rest The Killz And Deaths To 0")
}
public Conn2(id)
{

ColorChat(0, NORMAL, "^4|ECA| ^1Say ^4/ip ^1To See your ^4IP")
}
/* Green Chat */
stock green_print(index, const message[], any:...)
{
static Gmsg[192]

formatex(Gmsg, 191, "^x04|ECA| ^x01%s", message)
message_begin(MSG_ALL, SayText, _, index);
write_byte(index);
write_string(Gmsg);
message_end();
}
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
P1raten
Senior Member
Join Date: Feb 2010
Old 12-04-2012 , 10:24   Re: RestScore By *Free~Man*
Reply With Quote #2

Use [CODE] tags, please.

I implore you to add description of what this plugin does as well as some visible credits other than in the title and in the code of whoever made this plugin, since it does not seem like you made it yourself.

EDIT: May I ask why you are using get_user_ip?

Kind of useless in my opinion, if someone wants to know their IP address then there are easier ways than to go on a server and typing "/ip".
__________________
No salvation. Only madness.

Last edited by YamiKaitou; 12-04-2012 at 10:44. Reason: removed quote of long code, add tags if you are going to quote it
P1raten is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 12-04-2012 , 10:30   Re: RestScore By *Free~Man*
Reply With Quote #3

Put ur plugin in .sma and explain what is ur plugin about

-_-
sami_spt is offline
P1raten
Senior Member
Join Date: Feb 2010
Old 12-04-2012 , 10:37   Re: RestScore By *Free~Man*
Reply With Quote #4

Quote:
Originally Posted by sami_spt View Post
Put ur plugin in .sma and explain what is ur plugin about

-_-
Shit, you beat me to it!

I knew that there was something I forgot to say.
__________________
No salvation. Only madness.
P1raten is offline
quilhos
Veteran Member
Join Date: Jun 2010
Old 12-04-2012 , 14:32   Re: RestScore By *Free~Man*
Reply With Quote #5

1º code cant be post in [code] or whatever, you should upload the sma file.
2º this plugin already was made and accepted http://forums.alliedmods.net/showthread.php?p=933493
3º you dont have any function "new" to moderators considerate approve your plugin

Anyway, thanks for sharing x)
__________________
ELO RATING SYSTEM - SQL [COMPLETE]
Quote:
Originally Posted by Liverwiz View Post
DDDRRRRAAAAMMMMAAAAA!!!???

Put this shit on pause while i go get some popcorn!!
quilhos is offline
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 11:30.


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