how to use IF
#3

new a = 1;
new b = 0;

OnMyFunction()
{
if(a == b)
{
SendClientMessage(playerid, -1, "A and B is Same");
}
else if(a != b) //or you can use else
{
SendClientMessage(playerid, -1, "A and B is Different");
}
}
Reply


Messages In This Thread
how to use IF - by Calinut200 - 23.05.2020, 12:49
Re: how to use IF - by SharpenBlade - 23.05.2020, 12:56
Re: how to use IF - by GeorgeLimit - 23.05.2020, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)