Raised This Month: $51 Target: $400
 12% 

Spank


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kavu
Member
Join Date: Mar 2004
Location: Batavia, NY.AKA.Hell
Old 03-26-2004 , 09:01   Spank
Reply With Quote #1

I think someone should remake the spank plugin for amxx it doesnt work for it i dont know why it has no errors when i put it in server but just doesnt work
kavu is offline
ilcannibal
Junior Member
Join Date: Dec 2004
Old 03-27-2005 , 22:04  
Reply With Quote #2

/* AMXMOD script.
* This file is provided as is (no warranties).
*
* Presenting: AMX Spank2 Plugin
*
* Usage: amx_spank authid, nick, or #userid
*
* Effect: Tells player "Okay, Bendover", and tells
* everyone that the admin is spanking the player,
* then it foces the player to say he enjoys it,
* at which point the spankings begin... 7 spanks
* causing no damage.
*
* Written by: Denkkar Seffyd, I comment "my" code.
*
* Install: add amx_spank2.amx to addons/amxmodx/plugin.ini
* add bendover.wav to sound/misc/
*/

#include <amxmod>
#include <amxmisc>

public admin_spanking(id,level,cid){
if (!cmd_access(id,level,cid,2))
return PLUGIN_HANDLED

new name[32], name2[32]
new arg[32]

get_user_name(id,name2,31) // Admin name
read_argv(1,arg,31) // Target player

new player = cmd_target(id,arg,5)
if (!player) // Exception catch
return PLUGIN_HANDLED

new ids[2]
ids[0] = player
get_user_name(player,name,32) // Extract name from player id
client_cmd(0,"spk misc/bendover") // Wav to all. For player only: client_cmd(ids[0], "spk misc/bendover")


client_print(0,print_chat, "%s I didn't mean too, bendover let the beatings begin by admin %s",name,name2)
// Prints a message to all stating that a player is being spanked by the admin.

set_task(1.5, "spankme", 0, ids, 1, "a", 0)
// Delays spanking by 1.5 seconds to give the bendover.wav time to play

return PLUGIN_HANDLED
}


public spanking(ids[]){
client_cmd(ids[0],"say Yes, yes! Please Spank me good.") // Makes player moan with pleasure
set_task(0.3, "slap_player", 0, ids, 1, "a", 10) // Gives the player 7 spanks at 0.3 sec intervals
return PLUGIN_CONTINUE
}

public slap_player(ids[]) {
user_slap(ids[0],0) // Slap player with 0 damage
return PLUGIN_CONTINUE
}


public plugin_precache() {
precache_sound("misc/bendover.wav") // Forces client to download wav if not already present
return PLUGIN_CONTINUE
}


public plugin_init(){
register_plugin("AMX Spank2","0.9.3a","clients.gladiatorarenas.net ")
register_concmd("amx_spank2","admin_spanking" ,ADMIN_SLAY,"<authid, nick or #userid>")
return PLUGIN_CONTINUE
}
ilcannibal is offline
antileet
Member
Join Date: Sep 2004
Location: Los Angeles
Old 03-27-2005 , 23:11  
Reply With Quote #3

here's it is ;)
Attached Files
File Type: sma Get Plugin or Get Source (amx_spank.sma - 1813 views - 2.1 KB)
__________________
My CS Clan is BACK!!, www.utbclan.com
antileet is offline
ilcannibal
Junior Member
Join Date: Dec 2004
Old 03-27-2005 , 23:15  
Reply With Quote #4

thanks bud i will test it out
ilcannibal is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 03-27-2005 , 23:39  
Reply With Quote #5

Btw, the command is amx_spank2, if you didn't know. ;)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
ilcannibal
Junior Member
Join Date: Dec 2004
Old 03-27-2005 , 23:54  
Reply With Quote #6

thanks u need a new look for your wc3ft click here this is what i do
ilcannibal 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 17:23.


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