Welcome on Poseidon Leaks

Register Now !!!

[GUIDE] Optimize Scripts

Russik

Founder
Staff member
Founder
LV
3
 
Awards
5
[NOTICE] It is recommended to make a Backup before doing this!​

[RECOMMENDATION]
Don't use this code. If you find it, delete it.

GetPlayerPed(-1)
And change it to this:

PlayerPedId()

[HOW TO OPTIMIZE]

(Step 1): We are going to edit lines that start with:
Citizen.Wait(NUMBER)
(Step 2): What we have to do is raise that amount a bit (if for example it is 2000, raise it to 6000)

The reason scripts waste a lot of MS is because the smaller the number inside the brackets, the faster it loops, thus the higher the MS. 1000 = 1 second
 
Top