Interior change problem
#1

I was making a city hall so i made a CP outside a building in SF and it teleports them to city hall. after when the 1 second timer finishes they get tped back outside SF City Hall. How i fix this?
I want to use the yellow marker to exit and that works good
Example

*Tanush goes inside the Checkpoint outside SF building
*Tanush teleports there and been frozen 1 second and unfreezed
*Tanush takes one step and it auto teleports him outside the SF building

Onplayerinteriorchange
pawn Код:
if(insfhall[playerid] == 1)
    {
        insfhall[playerid] = 0;
        SetTimerEx("SFhall",2000,0,"i",playerid);
    }
OnplayerenterdynamicCP
pawn Код:
else if(checkpointid == cityhallout)
    {
        SetTimerEx("Obj",1000,0,"i",playerid);
        TogglePlayerControllable(playerid,0);
        SetPlayerInterior(playerid,3);
        SetPlayerVirtualWorld(playerid,1);
        SetPlayerFacingAngle(playerid,98.0517);
        SetCameraBehindPlayer(playerid);
        SetPlayerPos(playerid,387.0217,173.8155,1008.382);
    }
The settimerex("obj..
pawn Код:
SendClientMessage(playerid,lightyellow,"You been frozen for 1 seconds because the objects were loading, you are free to move now");
    TogglePlayerControllable(playerid,1);
Reply


Messages In This Thread
Interior change problem - by Tanush123 - 01.01.2012, 23:15
Re: Interior change problem - by Tanush123 - 02.01.2012, 06:04
Re: Interior change problem - by parames3010 - 02.01.2012, 06:10
Re: Interior change problem - by Max_Coldheart - 02.01.2012, 07:25
Re: Interior change problem - by Tanush123 - 02.01.2012, 08:39
Re: Interior change problem - by Dark_Kostas - 02.01.2012, 08:47

Forum Jump:


Users browsing this thread: 2 Guest(s)