[HELP]VirtualWorld answers as quick please! - 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: [HELP]VirtualWorld answers as quick please! (
/showthread.php?tid=81272)
[HELP]VirtualWorld answers as quick please! -
andy333 - 09.06.2009
I do not know why not to go out and enter the building after kick after cars disappear and is according to another world.
Код:
}
else if (PlayerToPointStripped(2.0, playerid,363.171203,-75.028457,1001.507812, cx,cy,cz))
{
if(GetPlayerVirtualWorld(playerid) == 3)
{
GameTextForPlayer(playerid, "~w~Los_Santos",1000,1);
SetPlayerPos(playerid,1199.1012,-921.2660,43.0294);
SetPlayerInterior(playerid,0);
//Burger Shot exit
}
}
else if (PlayerToPointStripped(2.0, playerid,1199.335205,-918.272399,43.121707, cx,cy,cz))
{
SetPlayerVirtualWorld(playerid,5);
GameTextForPlayer(playerid, "~w~Burger ~n~ ~w~Shot",1000,1);
SetPlayerPos(playerid,365.567565,-73.677337,1001.507812);
SetPlayerInterior(playerid,10);
//Burger Shot entrance
}
Re: [HELP]VirtualWorld answers as quick please! -
geduxax - 09.06.2009
Код:
}
else if (PlayerToPointStripped(2.0, playerid,363.171203,-75.028457,1001.507812, cx,cy,cz))
{
if(GetPlayerVirtualWorld(playerid) == 3)
{
GameTextForPlayer(playerid, "~w~Los_Santos",1000,1);
SetPlayerPos(playerid,1199.1012,-921.2660,43.0294);
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid,0);// If was Wirtual world set "GetPlayerVirt...."^^
//Burger Shot exit
}
}
else if (PlayerToPointStripped(2.0, playerid,1199.335205,-918.272399,43.121707, cx,cy,cz))
{
SetPlayerVirtualWorld(playerid,5);
GameTextForPlayer(playerid, "~w~Burger ~n~ ~w~Shot",1000,1);
SetPlayerPos(playerid,365.567565,-73.677337,1001.507812);
SetPlayerInterior(playerid,10);
//Burger Shot entrance
}