Hey, I wan't to make that people can enter their own value to menu... Like I've got XP buy menu like this:
PHP Code:
1. Buy 10xp
2. Buy 20xp
3. Buy 40xp
4. Buy 80xp
5. Buy 160xp
6. // * - and I wan't one more option where players can enter their own value...
and then how to use it with
PHP Code:
xpCost = SOMETHING_HERE * 340;
client_print(id, print_chat, "You bought %dxp for %d money", SOMETHING_HERE, xpCost)
EDIT: Also how to send that value to other public method ... please explain or link to tutorial (Searched - found nothing useful )