View Issue Details

IDProjectCategoryView StatusLast Update
0007333Multi Theft Auto : San AndreasServerpublic2012-09-14 09:10
ReporterWAssigned ToCazomino05 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.3.2Fixed in Version1.3.2 
Summary0007333: last argument of server side restoreWorldModel (interior) is not optional, breaks backward compatibility
Description

http://wiki.multitheftauto.com/wiki/RestoreWorldModel

bool restoreWorldModel ( int modelID, float radius, float x, float y, float z [, int iInterior = -1 ] )

wielebny executed command: restoreWorldModel(1226, 50, 2489, -1665)
Command results: false [boolean]

wielebny executed command: restoreWorldModel(1226, 50, 2489, -1665,13,-1)
Command results: true [boolean]

Last argument is mandatory, which breaks compatibility.

TagsNo tags attached.

Activities

W

2012-09-13 14:49

viewer   ~~0017561

I forgot last argument in first example, of course restoreWorldModel(1226, 50, 2489, -1665,13) also returns false and doesn't work.

x86

2012-09-14 09:09

administrator   ~~0017564

Fixed in: https://code.google.com/p/mtasa-blue/source/detail?r=4659

Issue History

Date Modified Username Field Change