/exit Not work - 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: /exit Not work (
/showthread.php?tid=265255)
/exit Not work -
Venice - 30.06.2011
Im make 24/7 shop make likethis but why not work ?
pawn Код:
else if(IsPlayerInRangeOfPoint(playerid,3.0,2496.65,-1696.55,1014.74)) //
{
if(GetPlayerVirtualWorld(playerid) == 10)
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerPos(playerid, 2495.2090,-1687.3044,13.5151);
SetPlayerFacingAngle(playerid, 181.8075);
SetCameraBehindPlayer(playerid);
}
else
{
}
}
else if(IsPlayerInRangeOfPoint(playerid,50.0,1118.8878,-10.2737,1002.0859)) //
{
if(GetPlayerVirtualWorld(playerid) == 1337)
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerPos(playerid, 1797.4514,-1578.9645,14.0856);
SetPlayerFacingAngle(playerid, 181.8075);
SetCameraBehindPlayer(playerid);
}
else
{
}
}
Re: /exit Not work -
Wesley221 - 30.06.2011
Are you in virtualworld 1337/10, are u in range of the coords?
Re: /exit Not work -
CmZxC - 30.06.2011
Can you show us the "/enter" command about these 2, and check if you did
SetPlayerVirtualWorld(playerid,10); and 1337 for those two.
Re: /exit Not work -
Venice - 30.06.2011
only ? 1-10 ?
Re: /exit Not work -
Elorreli - 30.06.2011
Another fun thing, why do you got an else doing nothing? In both cases actually.
Respuesta: /exit Not work -
kirk - 30.06.2011
Remove the include folder of your samp folder, not the include folder insde pawno, the other one above npcmodes.
Re: /exit Not work -
Jack_Leslie - 30.06.2011
PHP код:
else if(IsPlayerInRangeOfPoint(playerid,3.0,2496.65,-1696.55,1014.74) && GetPlayerVirtualWorld(playerid) == 10) //
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerPos(playerid, 2495.2090,-1687.3044,13.5151);
SetPlayerFacingAngle(playerid, 181.8075);
SetCameraBehindPlayer(playerid);
}
else if(IsPlayerInRangeOfPoint(playerid,50.0,1118.8878,-10.2737,1002.0859) && GetPlayerVirtualWorld(playerid) == 1337) //
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerPos(playerid, 1797.4514,-1578.9645,14.0856);
SetPlayerFacingAngle(playerid, 181.8075);
SetCameraBehindPlayer(playerid);
}
Maybe?