06.12.2011, 05:56
Could someone explain me what means these: '' != '' '' == '' and others?
I'd like to get a link that explains all of them.
I'd like to get a link that explains all of them.
if(PlayerInfo[playerid][pMember] != 1) return SendClientMessage(playerid,COLOR_GRAY,"Error: You're not in group 1.");
If(PlayerInfo[playerid][pMember] == 1) return SendClientMessage(playerid,COLOR_GRAY,"Successfull: You're in group 1.");
Test = 1
if(Test != 1)//means if it equals anything other than the value 1, which will return false of course, because Test is already set to 1
{
//your code goes here
}
else if(Test == 1)//If the value of Test equals one, and it will return true, coz the Test value is already one, and this code will be executed
{
//your code goes here
}