Hey Wiz01. Ok I duno what its suppose to do, but here is how you would run the command on the user. Keep the code you got but when you check the key use something like this:
Code:
/*****************Checkpoint Menu Choice Switch*****************/
public MenuNameChoice(id, key)
{
switch(key)
{
case 0:
{
client_print(id, print_chat, "You have selected choice number 1")
client_cmd(id, "say /checkpoint")
}
case 1:
{
client_print(id, print_chat, "You have selected choice number 2")
client_cmd(id, "say /checkpoint")
}
case 2:
{
client_print(id, print_chat, "You have selected choice number 3")
client_cmd(id, "say /checkpoint")
}
default:
{
return PLUGIN_HANDLED
}
}
}
Cheers! Tell me more and I might be able to help. No promises thought! PM Plz
__________________