PAWNO (225) Error
#1

Hey. I don't know if this is the correct forum to ask about this in, but here we go..
I have these /enter and /exit commands for my server. But when I compile PAWNO I get a single error and I simply can't find the problem:

Script

Код:
}
  if (!strcmp("/Enter", cmdtext, true) && PlayerToPoint(1.5 ,playerid,-2070.6096,2179.8987,6.0000))
  {
	SetPlayerInterior(playerid, 10);
	SetPlayerPos(playerid,246.40,110.84,1003.22);
	CreatePickup(1239,2,-2070.6096,2179.8987,6.0000);
	return 1;
  }
  if(!strcmp("/Exit", cmdtext, true) && PlayerToPoint(1.5 ,playerid,246.40,110.84,1003.22))
  {
	SetPlayerInterior(playerid, 0);
	SetPlayerPos(playerid,-2070.6096,2179.8987,6.0000);
  }
  return 0;
}
Error
Код:
C:\Users\Bastian\Documents\Samp_server\gamemodes\Test.pwn(335) : warning 225: unreachable code
Line 335
Код:
 if (!strcmp("/Enter", cmdtext, true) && PlayerToPoint(1.5 ,playerid,-2070.6096,2179.8987,6.0000))
Reply


Messages In This Thread
PAWNO (225) Error - by Shinzei_Banzai - 17.06.2009, 15:16
Re: PAWNO (225) Error - by Weirdosport - 17.06.2009, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)