Jump to content

Changing map


papam77

Recommended Posts

Posted

If you are using the 'race' gamemode then you could try using these events triggered by the race resource: https://wiki.multitheftauto.com/wiki/Res ... ace#Server

and for the camera, use this:

setCameraMatrix 
setTimer --Use this to keep moving in every second 

My in-game name: Jaysds1

Retired CMG Scripter

World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode

Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/

 

sE5Qm.png

TiV3C.png

img.php?id=0&text=Lua%20Scripter

Posted

Example:

This would zoom in from above and go down every second.

[lua]local z = 200

setCameraMatrix(0,0,z,0,0,0) --set the camera from 200 ft above the ground

setTimer(function()

z = z - 1

setCameraMatrix(0,0,z,0,0,0)

end,1000,200) --every 1000ms/1sec the camera would zoom in

My in-game name: Jaysds1

Retired CMG Scripter

World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode

Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/

 

sE5Qm.png

TiV3C.png

img.php?id=0&text=Lua%20Scripter

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...