Created
July 15, 2014 11:27
-
-
Save ZaSpai/0893719ab18901f9026c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Perform delete of QC Weapon | |
| //argument0: weapon ID | |
| var wepDel; | |
| wepDel = ds_list_find_value(global.qcWeps, wepID); | |
| with (wepDel) { | |
| instance_destroy(); | |
| } | |
| ds_list_delete(global.qcWeps, ds_list_find_index(global.qcWeps, wepDel)); | |
| with(global.QCWep) { | |
| if (argument0 < wepID) { | |
| wepID -= 1; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment