@ baRD: You should start reading [GUIDE] How to script, without prime basics of Lua you won't understand anything what users are telling you about the code.
Forum
CS2D Scripts Can someone rate my script?Can someone rate my script?
24 replies@ baRD: You should start reading [GUIDE] How to script, without prime basics of Lua you won't understand anything what users are telling you about the code.
edited 1×, last 07.07.17 07:08:35 pm
Dousea has written
@ Bowlinghead Using elseif doesn't improve performance. It just uses different logical condition.
Can you explain? Lets pretend button is 1. Then it will still check if its 2,3,4,...
When these are elseifs it will break after button=1 has been checked. At least I thought it works this way
@ baRD: Please always post the console log when you tell us something isnt working. Usually the red error code is all we need.
http://www.unrealsoftware.de/forum_posts.php?post=375206&goto=375211#post375211