warning 215: expression has no effect
#1

Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
     if(strcmp(cmdtext,"/t")==0 && cmdtext[2]=='\0')
     {
          if(gCommandsDisabled[playerid]==true) <----------- something connected with the warning line
          {
                // Now show him the dialog
                return 1;
          }
     }
	 return 0;
}
Код:
CMD:SAMPLE
{
  gCommandsDisabled[playerid]==true; <------------------THIS IS THE WARNING. Im getting warning on this line
  return SendClientMessage(playerid, 0xFF0000FF, "The hell is that warning??");
}
Reply


Messages In This Thread
warning 215: expression has no effect - by kbalor - 14.07.2012, 16:07
Re: warning 215: expression has no effect - by [MM]RoXoR[FS] - 14.07.2012, 16:10
Re: warning 215: expression has no effect - by ViniBorn - 14.07.2012, 16:13
Re: warning 215: expression has no effect - by kbalor - 14.07.2012, 16:34
Re : warning 215: expression has no effect - by lelemaster - 16.07.2012, 04:20
Re: warning 215: expression has no effect - by [MM]RoXoR[FS] - 16.07.2012, 04:24

Forum Jump:


Users browsing this thread: 1 Guest(s)