Quote:
Originally Posted by PC Gamer
Change this:
PHP Code:
if (StrEqual(item, "Votekick")) {
ClientCommand(client, "sm_votekick");
}
else if (StrEqual(item, "Voteban")) {
ClientCommand(client, "sm_voteban");
}
to read this:
PHP Code:
if (StrEqual(item, "Votekick")) {
ClientCommand(param1, "sm_votekick");
}
else if (StrEqual(item, "Voteban")) {
ClientCommand(param1, "sm_voteban");
}
When using menus the client becomes param1
|
Oh yeah, I didn't check that ._. Thanks for correcting that out
__________________