ternary operator
#1

pawn Code:
(var) ? (SendClientMessage(playerid,-1,"test 1")) : (SendClientMessage(playerid,-1,"test 2"))
I tried to learn about it but it game me error i'm missing
Reply


Messages In This Thread
ternary operator - by SnL - 18.02.2014, 20:21
Re: ternary operator - by Patrick - 18.02.2014, 20:31
Re: ternary operator - by SnL - 18.02.2014, 20:36
Re: ternary operator - by Patrick - 18.02.2014, 20:37
Re: ternary operator - by SnL - 18.02.2014, 20:40
Re: ternary operator - by GWMPT - 18.02.2014, 20:43
Re: ternary operator - by SnL - 18.02.2014, 20:49
Re: ternary operator - by GWMPT - 18.02.2014, 20:53
Re: ternary operator - by SnL - 18.02.2014, 20:56

Forum Jump:


Users browsing this thread: 1 Guest(s)