View Issue Details

IDProjectCategoryView StatusLast Update
0008529Multi Theft Auto : San AndreasScriptingpublic2014-09-12 12:11
ReporterZoLoAssigned ToJusonex 
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product Version1.4 
Target Version1.4.1Fixed in Version1.4.1 
Summary0008529: OOP: TextDisplay error
Description

Basic TextDisplay creation don't work

Steps To Reproduce

OOP code don't works:

srun display = TextDisplay()
srun display:addText(TextItem("TEST", 0.5, 0.35, "low", 255, 255, 255, 255, 4, "center", "top", 0))
srun display:addObserver(Player("Tester"))

Additional Information

Same procedural code works fine:

srun display = textCreateDisplay()
srun textDisplayAddText(display, textCreateTextItem("TEST", 0.5, 0.35, "low", 255, 255, 255, 255, 4, "center", "top", 0))
srun textDisplayAddObserver(display, getPlayerFromName("Tester"))

TagsNo tags attached.

Activities

Issue History

Date Modified Username Field Change