Define making the compiler never stop
#1

Hi!

Well I have these defines:
pawn Код:
#define IsGangSkin(%0) ((%0 >= 102 && %0 <= 110) || (%0 >= 114 && %0 <= 116) || (%0 >= 173 && %0 <= 175) || (%0 >= 269 && %0 <= 270))
#define IsMafiaSkin(%0) (%0 == 112 || %0 == 124 || %0 == 126 || %0 == 127)
#define IsPublicServicesSkin(%0) ((%0 >= 274 && %0 <= 288) || (%0 >= 265 && %0 <= 267))
#define IsReservedSkin(%0) (IsGangSkin(%0) || IsGangSkin(%0) || IsMafiaSkin(%0) || IsPublicServicesSkin(%0))
And when I use it here:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
  if(IsReservedSkin(classid)) GameTextForPlayer(playerid, "~r~Skin reserve", 1000, 6)
  return 1;
}
It fails. Actually I click the "Compile" icon then the compiler starts but ir will NEVER stop. I have to stop the pawncc.exe processus. Any idea why?
Reply


Messages In This Thread
Define making the compiler never stop - by Coicatak - 12.03.2010, 16:17
Re: Define making the compiler never stop - by aircombat - 12.03.2010, 16:20
Re: Define making the compiler never stop - by Coicatak - 12.03.2010, 16:22
Re: Define making the compiler never stop - by Extremo - 12.03.2010, 16:27
Re: Define making the compiler never stop - by Coicatak - 12.03.2010, 16:43
Re: Define making the compiler never stop - by Extremo - 12.03.2010, 16:45
Re: Define making the compiler never stop - by Coicatak - 12.03.2010, 17:15
Re: Define making the compiler never stop - by Extremo - 12.03.2010, 17:16

Forum Jump:


Users browsing this thread: 1 Guest(s)