ShowMissionPassedMessage

From GT-MP
Jump to: navigation, search
ShowMissionPassedMessage
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript


Shows a mission passed message

MissionPassedMessage.jpg







Syntax

API.showMissionPassedMessage(string message, int time = 5000);

Required Arguments

  • message: parameter input should be in string type.

Optional Arguments

  • time: parameter input should be in int type. Default value: 5 seconds (5000 ms)

Usage example(s)

API.showMissionPassedMessage("MISSION COMPLETED", 3000);

References