Yes, there is...
Will it work in a RP server ? Yes it will, it will successfully change your-sided money value but the server will take it from a variable that is stored in its game mode and then saved somewhere (file, mysql etc)
So, it will work but you wont really have more money (and its impossible to do, at least i dont know any way to do this (maybe some packet editing, but i'd doubt about it too))