Fixed a couple of Lua errors with rp_setmoney and rp_setsalary.

_(refactor branch)_

This fixes:

* A Lua error which occurs when you call the concommands with invalid arguments.
* A Lua error which occurs after calling rp_setsalary.