I tested this moments ago and it appears that g_password works correctly on the dedicated server for both SP/MP.
I suggest the OP to verify that they set the password correctly. Or lay out exactly what they did and what went wrong.
undefined
Breadn11
@Breadn11