Problem with objects
#1

Hello, I have done a entrance with "Enter" button. And when I exit from that bulding I got this:

How to fix it ?

Sorry for my bad English
Reply
#2

Please guys I need help :/
Reply
#3

Show us the code(s).
Reply
#4

Yes,
Code please?
Reply
#5

PHP код:
public OnPlayerKeyStateChange(playeridnewkeysoldkeys)
{
if( 
newkeys == KEY_SECONDARY_ATTACK )
    {
    if( 
IsPlayerInRangeOfPointplayerid3.0, -2072.7656,244.6396,37.2011) )
    {
    
SetPlayerPosplayerid381.169189,-188.803024,1000.632812);
    
SetPlayerInteriorplayerid17 );
    return 
1;
    }
    }
    if( 
newkeys == KEY_SECONDARY_ATTACK )
    {
    if( 
IsPlayerInRangeOfPointplayerid3.0377.1459,-193.3055,1000.6328) )
    {
    
SetPlayerPosplayerid,  -2072.7656,244.6396,37.2011 );
    
SetPlayerInteriorplayerid17 );
    return 
1;
    }
    }
    return 
1;

And this,but this is just 3D text I dont think there is a problem:
PHP код:
        public OnGameModeInit()
       {
    
Create3DTextLabel("Press 'Enter' "WHITE 377.1459,-193.3055,1000.63285001); 
Reply
#6

Hmm, but if you have Interior Problem then there is mistake.
pawn Код:
SetPlayerInterior( playerid, 17 );
You may change it do this:
SetPlayerInterior( playerid, 0 );
Reply
#7

Quote:
Originally Posted by theomanking
Посмотреть сообщение
Hmm, but if you have Interior Problem then there is mistake.
pawn Код:
SetPlayerInterior( playerid, 17 );
You may change it do this:
SetPlayerInterior( playerid, 0 );
Thanks man +Rep for you
Reply
#8

Good luck
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)