help me!
#8

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
That is incorrect.

You can make them on one line, and they can have semicolons at the end of them, meaning it's the end of the if portion.
Semicolons are added to 1 line if statements but after the function

pawn Код:
if (a == b) SendClientMessage(playerid, -1, "A has the same value as B");
But not after the if statement.

pawn Код:
if (a == b); SendClientMessage(playerid, -1, "A has the same value as B");
Which means if statements do not have semicolons but the function after it does have it.
Reply


Messages In This Thread
help me! - by ahameed4755 - 18.09.2015, 21:14
Re: help me! - by Aliassassin123456 - 18.09.2015, 21:22
Re: help me! - by Andre02 - 18.09.2015, 21:25
Re: help me! - by saffierr - 18.09.2015, 22:32
Re: help me! - by Sew_Sumi - 19.09.2015, 00:35
Re: help me! - by saffierr - 19.09.2015, 01:10
Re: help me! - by ahameed4755 - 19.09.2015, 10:59
Re: help me! - by Andre02 - 19.09.2015, 11:16
Re: help me! - by jlalt - 19.09.2015, 11:29
Re: help me! - by Sew_Sumi - 19.09.2015, 21:27

Forum Jump:


Users browsing this thread: 1 Guest(s)