23.05.2020, 15:51
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");
}
}
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");
}
}