Have option 6 do client_cmd(id, "messagemode Buy_Custom_XP") then make a public function of the same name:
PHP Code:
public Buy_Custom_XP(id)
{
new szArg[4]
read_argv(1, szArg, charsmax(szArg))
new iArg = str_to_num(szArg)
// id has chosen to buy iArg XP so take their money and give them iArg XP.
}
__________________