Raised This Month: $ Target: $400
 0% 

Pointslay


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
snowyledge
BANNED
Join Date: Dec 2009
Old 07-25-2010 , 12:00   Re: Pointslay
Reply With Quote #1

Could you just give me the sma with it, I only get the public part
snowyledge is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 07-25-2010 , 12:25   Re: Pointslay
Reply With Quote #2

Code:
#include*<amxmodx>
#include*<amxmisc>
#define*PLUGIN*"Pointslay"
#define*VERSION*"1.0"
#define*AUTHOR*"jeff"
#define*ADMIN_LEVEL*ADMIN_BAN
public*plugin_init()*{
*register_plugin(PLUGIN,*VERSION,*AUTHOR)
*
*register_clcmd("+adminslay",*"Slayaim",*ADMIN_LEVEL)
}
public Slayaim(id)
{
*new*player,*body;
*new*szPlayerName[32];
*get_user_aiming(id,*player,*body);
*get_user_name(player,*szPlayerName,*32);
*if*(get_user_flags(id)*&*ADMIN_BAN)
*{
**if*(is_user_alive(player)*&&*get_user_flags(player)*&*ADMIN_IMMUNITY)
**{
***client_print(id,*print_chat, "You*cant*slay*some*one*with*Immunity!");
**}
**else
**if*(is_user_alive(player))
**{
***user_kill(player);
***client_print(player,*print_chat, "You*have*been*Slayed!");
***client_print(id,*print_chat, "You*just*Slayed*%s!",*szPlayerName);
**}
*}
}*
Well idk why there's a bunch of asterisks but just delete them.

Last edited by nikhilgupta345; 07-25-2010 at 12:47.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
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 00:10.


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