Gate commands
#3

pawn Код:
new gate1;
pawn Код:
gate1 = CreateObject(8210, -1178.6025390625, -179.376953125, 16.249464035034, 0, 0, 314.99450683594);
CreateObject(8210, -1217.0537109375, -179.4794921875, 16.249464035034, 0, 0, 45.65478515625);
CreateObject(8210, -1216.5341796875, -219.36328125, 16.244993209839, 0, 0, 314.3408203125);
CreateObject(8210, -1155.1005859375, -251.9208984375, 16.244993209839, 0, 0, 45.653686523438);
CreateObject(8311, -1147.2001953125, -215.6875, 16.506673812866, 0, 0, 314.99450683594);
CreateObject(1337, -1219.5352783203, -188.09446716309, 13.3984375, 0, 0, 0);
CreateObject(1337, -1219.7247314453, -195.06716918945, 13.3984375, 0, 0, 0);
CreateObject(1337, -1220.3583984375, -189.36045837402, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1220.0516357422, -189.27139282227, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1219.5297851563, -188.9734954834, 13.846585273743, 0, 0, 0);
CreateObject(1337, -1219.3609619141, -188.80470275879, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1219.4567871094, -188.5446472168, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1221.6865234375, -179.6162109375, 13.6484375, 0, 0, 0);
CreateObject(1337, -1219.0699462891, -188.20375061035, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1218.87890625, -187.86630249023, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1218.66015625, -187.5691986084, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1218.4826660156, -187.33187866211, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1218.0892333984, -187.10749816895, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1217.7963867188, -186.84448242188, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1217.5144042969, -186.57357788086, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1217.1591796875, -186.17596435547, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1216.8465576172, -185.84045410156, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1216.3640136719, -185.4111328125, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1215.6622314453, -185.03729248047, 13.902109146118, 0, 0, 0);
CreateObject(1337, -1215.0213623047, -184.40226745605, 13.902111053467, 0, 0, 0);
CreateObject(1337, -1215.0572509766, -183.60363769531, 13.902111053467, 0, 0, 0);
CreateObject(1337, -1214.0888671875, -182.68028259277, 13.902111053467, 0, 0, 0);
CreateObject(1337, -1213.3414306641, -181.76068115234, 13.902109146118, 0, 0, 0);
CreateObject(2114, -1165.7082519531, -237.48181152344, 13.29027557373, 0, 0, 0);
CreateObject(974, -1204.8515625, -190.15731811523, 4, 0, 0, 45);
CreateObject(8210, -1181.7152099609, -182.75732421875, 20.986295700073, 90, 90, 45.653686523438);
CreateObject(8210, -1193.087890625, -191.103515625, 21.122459411621, 90, 90, 45.653686523438);
CreateObject(8210, -1198.9544677734, -195.55015563965, 21.600034713745, 90, 90, 45.653686523438);
CreateObject(8210, -1217.6185302734, -218.6237487793, 20.742122650146, 90, 90, 43.653686523438);
CreateObject(8210, -1187.0434570313, -187.75108337402, 21.017255783081, 90, 90, 45.653686523438);
CreateObject(8210, -1203.353515625, -199.74864196777, 21.595893859863, 90, 90, 45.653686523438);
CreateObject(8210, -1207.6591796875, -205.1767578125, 21.251302719116, 90, 90, 45.653686523438);
CreateObject(8210, -1209.6947021484, -208.75595092773, 20.439130783081, 90, 90, 45.653686523438);
CreateObject(8210, -1212.5015869141, -213.80572509766, 20.42679977417, 90, 90, 45.653686523438);
CreateObject(8210, -1177.1014404297, -215.42590332031, 20.638792037964, 90, 90, 311.65368652344);
CreateObject(8210, -1173.4130859375, -221.185546875, 20.935138702393, 90, 90, 311.64367675781);
CreateObject(8210, -1169.1248779297, -226.22087097168, 20.934906005859, 90, 90, 311.64916992188);
CreateObject(8210, -1164.53515625, -229.97132873535, 20.816675186157, 90, 90, 311.64916992188);
CreateObject(8210, -1160.681640625, -233.93731689453, 20.648996353149, 90, 90, 311.64916992188);
CreateObject(8210, -1156.091796875, -240.0458984375, 20.886302947998, 90, 90, 311.64367675781);
CreateObject(8210, -1150.9987792969, -244.44923400879, 20.881870269775, 90, 90, 311.64916992188);
CreateObject(8210, -1186.9185791016, -247.02055358887, 21.077442169189, 90, 90, 227.64916992188);
CreateObject(8210, -1190.0277099609, -252.19111633301, 20.891967773438, 90, 90, 227.64770507813);
CreateObject(8210, -1173.8507080078, -265.96447753906, 16.249464035034, 0, 0, 311.64367675781);
CreateObject(2933, -1195.0277099609, -242.4662322998, 14.864052772522, 0, 0, 310);
CreateObject(2933, -1194.8406982422, -242.58647155762, 18.300415039063, 0, 0, 309.99572753906);
CreateObject(8210, -1146.8109130859, -262.35757446289, 16.244993209839, 0, 0, 295.64367675781);
CreateObject(8210, -1142.8380126953, -278.84774780273, 20.966632843018, 90, 90, 205.64367675781);
CreateObject(8210, -1147.69921875, -283.72207641602, 21.375202178955, 90, 90, 205.64208984375);
CreateObject(8210, -1163.9423828125, -269.81588745117, 20.670852661133, 90, 90, 221.64208984375);
CreateObject(8210, -1157.6292724609, -273.35845947266, 20.991762161255, 90, 90, 217.64208984375);
CreateObject(8210, -1134.7199707031, -306.92114257813, 13.713364601135, 0, 0, 333.64367675781);
CreateObject(2933, -1157.259765625, -290.958984375, 14.864052772522, 0, 0, 245.99487304688);
CreateObject(2933, -1130.2690429688, -305.04995727539, 14.859580993652, 0, 0, 245.99487304688);
CreateObject(2933, -1130.2763671875, -305.25680541992, 18.295942306519, 0, 0, 245.99487304688);
CreateObject(2933, -1157.1431884766, -290.92282104492, 18.324792861938, 0, 0, 243.99487304688);
CreateObject(8210, -1135.1976318359, -302.11791992188, 20.55347442627, 90, 0, 329.64367675781);
CreateObject(2933, -1156.1339111328, -297.32791137695, 20.428783416748, 90, 0, 339.99487304688);
CreateObject(8210, -1132.7387695313, -292.50952148438, 16.249464035034, 0, 0, 293.63830566406);
CreateObject(8210, -1158.4953613281, -339.36932373047, 16.249464035034, 0, 0, 333.63830566406);
CreateObject(8210, -1126.33984375, -329.86096191406, 16.354011535645, 0, 0, 241.63830566406);
CreateObject(8210, -1128.3060302734, -328.96197509766, 21.660251617432, 90, 0, 243.63830566406);
CreateObject(8210, -1137.0883789063, -331.77352905273, 21.327060699463, 90, 0, 243.63830566406);
CreateObject(8210, -1144.4595947266, -330.79772949219, 21.562870025635, 90, 0, 243.63830566406);
CreateObject(8210, -1147.5443115234, -323.27346801758, 21.840145111084, 90, 0, 243.63830566406);
CreateObject(8210, -1150.8685302734, -316.84710693359, 21.495405197144, 90, 0, 243.63830566406);
CreateObject(8210, -1157.7528076172, -314.27545166016, 21.275703430176, 90, 0, 243.63830566406);
CreateObject(8210, -1166.6673583984, -318.82382202148, 20.342170715332, 90, 0, 243.63830566406);
CreateObject(972, -1180.1162109375, -316.83984375, 13.1484375, 0, 0, 325.99731445313);
CreateObject(987, -1166.9610595703, -304.69763183594, 13.1484375, 0, 0, 52);
CreateObject(987, -1169.4372558594, -307.34872436523, 13.1484375, 0, 0, 51.998291015625);
CreateObject(8210, -1172.1188964844, -316.43280029297, 19.822200775146, 90, 0, 243.63830566406);
CreateObject(2909, -1192.6396484375, -345.02734375, 14.710167884827, 0, 0, 289.9951171875);
CreateObject(8210, -1171.2177734375, -364.162109375, 16.244993209839, 0, 0, 309.63830566406);
CreateObject(8210, -1154.8153076172, -383.26831054688, 16.249464035034, 0, 0, 31.633178710938);
CreateObject(8210, -1186.8839111328, -371.96371459961, 16.249464035034, 0, 0, 290.3408203125);
CreateObject(8210, -1184.2377929688, -369.11505126953, 21.331575393677, 90, 0, 287.63830566406);
CreateObject(8210, -1177.7301025391, -369.28842163086, 21.819774627686, 90, 0, 287.63305664063);
CreateObject(8210, -1167.9874267578, -372.92736816406, 21.369293212891, 90, 0, 311.63305664063);
CreateObject(8210, -1170.2626953125, -380.93814086914, 20.994701385498, 90, 0, 311.63269042969);
CreateObject(2909, -1192.8460693359, -344.69412231445, 17.136693954468, 0, 0, 289.9951171875);
CreateObject(2909, -1192.6483154297, -344.91876220703, 19.743576049805, 0, 0, 289.9951171875);
CreateObject(10841, -1953.6694335938, -154.02137756348, 32.117015838623, 0, 0, 2);
CreateObject(10841, -1963.0720214844, -143.93092346191, 32.640316009521, 0, 0, 268);
CreateObject(10841, -1962.3039550781, -121.34169006348, 32.640316009521, 0, 0, 267.99499511719);
CreateObject(10841, -1942.7431640625, -142.91000366211, 31.753795623779, 0, 0, 267.99499511719);
CreateObject(10841, -1942.0617675781, -120.56993103027, 31.729900360107, 0, 0, 267.99499511719);
CreateObject(972, -1953.2703857422, -106.75902557373, 24.7109375, 0, 0, 271.99731445313);
CreateObject(8210, -1943.5819091797, -132.27243041992, 34.488250732422, 90, 90, 357.65368652344);
CreateObject(8210, -1949.2580566406, -135.98490905762, 33.795806884766, 90, 90, 357.64892578125);
CreateObject(8210, -1957.3792724609, -132.65734863281, 34.278419494629, 90, 90, 357.64892578125);
CreateObject(8210, -1960.5906982422, -130.58111572266, 34.822174072266, 90, 90, 357.64892578125);
CreateObject(980, -1956.6871337891, -111.4585723877, 33.800392150879, 0, 0, 0);
CreateObject(980, -1946.3240966797, -111.86603546143, 33.698959350586, 0, 0, 0);
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/gate1open", cmdtext, true, 10) == 0)
    {
        MoveObject(gate1,0000,0000,0000,2); //Replace the 0000,0000,0000 for the cords you want to have it
        return 1;
    }
    return 0;
}

Hope this helped
Reply


Messages In This Thread
Gate commands - by dcrgn - 07.01.2011, 19:49
Re: Gate commands - by dcrgn - 07.01.2011, 19:51
Re: Gate commands - by bartje01 - 07.01.2011, 22:39
Re: Gate commands - by dcrgn - 08.01.2011, 19:53
Re: Gate commands - by xemper - 08.01.2011, 20:00
Re: Gate commands - by dcrgn - 08.01.2011, 20:17

Forum Jump:


Users browsing this thread: 1 Guest(s)