Ianito Posted December 7, 2013 Share Posted December 7, 2013 function check (thePlayer,cmd,target) local target1 = getPlayerFromName(target) if(target1) then takePlayerScreenShot( target1, 320, 240 ) else outputChatBox("Player não existente") end end addCommandHandler("ss",check) Does not work, anyone help? Link to comment
Ianito Posted December 7, 2013 Author Share Posted December 7, 2013 There appears screenshot taken from the player ... Link to comment
TAPL Posted December 7, 2013 Share Posted December 7, 2013 If you want to show the taken image you must use this event: https://wiki.multitheftauto.com/wiki/OnPlayerScreenShot Example on the wiki^^ Link to comment
Ianito Posted December 7, 2013 Author Share Posted December 7, 2013 Not so ... Example: I type "/ ss Player" then I caught a screenshot of gta san her ... I want to make this command because some people use "Object Remover" and so I can see the gta san her banishment may apply Link to comment
TAPL Posted December 7, 2013 Share Posted December 7, 2013 What do you mean by "Object Remover"? If you can't edit the wiki example to work with your needs, you can simply use the admin panel to take screen shot. If you don't have the newer admin panel, you can get it from here: https://mtasa-resources.googlecode.com/files/mtasa-resources-r967.zip Link to comment
Ianito Posted December 7, 2013 Author Share Posted December 7, 2013 I'm still new to the lua so I can not work with those functions ... I wanted the command / ss would be easier .. Could create for me doing a favor? Link to comment
Dealman Posted December 7, 2013 Share Posted December 7, 2013 I think he wants a command that takes a screenshot of another player. For example, if I'm in Los Santos and Player2 is in Las Venturas somewhere, I type "/ss Player2" - it would take a screenshot of that player. I've never worked with the screenshot functions, but I guess it's possible by using either setCameraMatrix or setCameraTarget. Link to comment
Ianito Posted December 7, 2013 Author Share Posted December 7, 2013 Example: /ss Player I see the skin he's using, if it is too small or not, see the HUD etc. Link to comment
TAPL Posted December 7, 2013 Share Posted December 7, 2013 I told you already, use the admin panel. Link to comment
Ianito Posted December 7, 2013 Author Share Posted December 7, 2013 Yes, but I wanted to create a command / ss without opening the panel ... /ss EduardoRevoltado after: Link to comment
Quited Posted December 7, 2013 Share Posted December 7, 2013 What do you mean by "Object Remover"?If you can't edit the wiki example to work with your needs, you can simply use the admin panel to take screen shot. If you don't have the newer admin panel, you can get it from here: https://mtasa-resources.googlecode.com/files/mtasa-resources-r967.zip he means some people remove their object from gta3.img + gta_int.img to cheat. @iaanmesquita , you can use "acpanel" resource to block img mods for example : block skins + objects + animations modify by set this option in acpanel resource: modelsAnims: ifp+dff Link to comment
TAPL Posted December 7, 2013 Share Posted December 7, 2013 What do you mean by "Object Remover"?If you can't edit the wiki example to work with your needs, you can simply use the admin panel to take screen shot. If you don't have the newer admin panel, you can get it from here: https://mtasa-resources.googlecode.com/files/mtasa-resources-r967.zip he means some people remove their object from gta3.img + gta_int.img to cheat. I'm not blind i can read. Example: /ss PlayerI see the skin he's using, if it is too small or not, see the HUD etc. Link to comment
Quited Posted December 7, 2013 Share Posted December 7, 2013 yes , but i post some suggestions Link to comment
Ianito Posted December 7, 2013 Author Share Posted December 7, 2013 What do you mean by "Object Remover"?If you can't edit the wiki example to work with your needs, you can simply use the admin panel to take screen shot. If you don't have the newer admin panel, you can get it from here: https://mtasa-resources.googlecode.com/files/mtasa-resources-r967.zip he means some people remove their object from gta3.img + gta_int.img to cheat. @iaanmesquita , you can use "acpanel" resource to block img mods for example : block skins + objects + animations modify by set this option in acpanel resource: modelsAnims: ifp+dff I know, but I want to create this command ;-; Link to comment
TAPL Posted December 8, 2013 Share Posted December 8, 2013 Someone help me? Already did: If you want to show the taken image you must use this event:https://wiki.multitheftauto.com/wiki/OnPlayerScreenShot Example on the wiki^^ Link to comment
Ianito Posted December 8, 2013 Author Share Posted December 8, 2013 Someone help me? Already did: If you want to show the taken image you must use this event:https://wiki.multitheftauto.com/wiki/OnPlayerScreenShot Example on the wiki^^ Okay okay, thx for help... Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now