I dont know how but, garrysmod.com's wiki section on expression values might help
hey guys can u help me with a chip expession. i want it to do this but i dont know how to do it right, outpute A = 1 if input A < 23 , outpute A = -1 if inpute A > 24
its simple but i forgot how to word these type of things, its been so long since i made my own
I dont know how but, garrysmod.com's wiki section on expression values might help
In case you don't see the shoutbox,
That's in E-Gate 2. EGate 1 would beCode:if(A<23) {A=1} elseif(A>24) {A=-1}
orCode:(A<23 ? 1 : (A>24 ? -1 : 0))One line or two, it doesn't matter.Code:A<23 -> A = 1; A>24 -> A = -1;
<Anticept>Will sex for food.
<Beer>peanus, I like that
<nath2008uk>I must play with black peanus
<Jat Goodwin>i like the underage one
<Black Phoenix>He's a good pedo
and you cant have an output with the same name as the input, change output A to B
Last Post: 11-08-2008
When I answered, I assumed he meant it as a regulator type thing... if it gets too high, rest it or something.
Looking back, it doesn't work like that.
<Anticept>Will sex for food.
<Beer>peanus, I like that
<nath2008uk>I must play with black peanus
<Jat Goodwin>i like the underage one
<Black Phoenix>He's a good pedo
Bookmarks