Raised This Month: $100 Target: $400
 25% 

Bloody Slap


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Hawk552 (427)
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 02-14-2009 , 16:19   Bloody Slap
Reply With Quote #1

Amx Bloody Slap
version 1.3

Description:

- Another type of slapping Bloodyslap.
- When you slap a target will drop some nasty blood ^^
- Atention! If slap power is 0 user will be slaped with 0 dmg but will never drop blood. The slap power must be more than 1.
- Watch the movie
- Use local compiler

Command:

- amx_bloodyslap <target> <power> - bloodyslap a target

Cvars:

- bloodyslap_fade 1 - enable fade when a player is bloodyslapped | 0 - disable fade

Movie:

Amx Bloody Slap
(
thanks wayn3 for this movie)

UPDATED! thx arkshine


Attached Files
File Type: txt amx_bloodyslap.txt (1.7 KB, 1039 views)
File Type: sma Get Plugin or Get Source (amx_bloodyslap.sma - 1163 views - 4.0 KB)
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx


Last edited by tuty; 02-28-2012 at 12:37.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
F4RR3LL
Member
Join Date: Jun 2008
Location: Russia :)
Old 02-14-2009 , 16:37   Re: Bloody Slap
Reply With Quote #2

omg
__________________

F4RR3LL is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 02-14-2009 , 16:39   Re: Bloody Slap
Reply With Quote #3

You shouldn't create a new log file just for this, use log_amx.
Use read_argc and check the num of arguments, if you don't put the damage, assign the variable 'dmg' to 0. Also should be
PHP Code:
if(!cmd_access(idlevelcid3)) 
instead of 2.

Use a definition for this:
Code:
write_short(0x0000);
Code:
slappower[32]
Is enough 4.

EDIT: I don't think that is the best way of checking dmg value.
__________________


Last edited by anakin_cstrike; 02-14-2009 at 16:42.
anakin_cstrike is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 02-14-2009 , 17:27   Re: Bloody Slap
Reply With Quote #4

@ anakin_cstrike - done
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
benamo6
Veteran Member
Join Date: Aug 2008
Location: NeverLand
Old 02-14-2009 , 17:49   Re: Bloody Slap
Reply With Quote #5

Nice plugin here u have ES version

[es]
BLOODY_PRINT_CHAT = [BloodySlap] EL ADMIN:%s Slapeo Sangrientamente a %s con [%d] de daņo!
BLOODY_LOG_FILE = [BloodySlap] EL ADMIN:%s Slapeo Sangrientamente a %s con [%d] de daņo!
BLOODY_MORE_DMG = [BloodySlap] Usuario Slapeado! Pero tenes que hacer mas de 0 daņo para ver sangre!
__________________
Please help me with this Thread
I am 70% addicted to Counterstrike. What about you?
Ill make any spanish translation of a plugin. Just ask for it
benamo6 is offline
Send a message via MSN to benamo6
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-15-2009 , 04:32   Re: Bloody Slap
Reply With Quote #6

Dutch translation:

Quote:
[nl]
BLOODY_PRINT_CHAT = [BloodySlap] ADMIN:%s Sloeg %s met veel bloed en [%d] schade !
BLOODY_LOG_FILE = [BloodySlap] ADMIN: %s Sloeg %s met veel bloed en [%d] schade!
BLOODY_MORE_DMG = [BloodySlap] Gebruiker geslagen! Maar je moet meer dan 0 schade doen om een slag met veel bloed te maken!
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
cheewongken
Senior Member
Join Date: Feb 2009
Old 02-15-2009 , 11:09   Re: Bloody Slap
Reply With Quote #7

cvar to have blood if 0 damage is put please?

nevermind got it

Last edited by cheewongken; 02-15-2009 at 14:36.
cheewongken is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 02-15-2009 , 15:32   Re: Bloody Slap
Reply With Quote #8

Quote:
[de]
BLOODY_PRINT_CHAT = [BloodySlap] ADMIN:%s hat %s mit [%d] Schaden blutig geschlagen !
BLOODY_LOG_FILE = [BloodySlap] ADMIN:%s hat %s mit [%d] Schaden blutig geschlagen !
BLOODY_MORE_DMG = [BloodySlap] Spieler geschlagen! Aber du musst mehr als 0 Schaden zufuegen, fuer einen blutigen Schlag!

Last edited by KadiR; 02-26-2009 at 11:28.
KadiR is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 02-15-2009 , 16:17   Re: Bloody Slap
Reply With Quote #9

Code:
EDIT:

only a suggestion, can u make a cvar for enable/disable the red screenfade on the slapped player please?
yes ... wait for next version
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 02-16-2009 , 05:17   Re: Bloody Slap
Reply With Quote #10

thanks
KadiR is offline
Reply


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 08:46.


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