More than one store.
#1

Hello, im a beginner in samp, and this is a noob question.
I enter the store from idlewood, then I type /exit and I'll spawn in Temple (in front of the store there).
Code:
CMD:exit(playerid, params[])
{
	if(IsPlayerInRangeOfPoint(playerid, 3.0, 372.3311,-133.5246,1001.4922)) // Pizza Stack Idlewood
	{
	    SetPlayerPos(playerid, 2105.4885,-1806.5988,13.5547);
	    SetPlayerInterior(playerid, 0);
	}
	// -----------[24/7 STORES]--------- //
	
	if(IsPlayerInRangeOfPoint(playerid, 5.0, -25.9655,-188.2579,1003.5469)) // Idlewood Store
	{
	    SetPlayerPos(playerid, 2129.8259,-1761.9623,13.5625);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
    if(IsPlayerInRangeOfPoint(playerid, 5.0, -25.9654,-188.2579,1003.5469)) // Grove Store
	{
	    SetPlayerPos(playerid, 2424.2241,-1742.8025,13.5457);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
 	if(IsPlayerInRangeOfPoint(playerid, 5.0, -25.9652,-188.2579,1003.5469)) // El Corona Store
	{
	    SetPlayerPos(playerid, 1952.0077,-2022.1561,13.5469);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
	if(IsPlayerInRangeOfPoint(playerid, 5.0, -25.9653,-188.2579,1003.5469)) // Unity Station Store
	{
	    SetPlayerPos(playerid, 1833.7758,-1842.4104,13.5781);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
	if(IsPlayerInRangeOfPoint(playerid, 5.0, -25.9651,-188.2579,1003.5469)) // Glen Park Store
	{
	    SetPlayerPos(playerid, 2095.8784,-1211.5803,23.9630);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
	if(IsPlayerInRangeOfPoint(playerid, 5.0, -25.9658,-188.2579,1003.5469)) // Jefferson Store
	{
	    SetPlayerPos(playerid, 2139.4175,-1176.7012,23.9922);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
	if(IsPlayerInRangeOfPoint(playerid, 5.0, -25.9659,-188.2579,1003.5469)) // East Los Santos Store
	{
	    SetPlayerPos(playerid, 2177.3428,-1311.3568,23.9844);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
	if(IsPlayerInRangeOfPoint(playerid, 5.0, -25.9666,-188.2579,1003.5469)) // Street Surenos Store
	{
	    SetPlayerPos(playerid, 2441.3789,-1389.9089,24.0000);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
	if(IsPlayerInRangeOfPoint(playerid, 5.0, -25.9665,-188.2579,1003.5469)) // Gas Station Idlewood
	{
	    SetPlayerPos(playerid, 1928.5809,-1776.2861,13.5469);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
	if(IsPlayerInRangeOfPoint(playerid, 5.0, -25.9663,-188.2579,1003.5469)) // Temple Drive Store
	{
	    SetPlayerPos(playerid, 972.3063,-1114.7401,23.8579);
		SetPlayerInterior(playerid, 0);
		SetPlayerVirtualWorld(playerid, 0);
	}
 	return 1;
}
Reply


Messages In This Thread
More than one store. - by SimpsonFan - 17.03.2014, 16:50
Re: More than one store. - by Calabresi - 17.03.2014, 17:52
AW: More than one store. - by SimpsonFan - 17.03.2014, 18:33

Forum Jump:


Users browsing this thread: 1 Guest(s)