Quote:
|
Originally Posted by KuJi
Uhm, isn't case a lot better then doing if (params[1] == "blah") { } ?
|
The person did not specify if they were using the old or new engine, so you must assume that they are using the old. There is no such thing as a case statement in the old engine. Also, using a switch-case statement when there will be only one check is unnecessary.
Quote:
|
Originally Posted by KuJi
And why not use substring?
Here, I did some edits, you don't need to use "" anymore as their is no need for tokens.
|
Did you not even look at the example I provided? X_x
>> triggeraction 0,0,serverside,WEAPONNAME,kick,
#T(#e(5,-1,#c));