SA-MP Forums Archive
interior POS problem - 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)
+--- Thread: interior POS problem (/showthread.php?tid=658623)



interior POS problem - PoniStar - 08.09.2018

hi , check this :

PHP код:
if(pickupid == EnterAmmonation)
{
    
SetPlayerPos(playerid,  286.80994,-82.547599,1001.515625);
     
SetPlayerInterior(playerid1);
      
SetCameraBehindPlayer(playerid);
    
SetPlayerVirtualWorld(playerid0);

when i enter che pickup its wont show the world just can see a blue sky whats wrong with this ?


Re: interior POS problem - v1k1nG - 08.09.2018

Interior id is wrong


Re: interior POS problem - PoniStar - 08.09.2018

whats the problem ? you mean that pos id right ? i take that from http://weedarr.wikidot.com/interior , entered it in mapeditor then take the posation that i wanted , when i enter this pos to map editor its work and show me the gunshop but on server not work , how should i enter that :/


Re: interior POS problem - PoniStar - 08.09.2018

i got it ! thnx fixed


Re: interior POS problem - v1k1nG - 08.09.2018

Anytime


Re: interior POS problem - Undef1ned - 09.09.2018

I do not know what you mean exactly, try to explain better. From what I understood, it's that you have a problem with the interior.

Try this:

PHP код:
if(pickupid == EnterAmmonation
{
    
SetPlayerInterior(playerid1); 
    
SetPlayerVirtualWorld(playerid0);
    
SetPlayerPos(playerid,  286.80994,-82.547599,1001.515625); 
    
SetCameraBehindPlayer(playerid); 
    return 
1;

Note: ((( SetPlayerInterior(playerid, 1) ))) Make sure the "interiorid" is the desired interior. For example: if the player's position is not inside such as "24/7, Ammu-nation, etc.", then the inside must be "0".


Re: interior POS problem - UFF - 09.09.2018

Quote:
Originally Posted by Undef1ned
Посмотреть сообщение
I do not know what you mean exactly, try to explain better. From what I understood, it's that you have a problem with the interior.

Try this:

PHP код:
if(pickupid == EnterAmmonation
{
    
SetPlayerInterior(playerid1); 
    
SetPlayerVirtualWorld(playerid0);
    
SetPlayerPos(playerid,  286.80994,-82.547599,1001.515625); 
    
SetCameraBehindPlayer(playerid); 
    return 
1;

Note: ((( SetPlayerInterior(playerid, 1) ))) Make sure the "interiorid" is the desired interior. For example: if the player's position is not inside such as "24/7, Ammu-nation, etc.", then the inside must be "0".
Please read the replies before replying. He said he fixed it.

And the fix is the teleport coordinate.