General Scripting Question
#6

Quote:
Originally Posted by MJφ
you mean at this ?
pawn Код:
? (" for: ") : (""),
Yes that is what I meant.

Quote:
Originally Posted by 0rb
It's called a conditional expression, and you can learn about it by reading the pawn manual.

a ? b : c is like "if a is true then do b, else do c"
Thanks a lot. Just needed to know what it was called so I could actually search for it lol.
Reply


Messages In This Thread
General Scripting Question - by ledzep - 04.07.2009, 12:46
Re: General Scripting Question - by UsaBoy91 - 04.07.2009, 12:52
Re: General Scripting Question - by ledzep - 04.07.2009, 12:56
Re: General Scripting Question - by yom - 04.07.2009, 13:00
Re: General Scripting Question - by UsaBoy91 - 04.07.2009, 13:01
Re: General Scripting Question - by ledzep - 04.07.2009, 13:03
Re: General Scripting Question - by yom - 04.07.2009, 13:07
Re: General Scripting Question - by ledzep - 04.07.2009, 13:21

Forum Jump:


Users browsing this thread: 2 Guest(s)