Icons Didn't workS!! Help
#3

Why u don't use
PHP код:
if( IsPlayerInRangeOfPointplayerid3.0posXposYposZ ) ) 
e.t.c.
Also i think if use this will work.

Ex: That's your script:
PHP код:
new Liberty_enter;
new 
Liberty_exit;
 =======================================
if(
pickupid==Liberty_enter)
    {
        
SetPlayerInterior(playerid,1);
        
SetPlayerPos(playerid,-794.806396,497.738037,1376.195312);
        
GameTextForPlayer(playerid,"Welcome in~n~~b~Liberty city inside",3000,6);
    }
    if(
pickupid==Liberty_exit)
    {
        
SetPlayerInterior(playerid,0);
        
SetPlayerPos(playerid,-1985.8883,406.5079,35.3299);
        
SetPlayerFacingAngle(playerid,90);
    }
========================================= 
and 
paste=========
Liberty_enter CreatePickup(1318,1,-1982.7072,406.7149,35.3299);
    
Liberty_exit CreatePickup(1318,1,-795.0205,489.2810,1376.1953); 
That's the ideea that i think will work:
PHP код:
if( IsPlayerInRangeOfPointplayerid3.0, -1982.7072,406.7149,35.3299 )) // liberty enter pickup inside, posX, posY, posZ
    
{
        
SetPlayerInterior(playerid,1);
        
SetPlayerPos(playerid, -794.806396497.7380371376.195312);
        
GameTextForPlayer(playerid,"Welcome in~n~~b~Liberty city inside",3000,6);
    }
    else if( 
IsPlayerInRangeOfPointplayerid3.0, -795.0205489.28101376.1953 )) // liberty exit pickup inside, posX, posY, posZ
    
{
        
SetPlayerInterior(playerid,0);
        
SetPlayerPos(playerid,-1985.8883,406.5079,35.3299);
        
SetPlayerFacingAngle(playerid,90);
    } 
Also create that pickups and don't use them just let them be there.
And when a player is in the range of that pickup, will automatically teleport him inside. I think.
Also reply and if i'll can i'll try to help u.
Reply


Messages In This Thread
Icons Didn't workS!! Help - by vikoo - 17.01.2017, 07:06
Re: Icons Didn't workS!! Help - by vikoo - 17.01.2017, 12:45
Re: Icons Didn't workS!! Help - by FaLLenGirL - 17.01.2017, 12:56
Re: Icons Didn't workS!! Help - by vikoo - 17.01.2017, 13:46
Re: Icons Didn't workS!! Help - by vikoo - 17.01.2017, 16:11
Re: Icons Didn't workS!! Help - by FaLLenGirL - 17.01.2017, 17:09
Re: Icons Didn't workS!! Help - by Yaa - 17.01.2017, 17:10
Re: Icons Didn't workS!! Help - by FaLLenGirL - 17.01.2017, 17:57

Forum Jump:


Users browsing this thread: 1 Guest(s)