Forum

> > CS2D > Scripts > Can someone rate my script?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Can someone rate my script?

24 Antworten
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

alt Re: Can someone rate my script?

Avo
User Off Offline

Zitieren
@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.
1× editiert, zuletzt 07.07.17 19:08:35

alt Re: Can someone rate my script?

Bowlinghead
User Off Offline

Zitieren
user Dousea hat geschrieben
@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.

alt Re: Can someone rate my script?

Dousea
User Off Offline

Zitieren
@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..
Zum Anfang Vorherige 1 2 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht