Raised This Month: $ Target: $400
 0% 

SuperSlap


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   GHW_Chronic (70)
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 05-13-2008 , 07:38   SuperSlap
Reply With Quote #1

Super Slap
v1.3

Description :
This is a much more usefull slap,called superslap.
You can slap a player/team/all player multiple time with an interval of 0.1 second... 99 slaps in 10 seconds. The admin can be skiped from slaping if the cvar (bellow) is disabled/set to 0.

Changelog:
[1.3]
-
The admin will be skiped from slaping.
- Added cvar for skiping or not the admin.
[1.2]
- Removed multi-lingual.
- Added str_to_float : now you cand slap with interval values smaller than 1.
- Optimizated code.
[1.1]
-
Added team option.
- Removed HUD / chat announce cvar.
- Optimizated code.
[1.0]
- First released.

Credits :
- SAMURAI16 for solving a "tag mismatch"
- GHW_Chronic for sugestions
- YamiKaitou & Emp` for sugestions
- Alka - helped me to release version 1.2

Cvar :
superslap_admin 1/0 - enable/disable slaping the admin who uses the command (default 0)

Comand :
amx_superslap <target/ @/@T/@CT> <power> <interval> <times>

EXAMPLES :
Code:
amx_superslap SAMURAI 0 1 5
-> it will slap SAMURAI 5 times with 0 dmg and an inteval of 1 second
or
Code:
amx_superslap @T 1 1 5
-> slap team T 5 times with 1 dmg and an interval of 1 second
Code:
amx_superslap @ 1 0.1 90
-> slap all players 90 times with 1 dmg and an interval of 0.1 second
Attached Files
File Type: sma Get Plugin or Get Source (super_slap.sma - 3562 views - 2.2 KB)
__________________


Last edited by anakin_cstrike; 08-27-2008 at 21:48.
anakin_cstrike is offline
 



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


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