15.10.2014, 09:29
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);