Project: RSS

Viewing Issue Advanced Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005937 [Multi Theft Auto : San Andreas] Client feature N/A 2011-02-20 14:30 2012-02-02 02:23
Reporter tma View Status public  
Assigned To ccw
Priority normal Resolution fixed Platform N/A
Status resolved   OS N/A
Projection none   OS Version N/A
ETA none Fixed in Version 1.3 Product Version
  Target Version 1.3 Product Build
Summary 0005937: Request for a screen shot event
Description Just a request for an event when the play takes a screen shot by any method e.g.

addEventHandler("onClientScreenshot",getRootElement(),
    function ()
           -- Whatever ...
    end
)
Steps To Reproduce
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0012968)
Talidan (administrator)
2011-02-20 15:05

What kind of practical purpose would this serve?
(0012970)
MX_Master (viewer)
2011-02-20 15:30

addEvent('onClientScreenshot')

bindKey( 'F12', 'down', -- or 'up'
  function()
    triggerEvent( 'onClientScreenshot', getLocalPlayer() )
  end
)

i think any other outside methods are not controlled by MTASA
(0012974)
Gamesnert (developer)
2011-02-21 11:14

According to the wiki, addCommandHandler should work for detecting MTA hardcoded commands:

http://wiki.multitheftauto.com/wiki/Control_names#MTA_hard-coded_commands [^]

However, for some reason, it doesn't work that way at all. (0005402) That should simply be fixed, there shouldn't be an entirely new event for this.
(0012975)
tma (viewer)
2011-02-21 12:10

Well it it was mainly to detect people spamming screen shots to alter lag/collision in-game. If the addCommandHandler() method could be fix then that would work instead.
(0013089)
Mike_Traceur (viewer)
2011-03-15 13:37
edited on: 2011-03-15 13:38

clientside:
bindKey('screenshot','up',doAnything)
not testet but i think it should work, even if key isn't binded on F12

(0013281)
Jockie (viewer)
2011-04-30 19:44

addEvent("onClientScreenshot", true)
bindKey("screenshot", "down",
    function()
        triggerEvent("onClientScreenshot",getLocalPlayer())
    end
)

Not realy that hard?

- Issue History
Date Modified Username Field Change
2011-02-20 14:30 tma New Issue
2011-02-20 15:05 Talidan Note Added: 0012968
2011-02-20 15:30 MX_Master Note Added: 0012970
2011-02-21 11:14 Gamesnert Note Added: 0012974
2011-02-21 12:10 tma Note Added: 0012975
2011-03-15 13:37 Mike_Traceur Note Added: 0013089
2011-03-15 13:38 Mike_Traceur Note Edited: 0013089
2011-04-30 19:44 Jockie Note Added: 0013281
2012-02-02 02:23 ccw Status new => resolved
2012-02-02 02:23 ccw Resolution open => fixed
2012-02-02 02:23 ccw Assigned To => ccw
2012-02-02 02:23 ccw Project New issues => Multi Theft Auto : San Andreas
2012-02-02 02:23 ccw Fixed in Version => 1.3
2012-02-02 02:23 ccw Target Version => 1.3


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker