interior POS problem
#1

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 ?
Reply
#2

Interior id is wrong
Reply
#3

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 :/
Reply
#4

i got it ! thnx fixed
Reply
#5

Anytime
Reply
#6

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".
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)