Bully-Board

Bully Modding Section => Modding Questions/Help => Modding Questions/Help Archives => Topic started by: embas10 on September 27, 2013, 05:50:34 AM

Title: how to complete a mission with lua?
Post by: embas10 on September 27, 2013, 05:50:34 AM
hey guys i want complete a mission with my lua. but at i playing the arcade machine, the mission does'nt avaibile. so what should i do if the simbol star mission appear in the map with playing arcade machine?

sorry bad english! :P
Title: Re: how to complete a mission with lua?
Post by: c00ld0c26 on September 27, 2013, 06:09:55 AM
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.
Title: Re: how to complete a mission with lua?
Post by: embas10 on September 28, 2013, 10:50:23 PM
wow work work work ;D ;D ;D ;D