Raised This Month: $ Target: $400
 0% 

Show where shoted at


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Anonymouz
New Member
Join Date: Jan 2013
Old 01-31-2013 , 20:55   Show where shoted at
Reply With Quote #1

Hi there, i want a code that print in chat/hud a text with info (where i atacked)..it is like the stats plugin..

Last edited by Anonymouz; 01-31-2013 at 20:55.
Anonymouz is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-01-2013 , 00:46   Re: Show where shoted at
Reply With Quote #2

What do you mean by "where"?
__________________
fysiks is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 02-01-2013 , 10:00   Re: Show where shoted at
Reply With Quote #3

Code:
/* Function is called after player to player attacks ,
* if players were damaged by teammate TA is set to 1 */
forward client_damage(attacker,victim,damage,wpnindex,hitplace,TA);
in csx.inc

Code:
/* Parts of body for hits */
#define HIT_GENERIC		0	/* none */
#define HIT_HEAD		1
#define HIT_CHEST		2
#define HIT_STOMACH		3
#define HIT_LEFTARM		4
#define HIT_RIGHTARM		5
#define HIT_LEFTLEG		6
#define HIT_RIGHTLEG		7

Last edited by jimaway; 02-01-2013 at 10:03.
jimaway is offline
Anonymouz
New Member
Join Date: Jan 2013
Old 02-01-2013 , 10:29   Re: Show where shoted at
Reply With Quote #4

Quote:
Originally Posted by jimaway View Post
Code:
/* Function is called after player to player attacks ,
* if players were damaged by teammate TA is set to 1 */
forward client_damage(attacker,victim,damage,wpnindex,hitplace,TA);
in csx.inc

Code:
/* Parts of body for hits */
#define HIT_GENERIC		0	/* none */
#define HIT_HEAD		1
#define HIT_CHEST		2
#define HIT_STOMACH		3
#define HIT_LEFTARM		4
#define HIT_RIGHTARM		5
#define HIT_LEFTLEG		6
#define HIT_RIGHTLEG		7
This one may be! But how to make the plugin, i don't know amx, im new.
Anonymouz is offline
P1raten
Senior Member
Join Date: Feb 2010
Old 02-01-2013 , 12:50   Re: Show where shoted at
Reply With Quote #5

Quote:
Originally Posted by Anonymouz View Post
This one may be! But how to make the plugin, i don't know amx, im new.
Then this is the wrong section for this thread.

Go to request forum.
__________________
No salvation. Only madness.

Last edited by P1raten; 02-01-2013 at 12:50.
P1raten is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-01-2013 , 23:18   Re: Show where shoted at
Reply With Quote #6

Quote:
Originally Posted by Anonymouz View Post
This one may be! But how to make the plugin, i don't know amx, im new.
If you want to learn you need to start reading and trying things. It is not recommended to start with a plugin this complicated for a first project. So, if you still wan to code it, you need to do A LOT of reading and testing to create your own plugin.

If you want someone else to create it for you, you need to post in the Suggestions/Requests section.
__________________
fysiks is offline
Anonymouz
New Member
Join Date: Jan 2013
Old 02-03-2013 , 01:49   Re: Show where shoted at
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
If you want to learn you need to start reading and trying things. It is not recommended to start with a plugin this complicated for a first project. So, if you still wan to code it, you need to do A LOT of reading and testing to create your own plugin.

If you want someone else to create it for you, you need to post in the Suggestions/Requests section.
Okay, thanks.
Anonymouz 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 20:31.


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