okay here is waht I got so far
Code:
#include_amxmodx
public plugin_init() (
register_plugin("Amx-SuperSlap","0.1","[KTA] KeItO")
register_concmd ("amx_superslap", "user_slap", ADMIN_SLAY, "SuperSlaps the specified user")
)
public do user_slap(id, 0,) (
if (!(get_user_flags(id)&ADMIN_SLAY)) (
console_print(id "AMX No Access Faggot"
return PLUGIN_HANDLED
)
if (read_argc() == 0) {
console_print(id,"Pick a user dingle dick!")
return PLUGIN_HANDLED
)
new user[32], uid
read_argv(1,user,32)
uid = find_player("bh",user)
if (uid == 0) {
console_print(id,"Are you dum or somthin?? Spell it right homo!")
return PLUGIN_HANDLED
}
}
I want to know if there are any errors and how to define the ammount of times the user is slapped with how long interveles.
LoL im really new to this type of coding. Im better at websites. Kinda simmalar.