CabConModding
Facebook
Twitter
youtube
Discord
Contact us
RSS
Menu
CabConModding
Home
New
Top
Premium
Rules
FAQ - Frequently Asked Questions
Games
Fornite
Call of Duty: Black Ops 3
Clash of Clans
Grand Theft Auto 5
Apex Legends
Assassin’s Creed Origins
Forums
Premium
Latest posts
What's new
Latest posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Log in
Register
What's new
Premium
Latest posts
Menu
Log in
Register
Navigation
Install the app
Install
More options
Dark Theme
Contact us
Close Menu
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Black Ops 3 GSC Managed Code List
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CabCon" data-source="post: 14293" data-attributes="member: 1"><p>I also have problems with this code, I started to code a completely new BO3 Teleport function:</p><p>[CODE]</p><p>//includes:</p><p>#using scripts\mp\killstreaks\_airsupport;</p><p>#precache( "locationselector", "compass_objpoint_helicopter" );</p><p></p><p>//Function</p><p>function func_teleportWithSelector(player)</p><p>{</p><p> self beginLocationComlinkSelection( "compass_objpoint_helicopter", 1500 );</p><p> self.selectingLocation = true;</p><p></p><p> self thread airsupport::endSelectionThink();</p><p></p><p> location = self func_waittill_confirm_location();</p><p></p><p> if ( !isdefined( location ) )</p><p> {</p><p> return false;</p><p> }</p><p></p><p> player SetOrigin( location );</p><p> self endLocationSelection();</p><p> self.selectingLocation = undefined;</p><p> </p><p> self iprintln("You teleported ^2"+player.name);</p><p>}</p><p>function func_waittill_confirm_location()</p><p>{</p><p> self endon( "emp_jammed" );</p><p> self endon( "emp_grenaded" );</p><p></p><p> self waittill( "confirm_location", location );</p><p> </p><p> return location;</p><p>}[/CODE]</p><p>I also do not get the function fully working. The selector map don't display to me.... <img src="/styles/default/xenforo/smilies.emoji/people/confused.emoji.svg" class="smilie" loading="lazy" alt=":confused:" title="Confused :confused:" data-shortname=":confused:" /></p></blockquote><p></p>
[QUOTE="CabCon, post: 14293, member: 1"] I also have problems with this code, I started to code a completely new BO3 Teleport function: [CODE] //includes: #using scripts\mp\killstreaks\_airsupport; #precache( "locationselector", "compass_objpoint_helicopter" ); //Function function func_teleportWithSelector(player) { self beginLocationComlinkSelection( "compass_objpoint_helicopter", 1500 ); self.selectingLocation = true; self thread airsupport::endSelectionThink(); location = self func_waittill_confirm_location(); if ( !isdefined( location ) ) { return false; } player SetOrigin( location ); self endLocationSelection(); self.selectingLocation = undefined; self iprintln("You teleported ^2"+player.name); } function func_waittill_confirm_location() { self endon( "emp_jammed" ); self endon( "emp_grenaded" ); self waittill( "confirm_location", location ); return location; }[/CODE] I also do not get the function fully working. The selector map don't display to me.... :-/ [/QUOTE]
Verification
Post reply
Forums
Gaming
Call of Duty Classics
Call of Duty: Black Ops 3
Call of Duty: Black Ops 3 Mods and Scripts
Call of Duty: Black Ops 3 Scripts
Black Ops 3 GSC Managed Code List
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top