LUADOC - Farming Simulator 22

Script v1_7_1_0

Engine v1_7_1_0

Foundation Reference

AIMessageErrorVehicleBroken

Parent
AIMessage
Functions

getMessage

Description
Definition
getMessage()
Code
23function AIMessageErrorVehicleBroken:getMessage()
24 return g_i18n:getText("ai_messageErrorVehicleBroken")
25end

new

Description
Definition
new()
Code
16function AIMessageErrorVehicleBroken.new(customMt)
17 local self = AIMessage.new(customMt or AIMessageErrorVehicleBroken_mt)
18 return self
19end