Thread: Quickslap me
View Single Post
Plugin Info:     Modification:          Category:          Approver:   devicenull (200)
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-09-2005 , 06:24   Quickslap me
Reply With Quote #1

Quickslap me - v0.1
(based on xeroblood's old, yet simple plugin, on my server) :p

Description:
Well, it slaps you :)

Commands:
Bind a key to qslapme (preferably MWHEELUP)

Cvars:
qslap_active <0:off|1:on> - Default: ON
qslap_mode <1:forward|2:random> - Default: 1
qslap_dmg <#> - Default: 0

To make it so everyone can use the command, change this line:
Code:
register_clcmd("qslapme","quick_slap",ADMIN_KICK,"- Slap yourself")
to
Code:
register_clcmd("qslapme","quick_slap",0,"- Slap yourself")

(Note: untested)
Attached Files
File Type: sma Get Plugin or Get Source (qslapme.sma - 2375 views - 740 Bytes)
__________________
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