User:Ccw: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Crash description)
Line 27: Line 27:




== ==
== ==
== ==

Revision as of 23:37, 16 August 2009

Coder.gif This user is an MTA developer

Unresolved crashes - 16 August 2008

Unhandled exception

Unhandled exception at 0x109c65b2 (Client_d.dll) in gta_sa.exe: 0xC0000005: Access violation reading location 0xddddde31

File: MTA10\mods\deathmatch\logic\CNametags.cpp
Function: CNametags::DrawDefault()

pPlayerVehicle is an invalid pointer.
It was remote players 'jhxp' vehicle in CTV.
It was also the target vehicle, and he just drove it into the winning marker.

Ccw crash 16Aug2009.png

Proposed Lua additions - 20 June 2008

Client and server function

setElementFrozen ( element, bool )

To work with vehicles, peds and dynamic objects like barrels and what not.

Server event

onSettingChange ( name, oldValue, newValue )

So the resource can take action if one of its settings get changed. Could even cancel the change I suppose.