Raised This Month: $ Target: $400
 0% 

All frags 0


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-01-2009 , 11:51   Re: All frags 0
Reply With Quote #1

Quote:
Originally Posted by Alucard^ View Post
@ot_2007

I know... but don't know how to do a FAKE 0 frag...
There are 2 ways using what I have said.

You can register the message function and change its paramaters using this

Or you can hook the event and send the message again with 0 frags.

The first one is the best in my opinion
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-02-2009 , 00:58   Re: All frags 0
Reply With Quote #2

PHP Code:
#include <amxmodx>

#define VERSION "0.0.1"

public plugin_init()
{
    
register_plugin("0 frags"VERSION"ConnorMcLeod")

    
register_messageget_user_msgid("ScoreInfo"), "Message_ScoreInfo" )
}

/*Name:      ScoreInfo
Structure:     
byte     PlayerID
short     Frags
short     Deaths
short     ClassID?
short     TeamID 
*/
public Message_ScoreInfo(/*iMsgId, iMsgDest, iMsgEnt*/)
{
    
set_msg_arg_int(2ARG_SHORT0)

__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 15:12.


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