Forum

> > CS2D > Scripts > Can someone rate my script?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Can someone rate my script?

24 replies
Page
To the start Previous 1 2 Next To the start

old Re: Can someone rate my script?

Avo
User Off Offline

Quote
@user Dousea: Such variable can work like consts or preprocessor define in languages like C++. DC can change © to any character in CS2D code anyday but it's not very likely to happen so I agree that makes not much sense to do so.
edited 1×, last 07.07.17 07:08:35 pm

old Re: Can someone rate my script?

Bowlinghead
User Off Offline

Quote
user Dousea has written
@user 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
Spoiler >



@user baRD: Please always post the console log when you tell us something isnt working. Usually the red error code is all we need.

old Re: Can someone rate my script?

Dousea
User Off Offline

Quote
@user Bowlinghead: I said it uses different logical condition so what you said about the break when something's true is true. But what I want to correct is that it just doesn't improve performance. Well it's not a big problem anyway..
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview