[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Red Eclipse • View topic - [SCRIPT] Automatic Third Person Switching

[SCRIPT] Automatic Third Person Switching

User created maps and modifications, showcase your latest map, model, etc
Forum rules
The forum is now in read only mode, please see: https://redeclipse.net/discuss

[SCRIPT] Automatic Third Person Switching

Postby ecube » 13 Sep 2014 20:04

Last edited by ecube on 17 Sep 2014 23:29, edited 5 times in total.
ecube
 
Posts: 16
Joined: 14 Mar 2014 23:32

Re: [SCRIPT] Automatic Third Person Switching

Postby Duck » 13 Sep 2014 22:38

Thanks, helped very much :)
Leader of *ACE*
User avatar
Duck
 
Posts: 121
Joined: 04 Jul 2014 21:37

Re: [SCRIPT] Automatic Third Person Switching

Postby qreeves » 14 Sep 2014 01:50

Quinton Reeves | Lead Developer, Red Eclipse
|
Contribute to Project Costs via or
User avatar
qreeves
Site Admin
 
Posts: 1619
Joined: 02 Feb 2014 05:04
Location: Australia

Re: [SCRIPT] Automatic Third Person Switching

Postby ecube » 18 Sep 2014 22:14

Thanks for pointing that out! Original post edited.
Also: Offtopic: http://pastebin.com/Fq2YZxQW
(showhud 0 when using rifle and while mouse2 is pressed)
ecube
 
Posts: 16
Joined: 14 Mar 2014 23:32

Re: [SCRIPT] Automatic Third Person Switching

Postby Calinou » 20 Sep 2014 10:30

Using a timed check is a much better idea. You can check 20 times a second (50 ms sleep), it's pretty cheap.
User avatar
Calinou
 
Posts: 174
Joined: 02 Feb 2014 19:25
Location: Troyes, France

Re: [SCRIPT] Automatic Third Person Switching

Postby ecube » 20 Sep 2014 23:32

The timed check is in the "alternative" way to do it. Although I haven't tested it yet...
ecube
 
Posts: 16
Joined: 14 Mar 2014 23:32

Re: [SCRIPT] Automatic Third Person Switching

Postby Piggybear » 21 Sep 2014 21:46

01010000 01101001 01100111 01100111 01111001 01100010 01100101 01100001 01110010
The Ghosts are ALWAY recruiting!. Newbies welcome to apply.
Or apply
User avatar
Piggybear
 
Posts: 75
Joined: 02 Sep 2014 01:55
Location: Florida, USA

Re: [SCRIPT] Automatic Third Person Switching

Postby Duck » 21 Sep 2014 22:02

Leader of *ACE*
User avatar
Duck
 
Posts: 121
Joined: 04 Jul 2014 21:37

Re: [SCRIPT] Automatic Third Person Switching

Postby Piggybear » 21 Sep 2014 23:50

Thanks, Duck. I tried it, but I get an error (I can't remember what it was, but it repeated until I quit, removed it, and restarted).
01010000 01101001 01100111 01100111 01111001 01100010 01100101 01100001 01110010
The Ghosts are ALWAY recruiting!. Newbies welcome to apply.
Or apply
User avatar
Piggybear
 
Posts: 75
Joined: 02 Sep 2014 01:55
Location: Florida, USA

Re: [SCRIPT] Automatic Third Person Switching

Postby shirepirate » 22 Sep 2014 00:10

User avatar
shirepirate
 
Posts: 704
Joined: 27 Mar 2014 07:20

Re: [SCRIPT] Automatic Third Person Switching

Postby Duck » 22 Sep 2014 03:42

Leader of *ACE*
User avatar
Duck
 
Posts: 121
Joined: 04 Jul 2014 21:37


Return to Maps and Mods

cron