Raised This Month: $ Target: $400
 0% 

Score + Death


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Cirovic
Senior Member
Join Date: Sep 2019
Old 03-23-2020 , 08:50   Re: Score + Death
Reply With Quote #3

Quote:
Originally Posted by Napoleon_be View Post
This should help u with your weapon drop: https://forums.alliedmods.net/showth...=49323?t=49323

And for the deaths, this should do the trick.

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <cstrike>

#define PLUGIN "No Death Score"
#define VERSION "1.0"
#define AUTHOR "NapoleoN#"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
register_event("DeathMsg""eDeath""a");
}

public 
eDeath()
{
    
cs_set_user_deaths(read_data(2), 0);


It works for weapon drop, but for your plugin when some1 die he got only 1 death.. you can die 15 times and still only 1 deaths, it need to be zero deaths
Cirovic is offline
 


Thread Tools
Display Modes

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:34.


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