Disable Tune Garages
#1

Hey,

I have read somewhere that when you want to disable tune garages you need to remove the garage door and add a object infront.

I did that but as soon as I come close to one of the doors it gives opcodes.

pawn Code:
//Transfender doors
    RemoveBuildingForPlayer(playerid, 5340, 2644.8594, -2039.2344, 14.0391, 0.25);
    RemoveBuildingForPlayer(playerid, 5422, 2071.4766, -1831.4219, 14.5625, 0.25);
    RemoveBuildingForPlayer(playerid, 5856, 1024.9844, -1029.3516, 33.1953, 0.25);
    RemoveBuildingForPlayer(playerid, 5779, 1041.3516, -1025.9297, 32.6719, 0.25);
    RemoveBuildingForPlayer(playerid, 10575, -2716.3516, 217.4766, 5.3828, 0.25);
    RemoveBuildingForPlayer(playerid, 9093, 2386.6563, 1043.6016, 11.5938, 0.25);
    RemoveBuildingForPlayer(playerid, 6400, 488.2813, -1734.6953, 12.3906, 0.25);
    RemoveBuildingForPlayer(playerid, 11313, -1935.8594, 239.5313, 35.3516, 0.25);
    RemoveBuildingForPlayer(playerid, 11319, -1904.5313, 277.8984, 42.9531, 0.25);
    RemoveBuildingForPlayer(playerid, 9625, -2425.7266, 1027.9922, 52.2813, 0.25);
    RemoveBuildingForPlayer(playerid, 7891, 1968.7422, 2162.4922, 12.0938, 0.25);
    RemoveBuildingForPlayer(playerid, 3294, -1420.5469, 2591.1563, 57.7422, 0.25);
    RemoveBuildingForPlayer(playerid, 3294, -100.0000, 1111.4141, 21.6406, 0.25);

//transfender doors
    CreateDynamicObject(5856, 1024.98438, -1029.35156, 33.19530,   0.00000, 0.00000, 90.00000);
    CreateDynamicObject(5779, 1041.35156, -1026.03467, 32.67190,   0.00000, 0.00000, 90.00000);
    CreateDynamicObject(5422, 2071.47656, -1831.42188, 14.56250,   0.00000, 0.00000, 0.00000);
    CreateDynamicObject(5340, 2644.85938, -2039.23438, 14.03910,   0.00000, 0.00000, -90.00000);
    CreateDynamicObject(9093, 2386.65625, 1043.60156, 11.59380,   0.00000, 0.00000, 90.00000);
    CreateDynamicObject(10575, -2716.35156, 217.47659, 5.38280,   0.00000, 0.00000, 180.00000);
    CreateDynamicObject(3294, -1420.54688, 2591.15625, 57.74220,   0.00000, 0.00000, 90.00000);
    CreateDynamicObject(3294, -100.00000, 1111.41406, 21.64060,   0.00000, 0.00000, 90.00000);
    CreateDynamicObject(9625, -2425.72656, 1027.99219, 52.28130,   0.00000, 0.00000, 90.00000);
    CreateDynamicObject(11313, -1935.85938, 239.53130, 35.35160,   0.00000, 0.00000, 90.00000);
    CreateDynamicObject(11319, -1904.53125, 277.89841, 42.95310,   0.00000, 0.00000, 90.00000);
    CreateDynamicObject(6400, 488.28131, -1734.69531, 12.39060,   0.00000, 0.00000, 78.19448);
    CreateDynamicObject(7891, 1968.74219, 2162.49219, 12.09380,   0.00000, 0.00000, 0.00000);
How to fix this?
Reply


Messages In This Thread
Disable Tune Garages - by Stefand - 29.05.2013, 14:51
Re: Disable Tune Garages - by Konstantinos - 29.05.2013, 14:57
Re: Disable Tune Garages - by Stefand - 29.05.2013, 15:00
Re: Disable Tune Garages - by Stefand - 30.05.2013, 12:56
Re: Disable Tune Garages - by Konstantinos - 30.05.2013, 16:32
Re: Disable Tune Garages - by Stefand - 31.05.2013, 04:28
Re: Disable Tune Garages - by dubyabeast - 31.05.2013, 04:36
Re: Disable Tune Garages - by Konstantinos - 31.05.2013, 14:35
Re: Disable Tune Garages - by Stefand - 31.05.2013, 15:48
Re: Disable Tune Garages - by Stefand - 01.06.2013, 08:26

Forum Jump:


Users browsing this thread: 1 Guest(s)