![]() |
|
speed axis - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: speed axis (/Thread-speed-axis.html) |
speed axis - [HARD] Tony. - 03-15-2013 help, I took the code and pasted it but the ability to error! public override void OnPlayerSpawned (ServerClient Client) { if (Client.Team == Teams.Allies) { g_speed_var = 200; } } I wish that were running faster infected survivors have error-g_speed_var not exist in the current context! help pls RE: speed axis - DidUknowiPwn - 03-15-2013 Define the var? RE: speed axis - 8q4s8 - 03-15-2013 (03-15-2013, 16:21)Jone Calerone Wrote: help, I took the code and pasted it but the ability to error! public override void OnPlayerSpawned (ServerClient Client) It isn't possible to do this with the speedplugin, use Client.Other.SpeedScale RE: speed axis - [HARD] Tony. - 03-15-2013 (03-15-2013, 16:24)8q4s8 Wrote:public override void OnPlayerSpawned(ServerClient Client)(03-15-2013, 16:21)Jone Calerone Wrote: help, I took the code and pasted it but the ability to error! public override void OnPlayerSpawned (ServerClient Client) { if (Client.Team == Teams.Allies) { Client.Other.SpeedScale = 400; } } This is also not not worked RE: speed axis - DidUknowiPwn - 03-15-2013 Is it supposed to be +=? Don't recall... 99% sure it's not though. RE: speed axis - [HARD] Tony. - 03-15-2013 (03-15-2013, 17:12)DidUknowiPwn Wrote: Is it supposed to be +=? Don't recall... 99% sure it's not though.you do not know the code? I need a code that would have been infected by the speed advantage RE: speed axis - DidUknowiPwn - 03-15-2013 I never dabbled in S.A. :< RE: speed axis - 8q4s8 - 03-15-2013 It's basically speed*speedScale (if you got speed 100 and speedscale 1.2 it's like you got a speed of 120). The speedscale is changing if you switch weapons, that's why you shouldn't use OnPlayerSpawned(). RE: speed axis - Nekochan - 03-15-2013 lol He was asking me for this code like 2 weeks. @8q4s8 Sometimes it changes without reason. Maybe something was scripted in gscs/hardcoded. |