This is strange
#1

I hope i explain this good.

When i edit my dynamic door to custom interior so you get freeze time
and you use /enter it enter the door but it exit the door automatically

but when i edit the dynamic door to custom exterior and i use /exit by the interior position it is working.

did i do something wrong ?

See /enter command:

PHP код:
CMD:enter(playerid,params[])
{
    for(new 
0sizeof(DoorInfo); i++)
    {
        if(
IsPlayerInRangeOfPoint(playerid,3.0,DoorInfo[i][dEnterX],DoorInfo[i][dEnterY],DoorInfo[i][dEnterZ])) {
            
SetPlayerPos(playeridDoorInfo[i][dExitX],DoorInfo[i][dExitY],DoorInfo[i][dExitZ]);
            
SetPlayerInterior(playeridDoorInfo[i][dExitInt]); SetPlayerVirtualWorld(playeridDoorInfo[i][dExitVW]);
        }
        if(
DoorInfo[i][ddCustomInterior])
        {
            
Player_StreamPrep(playeridDoorInfo[i][dEnterX],DoorInfo[i][dEnterY],DoorInfo[i][dEnterZ], FREEZE_TIME);
        }
    }
    return 
1;

Reply


Messages In This Thread
This is strange - by IndependentGaming - 05.05.2015, 17:59
AW: This is strange - by Mencent - 05.05.2015, 18:17
Re: This is strange - by IndependentGaming - 05.05.2015, 18:31
AW: This is strange - by Mencent - 05.05.2015, 18:32

Forum Jump:


Users browsing this thread: 1 Guest(s)