Garry's Mod

Garry's Mod

Wiremod
󠀡󠀡 8 Mar, 2018 @ 8:21am
Need help! SP problem
My e2 uses functions varying from angles and vectors to angle entity and vector entity and numbers and I have been having this issue where function vector entity:applyf(VecToMove:vector,VelO2:number){
This:applyForce(VecToMove)
This:applyForce(-This:vel()*E:mass()*VelO2)
}
works fine on some servers while on others or my sp session it give me this error message

sv: Expression 2 (Big Plane): Function entity:applyf(vector VecToMove,number VelO2) executed and didn't return a value - expecting a value of type vector


i honestly dont know what to do, i just got back into gmod again after taking a long break and I dont want to lose ambition again.

PS the code is still working, its green on the indicator bar