Are these commands supposed to be public commands? Anyone can abuse these for example in Versus by setting a really high pushback which affects everyone. You say theres "sm_weapon_push" public command but you don't list the others:
PHP Code:
// Public commands:
"sm_weapon_push2",
"sm_kickback_add",
"sm_kickback_remove"
// Admin command
"sm_client_kickback_add"
You say default:rifle "(line 9 can change another weapon)"
but you're forcing the weapon to "rifle":
PHP Code:
FakeClientCommand(client,"sm_kickback_add %s 500","rifle");
You should write either:
PHP Code:
// With no option to change
FakeClientCommand(client,"sm_kickback_add rifle 500");
or
// Actually listening to the specified weapon:
FakeClientCommand(client,"sm_kickback_add %s 500", WeaponNames[0]);
People can set a strength which will overwrite each others. The whole plugins script is messy and I wouldn't expect it all the features to work correctly. Even the reset looks dodgy, it will only reset under certain conditions. I give up following the logic.
__________________