SA-MP Forums Archive
Linux Bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Linux Bug (/showthread.php?tid=139389)



Linux Bug - Laur13 - 04.04.2010

i have a gamemode , on windows no have bugs but on linux have bugs ,

On linux don't work /exit and on windows WORK


Re: Linux Bug - Zamaroht - 04.04.2010

I guess that showing the /exit code would make things clearer.


Re: Linux Bug - Laur13 - 05.04.2010

This is all /exit codes from me gm

Код:
if(strcmp(cmdtext, "/exit", true) == 0)
  {
  if(PlayerInfo[playerid][pMember] >= 0 || PlayerInfo[playerid][pLeader] >= 0)
	  {
		 if PlayerToPoint(5,playerid,-2025.0823,1143.2609,18.0688)
		 *then
		 {
		  SetPlayerPos(playerid,-1989.6385,1117.8773,54.4688);
		  SetPlayerInterior(playerid,0);
		  return 1;
Код:
	}
	}
	if(strcmp(cmdtext, "/exit", true) == 0)
  {
  if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
	  {
		 if PlayerToPoint(5,playerid,942.171997,-16.542755,1000.929687)
		 *then
		 {
		  SetPlayerPos(playerid,1122.8378,-2037.0856,69.8941);
		  SetPlayerInterior(playerid,0);
		  return 1;
		 }
		}
	}
Код:
	if(strcmp(cmdtext, "/exit", true) == 0)
  {
  if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
	  {
		 if PlayerToPoint(5,playerid,964.106994,-53.205497,1001.124572)
		 *then
		 {
		  SetPlayerPos(playerid,-2192.2026,647.4083,49.4375);
		  SetPlayerInterior(playerid,0);
		  return 1;
		 }
Код:
	if(strcmp(cmdtext, "/exit", true) == 0)
  {
  if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
	  {
		 if PlayerToPoint(5,playerid,-2159.122802,641.517517,1052.381713)
		 *then
		 {
		  SetPlayerPos(playerid,2148.9248,-1484.8468,26.6241);
		  SetPlayerInterior(playerid,0);
		  return 1;
		 }
		}
Код:
	if(strcmp(cmdtext, "/exit", true) == 0)
  {
  if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
	  {
		 if PlayerToPoint(5,playerid,501.980987,-69.150199,998.757812)
		 *then
		 {
		  SetPlayerPos(playerid,2186.2246,-997.2719,66.4688);
		  SetPlayerInterior(playerid,0);
		  return 1;
		 }
		}
	}
	if(strcmp(cmdtext, "/exit", true) == 0)
  {
  if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
	  {
		 if PlayerToPoint(5,playerid,2364.7917,-1132.9072,1050.8750)
		 *then
		 {
		  SetPlayerPos(playerid,1685.1160,-2101.2769,13.8343);
		  SetPlayerInterior(playerid,0);
		  return 1;
		 }
		}
	}