View Single Post
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 01-12-2014 , 10:07   Re: Sprint - Run Faster [Double-Tap System]
Reply With Quote #35

Quote:
Originally Posted by Krtola View Post
How to set up a sprint can only be used CT or only TS?
See line #72 in Source code of plugin.

Original (sprint for CT & T):
PHP Code:
    UserCanSprint[id] = (szTeam[0] == 'S' || szTeam[0] == 'U') ? false true
Sprint for CT:
PHP Code:
    UserCanSprint[id] = (szTeam[0] == 'S' || szTeam[0] == 'U' || szTeam[0] == 'T') ? false true
Sprint for T:
PHP Code:
    UserCanSprint[id] = (szTeam[0] == 'S' || szTeam[0] == 'U' || szTeam[0] == 'C') ? false true
Untested!

Last edited by Phant; 01-12-2014 at 10:08.
Phant is offline
Send a message via ICQ to Phant