how to define world ID interior ID
#3

Replace it with this:
pawn Code:
public OnFilterScriptExit() {
    for(new i; i < MAX_PLAYERS; i++) {
        if(GetPlayerVirtualWorld(i) != 1 || GetPlayerInterior(i) != 1) {
            TogglePlayerControllable(i, false);
        }
    }
}

public OnFilterScriptInit() {

    for(new i; i < MAX_PLAYERS; i++) {
        if(GetPlayerVirtualWorld(i) != 1 || GetPlayerInterior(i) != 1) {
            TogglePlayerControllable(i, false);
        }
    }
CreateDynamicObject(7419, 2043.99, -2762.43, -41.56,   0.00, -90.00, 90.00,1,1);
CreateDynamicObject(7419, 2093.67, -2812.14, -41.56,   0.00, -90.00, 0.00,1,1);
CreateDynamicObject(9339, 2070.19, -2799.07, 0.07,   0.00, 0.00, 0.00,1,1);
CreateDynamicObject(9339, 2060.89, -2785.87, 0.07,   0.00, 0.00, 90.00,1,1);
Reply


Messages In This Thread
how to define world ID interior ID - by kevin_1991 - 15.10.2014, 09:22
Re: how to define world ID interior ID - by Vince - 15.10.2014, 09:27
Re: how to define world ID interior ID - by Phyzic - 15.10.2014, 09:29
Re: how to define world ID interior ID - by kevin_1991 - 15.10.2014, 09:41
Re: how to define world ID interior ID - by kevin_1991 - 15.10.2014, 09:58
Re: how to define world ID interior ID - by Phyzic - 15.10.2014, 10:09
Re: how to define world ID interior ID - by kevin_1991 - 15.10.2014, 10:10
Re: how to define world ID interior ID - by kevin_1991 - 15.10.2014, 11:06
Re: how to define world ID interior ID - by kevin_1991 - 15.10.2014, 12:05

Forum Jump:


Users browsing this thread: 2 Guest(s)