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

Just Another Cd Meditator


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   SniperBeamer (61)
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-03-2004 , 14:52   Just Another Cd Meditator
Reply With Quote #1

a CD Enforcer made by me and BMJ.. (well.. Made by BMJ.. bugfixed by me)

If a person don't have CD or has old CD his frags are resteted to 0, but he keeps his deaths...

Tested for AMXx by DoubleTap
Attached Files
File Type: sma Get Plugin or Get Source (nocdequalnokills.sma - 1019 views - 1.1 KB)
__________________
My Plugins

Got ??
AssKicR is offline
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 05-29-2004 , 04:43   French Add
Reply With Quote #2

update french add
-> MeOw
Code:
#include <amxmodx> #include <amxmisc> public plugin_init() {    register_plugin("No/Old C-D = No kills.", "0.9.4", "BMJ/AssKicR")    register_event("DeathMsg", "cd_check", "a")     return PLUGIN_CONTINUE } public cd_check() {    new id = read_data(1) // Attacker    new team = get_user_team(id)    new deaths = get_user_deaths(id)    if (!passCheatDeathCheck(id)) {       set_user_frags(id,0)       message_begin(MSG_ALL, get_user_msgid("ScoreInfo"))       write_byte(id)       write_short(0)       write_short(deaths)       write_short(0)       write_short(team)       message_end() #if LANG_ENG client_print(id, print_center, "Your kills will remain 0 until you are running the C-D client^nGet it at http://www.unitedadmins.com/cdeath.php") #endif #if LANG_FRE client_print(id, print_center, "Aucun frags ne sera pris en compte tant que C-D ne sera pas lance^nVous pouvez le prendre ici http://www.unitedadmins.com/cdeath.php") #endif          }    return PLUGIN_HANDLED } public bool:passCheatDeathCheck(id) {   new name[32]   if ( !is_user_connected(id) ) return true     // Ok CD is required Check the Name   get_user_name(id, name, 31)   if ( contain(name,"[No C-D]") != -1 || contain(name,"[Old C-D]") != -1 )     return false       return true }
sanaell is offline
Send a message via MSN to sanaell
kalel
Senior Member
Join Date: Aug 2004
Old 10-21-2004 , 15:14  
Reply With Quote #3

about half way threw the map No-CD's started having scores.... I'm runing amxx .16 on a linux dedicated
__________________

NO Support Via PM
kalel is offline
xXxOpOpxXx
Senior Member
Join Date: Aug 2007
Old 03-09-2009 , 07:34   Re: Just Another Cd Meditator
Reply With Quote #4

@bad_load !
__________________
xXxOpOpxXx is offline
Send a message via Skype™ to xXxOpOpxXx
Drak
Veteran Member
Join Date: Jul 2005
Old 03-09-2009 , 12:52   Re: Just Another Cd Meditator
Reply With Quote #5

Five years old, dude.
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
Jack86
Veteran Member
Join Date: Dec 2008
Location: Belgrade, Serbia
Old 03-09-2009 , 13:28   Re: Just Another Cd Meditator
Reply With Quote #6

Hahah

Jack86 is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 03-09-2009 , 13:29   Re: Just Another Cd Meditator
Reply With Quote #7

Make it:

Quote:
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
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 01:52.


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