When you throw the grenade, get the current player y-rotation [object angle y() if you aren't already keeping track of the angle] and then store it to a variable like gre_angley#. Now, you simply need to move the grenade with newxvalue() and newzvalue():
gre_x# = newxvalue(gre_x#, gre_angley#, gre_forward_velocity#)
gre_z# = newzvalue(gre_z#, gre_angley#, gre_forward_velocity#)
And remember that gre_forward_velocity# comes from the 2d physics equation that I gave you earlier. Remember that, like a plain, 2d can be rotated in any direction in a 3d world. This value will be equal to COS(angle_from_ground#)*throwing_force#.