1. As i can see, you don't need csx module
2. You can remove the fun module very easy, using fm_give_item and fm_set_user_frags from fm util.
3.
PHP Code:
if (key == 0) {
buy_molotov(id);
} else if (key == 1) {
client_print(id, print_center, ">You have chosen not to buy a Molotov Coctail<");
} else {
client_print(id, print_center, ">You have choosen to exit the molotov menu...<");
}
->
PHP Code:
switch(key)
{
case 0: buy_molotov(id);
case 1: client_print(id, print_center, ">You have chosen not to buy a Molotov Coctail<");
default: client_print(id, print_center, ">You have choosen to exit the molotov menu...<");
}
4.
PHP Code:
if(id) // something
else
//...
->
PHP Code:
id ? /* something */ : /* ... */
5. Good Job
__________________