What do you mean?
If you mean getting "MissionSuccess" on the screen then the code is :
MissionSucceed()
it has no parameters.
If you mean make an X appear on the mini map then the code is :
BlipName = BlipAddXYZ(X coords, Y coords, Z coords, 29)
29 = yellow X on map
Z coords isn't used tho.