View Issue Details

IDProjectCategoryView StatusLast Update
0008591Multi Theft Auto : San AndreasScriptingpublic2015-04-22 15:12
ReporterNeXTremeAssigned To 
Status confirmedResolutionopen 
Product Version1.4 
Target Version1.6Fixed in Version 
Summary0008591: Vectors and matrices cannot be passed via events

Trying to send a Vector or a Matrix from client to server will cause triggerServerEvent to return false.
triggerClientEvent() works fine.

Runcode examples
NeXTreme executed command: triggerClientEvent("foo", root, Vector3(1, 2, 3) )
Command results: true [boolean]

Executing client-side command: triggerServerEvent("foo", root, Vector3(1, 2, 3) )
Command results: false [boolean]

TagsNo tags attached.


child of 0008832 new Refactor CLuaArgument(s) 



2014-10-30 12:11

administrator   ~~0022250

Last edited: 2014-11-01 14:37

View 2 revisions

triggerClientEvent doesn't work either, but returns always true.

The reason is that vectors don't have an Element ID like other userdatas. Instead, we need to split them into 3 floats.

Issue History

Date Modified Username Field Change