03.04.2013, 17:17
So! i have 3 Cluckin Bells on server, but i entered in CluckinBell 2 but when i exit the server put me at outside CluckinBell 1
I have different VirtualWorld
I have different VirtualWorld
Код:
//--------------------------------BurgerShot = Pizza Stack - Cluckin Bell Entreces And Exit ---------------------------
if(strcmp(cmdtext, "/enter", true) == 0) // Cluckin Bell One
{
if PlayerToPoint(5,playerid,2397.7017,-1898.9919,13.5469)
*then
{
SetPlayerPos(playerid,364.8683,-10.9095,1001.8516);
SetPlayerInterior(playerid,9);
SetPlayerVirtualWorld(playerid,1);
return 1;
}
}
if(strcmp(cmdtext, "/exit", true) == 0) // Cluckin Bell One
{
if PlayerToPoint(5,playerid,364.8683,-10.9095,1001.8516)
*then
{
SetPlayerPos(playerid,2397.7017,-1898.9919,13.5469);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
return 1;
}
}
if(strcmp(cmdtext, "/enter", true) == 0) // Cluckin Bell Two
{
if PlayerToPoint(5,playerid,2420.2556,-1508.9137,24.0000)
*then
{
SetPlayerPos(playerid,364.8683,-10.9095,1001.8516);
SetPlayerInterior(playerid,9);
SetPlayerVirtualWorld(playerid,2);
return 1;
}
}
if(strcmp(cmdtext, "/exit", true) == 0) // Cluckin Bell Two
{
if PlayerToPoint(5,playerid,364.8683,-10.9095,1001.8516)
*then
{
SetPlayerPos(playerid,2420.2556,-1508.9137,24.0000);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
return 1;
}
}
if(strcmp(cmdtext, "/enter", true) == 0) // Cluckin Bell Three
{
if PlayerToPoint(5,playerid,928.3036,-1352.8851,13.3438)
*then
{
SetPlayerPos(playerid,364.8683,-10.9095,1001.8516);
SetPlayerInterior(playerid,9);
SetPlayerVirtualWorld(playerid,3);
return 1;
}
}
if(strcmp(cmdtext, "/exit", true) == 0) // Cluckin Bell Three
{
if PlayerToPoint(5,playerid,364.8683,-10.9095,1001.8516)
*then
{
SetPlayerPos(playerid,928.3036,-1352.8851,13.3438);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
return 1;
}
}
// Burger Shot's
if(strcmp(cmdtext, "/enter", true) == 0) // Burger Shot One
{
if PlayerToPoint(5,playerid,1199.2198,-918.8033,43.1185)
*then
{
SetPlayerPos(playerid,363.3082,-74.7660,1001.5078);
SetPlayerInterior(playerid,10);
SetPlayerVirtualWorld(playerid,1);
return 1;
}
}
if(strcmp(cmdtext, "/exit", true) == 0) // Burger Shot One
{
if PlayerToPoint(5,playerid,363.3082,-74.7660,1001.5078)
*then
{
SetPlayerPos(playerid,1199.2198,-918.8033,43.1185);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
return 1;
}
}
if(strcmp(cmdtext, "/enter", true) == 0) // Burger Shot Two
{
if PlayerToPoint(5,playerid,811.0460,-1616.4122,13.5469)
*then
{
SetPlayerPos(playerid,363.3082,-74.7660,1001.5078);
SetPlayerInterior(playerid,10);
SetPlayerVirtualWorld(playerid,2);
return 1;
}
}
if(strcmp(cmdtext, "/exit", true) == 0) // Burger Shot Two
{
if PlayerToPoint(5,playerid,363.3082,-74.7660,1001.5078)
*then
{
SetPlayerPos(playerid,811.0460,-1616.4122,13.5469);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
return 1;
}
}
// Pizza Stack
if(strcmp(cmdtext, "/enter", true) == 0)
{
if PlayerToPoint(5,playerid,2104.9053,-1806.4663,13.5547)
*then
{
SetPlayerPos(playerid,372.2996,-132.6658,1001.4922);
SetPlayerInterior(playerid,5);
SetPlayerVirtualWorld(playerid,1);
return 1;
}
}
if(strcmp(cmdtext, "/exit", true) == 0)
{
if PlayerToPoint(5,playerid,372.2996,-132.6658,1001.4922)
*then
{
SetPlayerPos(playerid,2104.9053,-1806.4663,13.5547);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);
return 1;
}
}

