SA-MP Forums Archive
how to have /enter /exit - 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: how to have /enter /exit (/showthread.php?tid=155916)



how to have /enter /exit - Zero[S] - 20.06.2010

how to have /enter /exit commands?im have gf mod


Re: how to have /enter /exit - TouR - 20.06.2010

Double post delete it


Re: how to have /enter /exit - TouR - 20.06.2010

Create one your own its very easy to make


This is an example:

Код:
	if(strcmp(cmd, "/enter", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
		{
         if (PlayerToPoint(3.0, playerid,1772.5704,-1548.4906,9.9133))//the place /enter
			{
			  if (IsACop(playerid))
				{
			  SetPlayerPos(playerid, 1780.605590,-1561.460815,-72.899269);//the place player teleport
			  SetPlayerInterior(playerid, 1)//the interior
			  }
		    }
	    }
     }
	return 1;
	 }



Re: how to have /enter /exit - playbox12 - 20.06.2010

Ehh, why
Код:
if (IsACop(playerid))
??


Re: how to have /enter /exit - DJDhan - 20.06.2010

Quote:
Originally Posted by playbox12
Ehh, why
Код:
if (IsACop(playerid))
??
Quote:
Originally Posted by tour15
This is an example:



Re: how to have /enter /exit - TouR - 20.06.2010

This was a /enter command form my server... I gave an example


Re: how to have /enter /exit - WackoX - 20.06.2010

Quote:
Originally Posted by Zero[S
]
how to have /enter /exit commands?im have gf mod
That's already build in to the GF mod.