[ FS ] DFT ( Mod )
Lệnh: /DFT
- Code:
//Xin Hân Hanh gioi thieu filterscripts Carmod //Duoc viet boi Nhok_ALone //Phat Hành Vào Ngay 26/1/2014 //Xin Moi Nguoi Ung Hô Cho Tôi (Nhok_ALone) //Cam Sao Chep Ban Quyen Duoi moi Hinh Thuc. #include <a_samp> #include <streamer> #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print("Filterscript Duoc Viet Boi Nhok_Alone "); print("--------------------------------------\n"); return 1; }
public OnFilterScriptExit() { return 1; }
#else
main() { print("\n----------------------------------"); print("Yahoo:Red_Dragon_Devil_2000@yahoo.com"); print("----------------------------------\n"); } #endif public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/DFT", cmdtext, true, 10) == 0) { new Float:pos[3]; GetPlayerPos(playerid,pos[0],pos[1],pos[2]); new Float:angle; GetPlayerFacingAngle(playerid, angle); CreatePartyTruck(pos[0],pos[1]+1,pos[2]+0.5,angle); SendClientMessage(playerid, -1 , "Ban Da Lay Ra Mot Chiec Xe DFT-30 MOD!Hay Tan Huong Nao"); return 1; } return 0; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { return 1; } stock CreatePartyTruck(Float:X, Float:Y, Float:Z, Float:Angle) { new veh = CreateVehicle(578, X, Y, Z, Angle, -1, -1, 100); new Obj[31]; Obj[0] = CreateDynamicObject(19128, -11.22240, -2.28324, 3.41254, 0.00000, 0.00000, 90.00000); Obj[1] = CreateDynamicObject(19128, -11.22240, -6.28320, 3.41250, 0.00000, 0.00000, 90.00000); Obj[2] = CreateDynamicObject(19420, -11.11920, -0.27869, 4.12812, 90.00000, 0.00000, 0.00000); Obj[3] = CreateDynamicObject(19143, -12.42198, -0.35391, 4.86045, 0.00000, 0.00000, 180.00000); Obj[4] = CreateDynamicObject(19144, -11.92200, -0.35390, 4.86050, 0.00000, 0.00000, 180.00000); Obj[5] = CreateDynamicObject(19145, -11.42200, -0.35390, 4.86050, 0.00000, 0.00000, 180.00000); Obj[6] = CreateDynamicObject(19146, -10.92200, -0.35390, 4.86050, 0.00000, 0.00000, 180.00000); Obj[7] = CreateDynamicObject(19147, -10.42200, -0.35390, 4.86050, 0.00000, 0.00000, 180.00000); Obj[8] = CreateDynamicObject(19148, -9.92200, -0.35390, 4.86050, 0.00000, 0.00000, 180.00000); Obj[9] = CreateDynamicObject(19127, -13.07974, -8.11392, 4.01979, 0.00000, 0.00000, 0.00000); Obj[10] = CreateDynamicObject(19127, -9.41040, -8.11390, 4.01980, 0.00000, 0.00000, 0.00000); Obj[11] = CreateDynamicObject(19127, -9.41040, -0.61390, 4.01980, 0.00000, 0.00000, 0.00000); Obj[12] = CreateDynamicObject(19127, -13.07970, -0.61390, 4.01980, 0.00000, 0.00000, 0.00000); Obj[13] = CreateDynamicObject(18655, -9.37927, -0.61893, 3.46325, 0.00000, 0.00000, 56.00000); Obj[14] = CreateDynamicObject(18655, -13.07000, -8.09340, 3.46330, 0.00000, 0.00000, -136.00000); Obj[15] = CreateDynamicObject(1723, -10.22017, -7.53540, 3.39441, 0.00000, 0.00000, 180.00000); Obj[16] = CreateDynamicObject(18651, -9.84851, 0.75535, 3.35982, 0.00000, 0.00000, 0.00000); Obj[17] = CreateDynamicObject(18651, -12.41032, 0.73555, 3.35980, 0.00000, 0.00000, 0.00000); Obj[18] = CreateDynamicObject(2232, -9.87104, -1.44249, 4.04030, 0.00000, 0.00000, -20.00000); Obj[19] = CreateDynamicObject(2232, -12.45320, -1.37381, 4.04030, 0.00000, 0.00000, 20.00000); Obj[20] = CreateDynamicObject(19087, -9.42067, -8.12922, 4.42657, 90.00000, 0.00000, 0.00000); Obj[21] = CreateDynamicObject(19087, -9.42070, -6.12920, 4.42660, 90.00000, 0.00000, 0.00000); Obj[22] = CreateDynamicObject(19087, -9.42070, -4.12920, 4.42660, 90.00000, 0.00000, 0.00000); Obj[23] = CreateDynamicObject(19087, -9.42070, -3.12920, 4.42660, 90.00000, 0.00000, 0.00000); Obj[24] = CreateDynamicObject(19087, -13.07330, -8.12920, 4.42660, 90.00000, 0.00000, 0.00000); Obj[25] = CreateDynamicObject(19087, -13.07330, -6.12920, 4.42660, 90.00000, 0.00000, 0.00000); Obj[26] = CreateDynamicObject(19087, -13.07330, -4.12920, 4.42660, 90.00000, 0.00000, 0.00000); Obj[27] = CreateDynamicObject(19087, -13.07330, -3.12920, 4.42660, 90.00000, 0.00000, 0.00000); Obj[28] = CreateDynamicObject(19087, -9.48827, -8.10955, 4.42660, 90.00000, 0.00000, 90.00000); Obj[29] = CreateDynamicObject(19087, -10.48830, -8.10950, 4.42660, 90.00000, 0.00000, 90.00000); Obj[30] = CreateDynamicObject(642, -12.10328, -6.22676, 4.83699, 0.00000, 0.00000, 0.00000);
AttachDynamicObjectToVehicle(Obj[0], veh, -0.064399, 0.324759, -0.206860, 0.000000, 0.000000, 90.000000); AttachDynamicObjectToVehicle(Obj[1], veh, -0.064399, -3.675199, -0.206900, 0.000000, 0.000000, 90.000000); AttachDynamicObjectToVehicle(Obj[2], veh, 0.038800, 2.329309, 0.508719, 90.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[3], veh, -1.263979, 2.254090, 1.241049, 0.000000, 0.000000, 180.000000); AttachDynamicObjectToVehicle(Obj[4], veh, -0.763999, 2.254100, 1.241099, 0.000000, 0.000000, 180.000000); AttachDynamicObjectToVehicle(Obj[5], veh, -0.263999, 2.254100, 1.241099, 0.000000, 0.000000, 180.000000); AttachDynamicObjectToVehicle(Obj[6], veh, 0.236000, 2.254100, 1.241099, 0.000000, 0.000000, 180.000000); AttachDynamicObjectToVehicle(Obj[7], veh, 0.736000, 2.254100, 1.241099, 0.000000, 0.000000, 180.000000); AttachDynamicObjectToVehicle(Obj[8], veh, 1.236000, 2.254100, 1.241099, 0.000000, 0.000000, 180.000000); AttachDynamicObjectToVehicle(Obj[9], veh, -1.921739, -5.505920, 0.400390, 0.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[10], veh, 1.747599, -5.505900, 0.400400, 0.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[11], veh, 1.747599, 1.994100, 0.400400, 0.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[12], veh, -1.921700, 1.994100, 0.400400, 0.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[13], veh, 1.778730, 1.989070, -0.156150, 0.000000, 0.000000, 56.000000); AttachDynamicObjectToVehicle(Obj[14], veh, -1.911999, -5.485400, -0.156100, 0.000000, 0.000000, -136.000000); AttachDynamicObjectToVehicle(Obj[15], veh, 0.937829, -4.927399, -0.224990, 0.000000, 0.000000, 180.000000); AttachDynamicObjectToVehicle(Obj[16], veh, 1.309490, 3.363349, -0.259580, 0.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[17], veh, -1.252320, 3.343549, -0.259599, 0.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[18], veh, 1.286959, 1.165510, 0.420899, 0.000000, 0.000000, -20.000000); AttachDynamicObjectToVehicle(Obj[19], veh, -1.295200, 1.234189, 0.420899, 0.000000, 0.000000, 20.000000); AttachDynamicObjectToVehicle(Obj[20], veh, 1.737330, -5.521220, 0.807169, 90.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[21], veh, 1.737299, -3.521199, 0.807199, 90.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[22], veh, 1.737299, -1.521199, 0.807199, 90.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[23], veh, 1.737299, -0.521199, 0.807199, 90.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[24], veh, -1.915300, -5.521200, 0.807199, 90.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[25], veh, -1.915300, -3.521199, 0.807199, 90.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[26], veh, -1.915300, -1.521199, 0.807199, 90.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[27], veh, -1.915300, -0.521199, 0.807199, 90.000000, 0.000000, 0.000000); AttachDynamicObjectToVehicle(Obj[28], veh, 1.669730, -5.501550, 0.807199, 90.000000, 0.000000, 90.000000); AttachDynamicObjectToVehicle(Obj[29], veh, 0.669699, -5.501500, 0.807199, 90.000000, 0.000000, 90.000000); AttachDynamicObjectToVehicle(Obj[30], veh, -0.945280, -3.618759, 1.217589, 0.000000, 0.000000, 0.000000); return 1; }
|