Sign in to follow this  
R.I.P Logic

F11 map texture

Recommended Posts

I want to change the map at F11, I got the files but I just don't know what functions to use so I can add it.. Does anyone have a idea?

Share this post


Link to post
dxCreateTexture 
dxDrawImage
dxCreateRenderTarget
dxSetRenderTarget
dxGetMaterialSize

 

Edited by Dimos7

Share this post


Link to post

Yeah you don't want to create but you can't replace, so you have to create one

Share this post


Link to post
On 25/11/2018 at 12:17, Gordon_G said:

Yeah you don't want to create but you can't replace, so you have to create one

you can replace it

In MTA:SA installation folder => MTA/cgui/images just replace radar.jpg.

Share this post


Link to post

I meant, it's impossible by scripting

 

Here you are talking about LOCAL files

Share this post


Link to post
22 minutes ago, Gordon_G said:

I meant, it's impossible by scripting

 

Here you are talking about LOCAL files

He never said he wanted it done by scripting, he probably thought it was some kind of scripting function not knowing its as easy as replacing a local file.

But yeah he has his options, replace for single use or script a new one for server use.

Share this post


Link to post

If you wanna do it by scripting make a new one.

In every custom map I've done there's a new F11 radar included, you can take one of those and modify it.

Share this post


Link to post
12 hours ago, ViRuZGamiing said:

He never said he wanted it done by scripting, he probably thought it was some kind of scripting function not knowing its as easy as replacing a local file.

But yeah he has his options, replace for single use or script a new one for server use.

Mate, I'm scripting for a whole server, regardless I don't know all the functions and where they can be useful in some cases, I used as @Dimos7 said

dxCreateTexture 
dxDrawImage
dxCreateRenderTarget
dxSetRenderTarget
dxGetMaterialSize

And yes, I'm making it for all players, not for myself so replacing it in my local data? Of course no.

Edited by R.I.P Logic

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.