UGX-Mods

Call of Duty: Black Ops 1 => Help Desk => Scripting => Topic started by: Дмитрий78 on December 24, 2023, 07:19:27 am

Title: Woo's elevator the problem with the purchase code,Bad Syntax
Post by: Дмитрий78 on December 24, 2023, 07:19:27 am
I have an elevator from this guide - https://www.ugx-mods.com/forum/general-discussion/21/tutorial-elevator-script-with-prefab/1927/msg18073#msg18073 (https://www.ugx-mods.com/forum/general-discussion/21/tutorial-elevator-script-with-prefab/1927/msg18073#msg18073)
also in this guide,
https://www.ugx-mods.com/forum/scripting/11/woos-elevator-charge-for-rides-help/11042/msg122873#msg122873 (https://www.ugx-mods.com/forum/scripting/11/woos-elevator-charge-for-rides-help/11042/msg122873#msg122873) the author wondered how to buy a elevator, and the answer was that need to remove the // signs in certain lines, and that's it
I did so, removed these signs, but my syntax became bad
help!
(https://i.gyazo.com/da8fd5ff4e7cf5d781c260670c29df7d.jpg)(https://i.gyazo.com/459f61b8cc26f00e0c07911b343dc2e5.jpg)(https://i.gyazo.com/82b9930869ef2fa95d81278de4729abb.jpg)(https://i.gyazo.com/9102d743e2ef2a4cf79102e17ce7608e.jpg)
Title: Re: Woo's elevator the problem with the purchase code,Bad Syntax
Post by: yaybeat on January 04, 2024, 01:58:13 pm
hello , remove the hook below, if( IsDefined(self.zombie_cost) ) and follow the procedure in the _woo_elevator file in Implementation then uncomment // for array_thread(player, ::book_fake_pos); above the code you show.
 
Title: Re: Woo\'s elevator the problem with the purchase code,Bad Syntax
Post by: Дмитрий78 on January 14, 2024, 06:13:38 pm
All the same(https://i.gyazo.com/ed702ce478e9baf4dc8372057bf1ffc8.jpg)(https://i.gyazo.com/6244a57a62de0638a8647e0f63c1ae8a.jpg)
hello , remove the hook below, if( IsDefined(self.zombie_cost) ) and follow the procedure in the _woo_elevator file in Implementation then uncomment // for array_thread(player, ::book_fake_pos); above the code you show.
 
 
hello , remove the hook below, if( IsDefined(self.zombie_cost) ) and follow the procedure in the _woo_elevator file in Implementation then uncomment // for array_thread(player, ::book_fake_pos); above the code you show.
 
 

Double Post Merge: January 14, 2024, 06:17:46 pm
hello , remove the hook below, if( IsDefined(self.zombie_cost) ) and follow the procedure in the _woo_elevator file in Implementation then uncomment // for array_thread(player, ::book_fake_pos); above the code you show.
(https://i.gyazo.com/f92ddad82bbd5d65f99cedb629d55e4a.jpg)