Freeze Time

by matt19811
Please explain why you're reporting this file:

N = Freeze time
M = Unfreeze time

I saw a mod to lock the time of day somewhere but it didnt work for me, so i made this. An ini is included so you can change the keys and a message is displayed when you freeze/unfreeze time ingame. This was made for 1.0.7 and goes in your gtaiv scripts folder
7.24/10 - 29 votes
Downloads: 7,956
Added: March 10, 2012 12:54PM
Last Downloaded: May 21, 2017 1:58AM
File Size: 500 B
» Author Website

This file has no videos.
Sorry, you must be registered and logged in to add a video to this file. Log in now!

Please put a vid up this sounds great
Posted on March 10, 2012 3:33PM by Camelot55
Anyone think they can make a horse mod for 1.0.3? And btw great mod
Posted on March 10, 2012 4:21PM by mrpushy88
or just download Simple Native Trainer :P

but anyway , useful , 10/10
Posted on March 10, 2012 4:52PM by martin.svk
SNT sucks
Posted on March 10, 2012 7:21PM by jitsuin
I wouldn't be too quick to dismiss SNT. It might make your game unstable in some cases, but the amount of * you can do with it is crazy.
Posted on March 10, 2012 8:31PM by Vergessene
I use SNT and have never had an issue. Might be because I have a PC with 1,500 bucks into it.
Posted on March 10, 2012 8:37PM by MattStar
Turn off shortcuts, use features sparingly, and you have no issues.
Posted on March 10, 2012 8:53PM by cp702
SNT sometimes crashes my game when i do many things at once but like cp702 said, just use the features sparingly and its extremely useful
Posted on March 11, 2012 6:16AM by ezanrki
can u move camera when game is freezed ? That would be cool! especially for action screens!
Posted on March 11, 2012 8:46AM by Dark64
* SNT fanboys lol
Posted on March 11, 2012 11:22AM by matt19811
SNT is gay can't you guys understand that some people like their game bug free and clean.
Posted on March 11, 2012 1:50PM by Tatsuo
Maybe you just can't use the computer? I've been using SNT for a very long time now and somehow I don't have bugs
Posted on March 12, 2012 12:00PM by Skittles
Let's chill with the simple native cheater stuff some people like it and some don't
Posted on March 12, 2012 12:37PM by matt19811
How do you write script mods i wanna make some
Posted on March 12, 2012 5:15PM by mrpushy88
it's a complicated process look at my mods with notepad and you can see what I wrote. A lot of reading is involved. Read some c# tutorials, get good with Visual Studio c#. It is free to download. Start a new project in Visual Studio C# and open the solutions explorer. Right click your new solution/project and add a reference. Click the browse tab, In the newest scripthookdotnet release there is a fordevelopers folder, in that there is a bin folder and a scripthookdotnet.dll file. Add that dll as a reference for your new project. Right click your solution and add a reference again, this time click the .NET tab and select System.Windows.Forms. Now your ready to write your mod. To find what you need to write to make your mods double click the scripthookdotnet reference in the solutions explorer to open the object browser in Visual studios. In your code you will usually be using lines from there, or original gta stuff. For example, if I want to write a line that attaches an object to a player. I can write the line in two ways basically. I can find what i need in the scripthookdll reference in Visual studios solution explorer search. That line would look something like this,

GTA.Object.AttachToPed(GTA.Ped, GTA.Bone, GTA.Vector3, GTA.Vector3)

Or you can use a gta native which would look like this,

GTA.Native.Function.Call("ATTACH_OBJECT_TO_PED", obj2, Player.Character, 14754, 0.0f, .55f, 2.25f, 0.0f, 0.0f, 0.0f, 0);

i have this line in my new laddermod im about to update,

ill explain the line a little bit even tho im sure im pissing in the wind lol.

14754 is the decimal value of the bone im attaching the ladder to. I found the bones hexidecimal value i had to convert to decimal. 0.0f is the left right value (- +), .55f is the forwards and reverse value (- +), 2.25f is the up down value (- or +)

You have to do some tricky stuff sometimes, even to get simple things to work. In my ladder mod, to spawn ladders in the direction the player is facing i had to create the ladder, then attach it to the player, then detach it and adjust the coordinates all while asking if the obj exists. It was pretty tricky, you can look at the ladder mod with notepad when i update it in a few days to see what I mean.

Once you know the structure of C# scripts learned from C# tutorials, where to set the variables, where the contructer is, what methods are, ticks, keydowns... then you can learn all the gta stuff.

look at other notepad viewable mods to see what you need to write.

I told you it's complicated :) I just started this a few months ago
Posted on March 13, 2012 9:20AM by matt19811
Alright thanks. Probably wont be able to make any tho
Posted on March 13, 2012 5:27PM by mrpushy88
Posted on March 13, 2012 9:14PM by matt19811
Noobs, you can disable SNT in-game and enable it when you need that one function.

And how about learning how to edit an INI? You can also disable most functions by default even with the trainer "enabled" and you can remove or change any hotkey...
Posted on March 14, 2012 1:12PM by MarkC9
It's a trainer, f anything else about it.

Two posts ago when i was explaining the attach line, the last 3 0.0f mess with rotation if that helps anyone.
Posted on March 14, 2012 8:05PM by matt19811
i posted a video about it

Posted on March 18, 2012 11:30AM by tcat gta helper
video doesnt work for me
Posted on March 19, 2012 10:47AM by matt19811
Also if you want to learn how to do this, you should rewrite some of the example scripts that come with Scripthookdotnet(shdn).

Start a new c# class project in visual studios, add those two references i said above then at the top in VS click open file and browse to your gta/scripts/for developers\test scripts\scripts and open one of the example scripts there. Rewrite those example scripts and try them ingame.
Posted on April 6, 2012 1:55AM by matt19811
You should change the title to 'Freeze Timecycle'. I was fooled by the name and clicked on this because I though this would actually freeze time.
Posted on February 17, 2013 12:22PM by Beerminator1
Sorry, you must be registered and logged in to post a comment. Log in now!