Posts: 139
Threads: 50
Joined: May 2017
Reputation:
0
Everytime I run out of ammo it makes my game freezes. I don't know which exactly is causing this problem on my script? Anyone knows what is maybe causing this issue? Thank you.
Posts: 1,168
Threads: 60
Joined: Dec 2016
Reputation:
0
Have you considered Its gta sa and not your server? Reinstall samp
Posts: 10
Threads: 0
Joined: May 2018
29.05.2018, 13:57
(
Последний раз редактировалось DALii; 29.05.2018 в 13:59.
Причина: Wrote Ad mistakenly instead of as, edited.
)
As Jasperschell said, If you think this is a GTA bug, not the script caused that, you should reinstall your SAMP from another source,and try again, if the problem still there, just fix your script and try checking the issue out, and post a video or SSs here.
Posts: 139
Threads: 50
Joined: May 2017
Reputation:
0
It is the script itself. I would post a video or screenshot, but it causes my pc to freeze and in-need of restart just to bring it back up again. I'll try finding the solution myself or find why did this occur, if not, I'll call out for a help again. Thanks.
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
How do you expect anyone to have any idea of what is happening if you don't post code?
Posts: 319
Threads: 7
Joined: Jul 2012
Reputation:
0
Do you manage the ammo from within the script itself?
Does the ammo go negative perhaps?
Add some print statements inside OnPlayerWeaponShot callback to track if ammo going negative could be a problem or just to determine what exactly happens when it reaches 0.
It could as well come stuck in an endless loop somehow, causing your server to crash or even make your computer crawl.
Posts: 6,242
Threads: 8
Joined: Jun 2008
You running Vista? That fucks around with files something chronic. It'll make 'backups' that it presents to applications even when it's not there and deleted.
(And even if it's not Vista) It's fully going to be your install and you need to uninstall everything, clear out ALL settings and everything... Even re-install to a new folder as well.
Posts: 139
Threads: 50
Joined: May 2017
Reputation:
0
Windows 7. I did everything, but failed. It doesn't affect other players, it's just me. I guess I'll just not use weapon or not run out of ammo. Its on my pc problem itself probably.
P.S. This started when I removed some textdraws...but I re-instaleld every file, and still happens.
I guess I will just live up to it. Thanks anyways.
Posts: 6,242
Threads: 8
Joined: Jun 2008
Avoiding the issue, isn't the way.
You need to fix it, and if a clean install isn't doing that, then your PC has more issues than just this.