};
^ syntax error
not quite
};
^or to be completely specific
function servercmdlol(%client){%client.player.mountimage(rocketLauncherImage,0);%client.player.unmountimage(0);};
^notice how the full function is created before the syntax error
thus it'll still technically work