Jump to content

takePlayerScreenShot


Ianito

Recommended Posts

Posted

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?

Posted

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

Posted

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?

Posted

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.

Posted
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

Posted
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 Player

I see the skin he's using, if it is too small or not, see the HUD etc.

Posted
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 ;-;

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...