05.05.2015, 17:59
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:
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 i = 0; i < sizeof(DoorInfo); i++)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,DoorInfo[i][dEnterX],DoorInfo[i][dEnterY],DoorInfo[i][dEnterZ])) {
SetPlayerPos(playerid, DoorInfo[i][dExitX],DoorInfo[i][dExitY],DoorInfo[i][dExitZ]);
SetPlayerInterior(playerid, DoorInfo[i][dExitInt]); SetPlayerVirtualWorld(playerid, DoorInfo[i][dExitVW]);
}
if(DoorInfo[i][ddCustomInterior])
{
Player_StreamPrep(playerid, DoorInfo[i][dEnterX],DoorInfo[i][dEnterY],DoorInfo[i][dEnterZ], FREEZE_TIME);
}
}
return 1;
}