![]() |
Weapon is deleting itself after i add it.
The other day, I was working on a particular weapon script, but what's weird was, after I finally got it to work the way I wanted to, the weapon seems to just delete itself immediately from the server. I was lucky enough to have made a backup of it on a text file before this happened. Though if i try to delete the faulty weapon and re-add the code, i'll get an error saying the weapon does not exist when i try to open it again.
What would be causing this to happen? I'm kind of afraid to work on my other scripts now x_x |
What server? Testbed? are you sure you put the right file name, it might not even save as a start.
|
If you have destroy(); in the server-side portion of a WNPC it will delete itself unless you're destroying another object created by putnpc2 or so.
|
Quote:
|
Quote:
|
Quote:
Though, "destroy" should really be disabled for weapons. There's no use for it except for malicious scripters. Especially since Stefan doesn't make daily, weekly, or even monthly backups anymore, a LAT could delete every weapon on the server. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
We really need some updates, or atleast some concern for us developers :[
|
All times are GMT +2. The time now is 11:39 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.