27.10.2012, 09:32
Hey guys, so now I made a biig edit and I really think I screwed it up. I took admin commands from the SFCRRPG gamemode but it aint working, ingame it says Unknown Command
// ---------------------------- RAZOR DRIFT COMMUNITY BY KUDOZ---------------------------------------// // ================================= L33T DRIFT GM ==================================================// //**************************************HAVE FUN*****************************************************// //==================================DONT REMOVE CREDZ================================================// //------------------------------BY KUDOZ AND KILLA[DGZ]----------------------------------------------// // START OF GAMEMODE HERE----------------------------------------------- #include <a_samp> #include <core> #include <float> #define COLOR_GREEN 0x00FF00FF #define COLOR_CONNECT 0x00FF00AA #define COLOR_DISCONNECT 0xFF0000AA #pragma tabsize 0 //-----------Killa[DGZ] made these------Wheel Defines--------------------------- #define Shadow_Wheel 1073 #define Mega_Wheel 1074 #define Rimshine_Wheel 1075 #define Wires_Wheel 1076 #define Classic_Wheel 1077 #define Twist_Wheel 1078 #define Cutter_Wheel 1079 #define Switch_Wheel 1080 #define Grove_Wheel 1081 #define Import_Wheel 1082 #define Dollar_Wheel 1083 #define Trance_Wheel 1084 #define Atomic_Wheel 1085 #define Ahab_Wheel 1096 #define Virtual_Wheel 1097 #define Access_Wheel 1098 //-----------------------FIX FLIP CAR------------------------------------------- #define FlipKey KEY_ANALOG_RIGHT #define FixKey KEY_SUBMISSION //--------------------Pocket Money---------------------------------------------- #define PocketMoney 500000 #define Killcash -5000 //------------------------------------------------------------------------------ #define PRESSED(%0) \ (((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0))) //-------------------------Reserved Vehicles------------------------------------ /* new NAME1; new NAME2; new NAME3; new NAME4; new NAME5;*/// Remove if player donate (Give player a vehicle) //-------------------------Static save load------------------------------------- static Float:posx[MAX_PLAYERS] = 0.0; static Float:posy[MAX_PLAYERS] = 0.0; static Float:posz[MAX_PLAYERS] = 0.0; static Float:zangle[MAX_PLAYERS] = 0.0; //------------------------------------------------------------------- //------------------------------------------------------------------------------ main() { print("\n----------------------------------"); print(" Intersect Drifting Community\n"); print("----------------------------------\n"); } public OnGameModeInit() { //-----------------------Class Selection Skins---------------------------------- //AddPlayerClass(Format) == (skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo) AddPlayerClass(170,-2821.0317,1302.2627,7.1016,95.3639,0,0,0,0,0,0); // SF At Jizzy's Club! AddPlayerClass(29,-2821.0317,1302.2627,7.1016,95.3639,0,0,0,0,0,0); AddPlayerClass(28,-2821.0317,1302.2627,7.1016,95.3639,0,0,0,0,0,0); AddPlayerClass(211,-2821.0317,1302.2627,7.1016,95.3639,0,0,0,0,0,0); AddPlayerClass(233,-2821.0317,1302.2627,7.1016,95.3639,0,0,0,0,0,0); AddPlayerClass(269,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(270,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(271,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(272,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(281,-2821.0317,1302.2627,7.1016,270.1425,0,0,24,300,-1,-1); AddPlayerClass(282,-2821.0317,1302.2627,7.1016,270.1425,0,0,24,300,-1,-1); AddPlayerClass(283,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(284,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(285,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(286,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(287,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(254,-2821.0317,1302.2627,7.1016,0.0,0,0,24,300,-1,-1); AddPlayerClass(255,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(256,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(257,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(258,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(259,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(260,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(261,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(262,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(263,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(264,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(274,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(275,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(276,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(1,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(2,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(290,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(291,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(292,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(293,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(294,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(295,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(296,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(297,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(298,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(299,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(278,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(279,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(288,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(47,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(48,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(49,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(50,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(51,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(52,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(53,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(54,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(55,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(56,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(57,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(58,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(59,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(60,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(61,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(62,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(63,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(64,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(66,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(67,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(68,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(69,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(70,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(71,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(72,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(73,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(75,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(76,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(78,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(79,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(80,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(81,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(82,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(83,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(84,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(85,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(87,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(88,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(89,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(91,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(92,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(93,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(95,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(96,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(97,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(98,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(99,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(100,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(101,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(102,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(103,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(104,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(105,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(106,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(107,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(108,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(109,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(110,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(111,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(112,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(113,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(114,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(115,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(116,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(117,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(118,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(120,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(121,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(122,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(123,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(124,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(125,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(126,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(127,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(128,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(129,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(131,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(133,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(134,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(135,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(136,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(137,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(138,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(139,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(140,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(141,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(142,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(143,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(144,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(145,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(146,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(147,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(148,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(150,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(151,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(152,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(153,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(154,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(155,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(156,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(157,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(158,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(159,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(160,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(161,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(162,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(163,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(164,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(166,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(167,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(168,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(169,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(170,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(171,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(172,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(173,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(174,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(175,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(176,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(177,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(178,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(179,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(180,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(181,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(182,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(183,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(184,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(185,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(186,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(187,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(188,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(189,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(190,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(191,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(192,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(193,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(194,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(195,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(196,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(197,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(198,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(199,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(200,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(201,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(202,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(203,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(204,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(205,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(206,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(207,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(209,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(210,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(211,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(212,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(213,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(214,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(215,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(216,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(217,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(218,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(219,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(220,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(221,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(222,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(223,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(224,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(225,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(226,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(227,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(228,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(229,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(230,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(231,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(232,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(233,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(234,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(235,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(236,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(237,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(238,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(239,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(240,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(241,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(242,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(243,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(244,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(245,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(246,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(247,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(248,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(249,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(250,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(251,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); AddPlayerClass(253,-2821.0317,1302.2627,7.1016,269.1425,0,0,24,300,-1,-1); //-------------------------Reserved Vehicles------------------------------------ /* NAME1 = AddStaticVehicle(562,282.6230,-1160.7131,80.5734,224.4992,4,4); AddVehicleComponent(NAME1, 1036);//Right Alien Sideskirt AddVehicleComponent(NAME1, 1040);//Left Alien Sideskirt AddVehicleComponent(NAME1, 1034);//Alien Exhaust AddVehicleComponent(NAME1, 1172);//Front Bumper X-Flow AddVehicleComponent(NAME1, 1148);//Rear Bumper Alien AddVehicleComponent(NAME1, 1035);//X-Flow Roof Vent AddVehicleComponent(NAME1, Rimshine_Wheel); NAME2 = AddStaticVehicle(562,282.6230,-1160.7131,80.5734,224.4992,4,4); AddVehicleComponent(NAME2, 1036);//Right Alien Sideskirt AddVehicleComponent(NAME2, 1040);//Left Alien Sideskirt AddVehicleComponent(NAME2, 1034);//Alien Exhaust AddVehicleComponent(NAME2, 1172);//Front Bumper X-Flow AddVehicleComponent(NAME2, 1148);//Rear Bumper Alien AddVehicleComponent(NAME2, 1035);//X-Flow Roof Vent AddVehicleComponent(NAME2, Rimshine_Wheel); NAME3 = AddStaticVehicle(562,286.8850,-1156.6461,80.5696,224.8618,1,1); AddVehicleComponent(NAME3, 1149);//Rear Bumper Alien AddVehicleComponent(NAME3, 1172);//Front Bumper X-Flow AddVehicleComponent(NAME3, 1036);//Right Alien Sideskirt AddVehicleComponent(NAME3, 1040);//Left Alien Sideskirt AddVehicleComponent(NAME3, Cutter_Wheel); NAME4 = AddStaticVehicle(562,1041.4803,-302.1946,73.6007,273.9293,0,0); AddVehicleComponent(NAME4, 1149);//Rear Bumper Alien AddVehicleComponent(NAME4, 1172);//Front Bumper X-Flow AddVehicleComponent(NAME4, 1036);//Right Alien Sideskirt AddVehicleComponent(NAME4, 1040);//Left Alien Sideskirt AddVehicleComponent(NAME4, Cutter_Wheel); NAME5 = AddStaticVehicle(562,1529.9218,-813.1093,71.5517,267.4311,35,1); AddVehicleComponent(NAME5, 1149);//Rear Bumper Alien AddVehicleComponent(NAME5, 1172);//Front Bumper X-Flow AddVehicleComponent(NAME5, 1036);//Right Alien Sideskirt AddVehicleComponent(NAME5, 1040);//Left Alien Sideskirt AddVehicleComponent(NAME5, Cutter_Wheel); */// Remove if player donate (Give player a vehicle) //---------------------------Random Mapping------------------------------------- AddStaticVehicleEx(540,2471.80004883,-1673.80004883,21.50000000,290.00000000,101,106,15); //Vincent AddStaticVehicleEx(562,-2570.50000000,657.90002441,27.50000000,38.00000000,115,14,15); //Elegy AddStaticVehicleEx(562,-2566.50000000,657.59997559,27.50000000,324.00000000,34,52,15); //Elegy AddStaticVehicleEx(520,-2574.19995117,675.59997559,28.70000076,358.00000000,-1,-1,15); //Hydra AddStaticVehicleEx(451,-2591.80004883,666.00000000,27.60000038,270.00000000,27,55,15); //Turismo AddStaticVehicleEx(411,-2591.89990234,660.59997559,27.60000038,270.00000000,93,126,15); //Infernus AddStaticVehicleEx(407,-2547.60009766,672.29998779,28.20000076,32.00000000,132,4,15); //Firetruck AddStaticVehicleEx(522,-2560.19995117,683.79998779,27.50000000,165.99993896,37,37,15); //NRG-500 AddStaticVehicleEx(522,-2562.69995117,685.40002441,27.50000000,174.00000000,189,190,15); //NRG-500 AddStaticVehicleEx(522,-2565.10009766,686.70001221,27.50000000,169.99969482,132,4,15); //NRG-500 AddStaticVehicleEx(522,-2567.50000000,687.79998779,27.50000000,167.99963379,76,117,15); //NRG-500 AddStaticVehicleEx(445,-2546.30004883,659.50000000,27.79999924,90.00000000,45,58,15); //Admiral AddStaticVehicleEx(445,-2546.19995117,654.59997559,27.79999924,90.00000000,111,103,15); //Admiral AddStaticVehicleEx(538,-2006.59997559,135.80000305,29.10000038,0.00000000,245,245,15); //Freight AddStaticVehicleEx(562,-1979.80004883,363.29998779,35.59999847,0.00000000,101,106,15); //Elegy AddStaticVehicleEx(562,-1983.00000000,363.29998779,35.59999847,0.00000000,101,106,15); //Elegy AddStaticVehicleEx(562,-1986.19995117,363.39999390,35.59999847,0.00000000,101,106,15); //Elegy AddStaticVehicleEx(562,-1989.09997559,363.39999390,35.59999847,0.00000000,101,106,15); //Elegy AddStaticVehicleEx(411,-1987.50000000,380.89999390,35.59999847,180.00000000,32,32,15); //Infernus CreateObject(3934,-2574.30004883,675.40002441,26.79999924,0.00000000,0.00000000,268.00000000); //object(helipad01) (1) CreateObject(980,-2598.19995117,684.50000000,29.60000038,0.00000000,0.00000000,264.00000000); //object(airportgate) (1) CreateObject(3594,-1406.19995117,-595.09997559,15.10000038,0.00000000,0.00000000,0.00000000); //object(la_fuckcar1) (1) CreateObject(3594,-1406.30004883,-595.00000000,13.80000019,0.00000000,0.00000000,270.00000000); //object(la_fuckcar1) (2) CreateObject(3593,-1339.90002441,-572.59997559,13.89999962,0.00000000,0.00000000,44.00000000); //object(la_fuckcar2) (1) CreateObject(3593,-1339.69995117,-572.40002441,14.30000019,0.00000000,0.00000000,0.00000000); //object(la_fuckcar2) (2) CreateObject(3593,-1339.19995117,-572.00000000,14.69999981,0.00000000,0.00000000,83.99475098); //object(la_fuckcar2) (3) CreateObject(4139,-1752.50000000,-565.90002441,10.50000000,0.00000000,0.00000000,0.00000000); //object(roads09_lan) (1) CreateObject(4139,-1754.50000000,-533.90002441,10.69999981,0.00000000,0.00000000,0.00000000); //object(roads09_lan) (2) CreateObject(4139,-1755.69995117,-503.39999390,10.89999962,0.00000000,0.00000000,0.00000000); //object(roads09_lan) (3) CreateObject(5040,-1978.50000000,379.00000000,38.40000153,0.00000000,0.00000000,0.00000000); //object(unionliq_las) (1) //--------------------------Random Vehicles------------------------------------- AddStaticVehicle(502,-1954.2421,270.4366,40.9378,219.6907,36,8); // AddStaticVehicle(593,1641.6836,1534.0157,11.2394,359.5808,58,9); // AddStaticVehicle(502,1680.9374,1642.4747,10.7125,183.5951,51,75); // AddStaticVehicle(494,1684.8931,1642.6722,10.5943,183.3893,42,33); // AddStaticVehicle(494,2040.2238,1341.4673,10.4469,0.1761,75,79); // AddStaticVehicle(494,2040.1786,1347.3323,10.4467,359.9033,36,117); // AddStaticVehicle(562,2023.2207,1334.2344,9.9924,269.9702,35,1); // AddStaticVehicle(562,2022.6525,1351.6447,9.9262,270.2971,17,1); // AddStaticVehicle(502,2038.6685,1372.9619,10.5740,359.9970,36,8); // AddStaticVehicle(562,2039.0295,1549.8147,10.2786,179.5966,116,1); // AddStaticVehicle(566,2150.9390,1483.1517,10.6041,0.1396,30,1); // AddStaticVehicle(506,2139.2742,1408.6450,10.4804,359.3202,52,52); // AddStaticVehicle(502,-1895.2896,273.9190,40.9410,181.9889,51,75); // AddStaticVehicle(502,-1898.9841,273.7648,40.9327,180.5829,58,67); // AddStaticVehicle(562,1464.5601,-902.4739,54.4426,178.6111,35,1); // AddStaticVehicle(562,1368.7902,-846.8735,43.6713,211.6595,17,1); // AddStaticVehicle(541,2075.0532,1412.7218,10.3627,180.2748,2,1); // AddStaticVehicle(562,-343.1125,1515.9529,75.0186,1.8500,116,1); //spawn drift1 AddStaticVehicle(562,-1987.8009,155.2350,27.1981,178.4107,0,0); // ELEGY SF AddStaticVehicle(562,-2675.9895,204.1484,3.9939,0.3040,0,0); // ELEGY ARCH AddStaticVehicle(562,-2668.0815,268.1425,3.9956,179.3823,0,0); // ELEGY ARCH AddStaticVehicle(562,-2715.0366,194.4946,3.9911,267.0156,0,0); // ELEGY ARCH AddStaticVehicle(562,-2714.7834,200.9451,3.9918,270.5115,0,0); // ELEGY ARCH AddStaticVehicle(562,-2640.4753,164.8657,3.9877,2.0531,0,0); // ELEGY ARCH AddStaticVehicle(562,-2200.9673,293.8250,34.7745,173.6091,0,0); // ELEGY ARCH AddStaticVehicle(562,834.8603,-889.8358,68.4301,129.9860,0,0); // ELEGY ARCH AddStaticVehicle(562,-1987.9863,124.8716,27.1966,179.1843,0,0); // ELEGY SF AddStaticVehicle(562,-2046.4452,146.1958,28.4945,359.4745,0,0); // ELEGY SF AddStaticVehicle(562,-2077.0322,-83.0845,34.8222,354.9466,0,0); // ELEGY SF AddStaticVehicle(562,1535.9457,-1668.2195,13.0421,0.3635,0,0); // ELEGY SF AddStaticVehicle(562,1606.3292,-1719.7317,13.2064,180.7684,0,0); // ELEGY SF AddStaticVehicle(562,1656.5490,-1694.3656,15.2675,3.7200,0,0); // ELEGY SF AddStaticVehicle(562,1671.1605,-1714.3783,20.1383,269.6192,0,0); // ELEGY SF AddStaticVehicle(562,2039.8848,1317.4178,10.3297,179.1314,0,0); // ELEGY SF AddStaticVehicle(562,2396.0334,1039.5742,10.4784,357.3946,0,0); // ELEGY SF AddStaticVehicle(562,-337.8255,1514.7911,75.0176,357.0703,116,1); // AddStaticVehicle(562,-332.9068,1514.5392,75.0354,357.0786,116,1); // AddStaticVehicle(562,-326.7177,1514.2238,75.0207,357.0884,116,1); // AddStaticVehicle(562,-321.2235,1513.9436,75.0422,357.0797,116,1); // AddStaticVehicle(451,-290.5159,1518.1569,75.0634,49.8303,75,75); // AddStaticVehicle(451,-287.0473,1522.2656,75.0634,49.8303,75,75); // AddStaticVehicle(451,-283.6713,1526.2648,75.0635,49.8303,75,75); // AddStaticVehicle(541,-274.7484,1533.7819,74.9840,46.8131,58,8); // AddStaticVehicle(411,-316.0967,1514.8167,75.0846,0.3418,12,1); // AddStaticVehicle(451,-279.1087,1530.2412,75.0709,49.8303,75,75); // AddStaticVehicle(451,-270.8793,1536.9695,75.0865,49.8303,75,75); // AddStaticVehicle(559,-268.5116,1547.6885,75.0157,131.7048,68,8); // AddStaticVehicle(559,-272.5267,1551.6382,75.0477,131.7053,68,8); // AddStaticVehicle(560,-278.1031,1554.4138,75.0642,131.2901,9,39); // AddStaticVehicle(560,-281.0200,1558.7400,75.0657,131.2901,9,39); // AddStaticVehicle(565,-284.5670,1563.0452,74.9840,134.2068,37,37); // AddStaticVehicle(565,-288.7235,1567.3185,74.9838,134.2068,37,37); // AddStaticVehicle(565,-292.5380,1571.2399,74.9836,134.2068,37,37); // AddStaticVehicle(565,-295.6227,1574.4111,74.9834,134.2068,37,37); //spawn drift1 AddStaticVehicle(562,1831.1836,-2533.3992,13.2302,93.4257,63,117); //lsap2 AddStaticVehicle(562,1831.3975,-2536.9756,13.2421,93.4258,63,117); // AddStaticVehicle(562,1831.4032,-2541.2561,13.2544,93.4258,63,117); // AddStaticVehicle(562,1831.6863,-2545.9885,13.2702,93.4258,63,117); // AddStaticVehicle(541,1782.3508,-2529.0347,13.1966,270.7626,88,26); // AddStaticVehicle(541,1782.4102,-2533.4844,13.1970,270.7625,88,26); // AddStaticVehicle(451,1782.7937,-2538.4910,13.2746,276.4467,118,76); // AddStaticVehicle(451,1783.4155,-2543.9934,13.2745,276.4467,118,76); //lsap2 AddStaticVehicle(562,2279.3313,1387.2593,42.4811,359.8727,116,1); // AddStaticVehicle(451,2292.4343,1387.7380,42.5269,358.5179,36,36); // AddStaticVehicle(562,2285.8328,1386.5913,42.4810,0.7978,113,1); // AddStaticVehicle(411,2299.3159,1387.5305,42.5474,0.4980,123,1); // AddStaticVehicle(565,2305.7585,1387.3064,42.4450,0.5029,53,53); // AddStaticVehicle(562,2312.7266,1387.1356,42.4792,359.7668,101,1); // AddStaticVehicle(562,1245.3457,-2027.2295,59.5056,269.7196,92,1); // AddStaticVehicle(562,1245.4044,-2020.5016,59.5044,270.0067,36,1); // AddStaticVehicle(562,1245.0127,-2012.5536,59.5131,265.5910,35,1); // AddStaticVehicle(451,1277.3315,-2014.4474,58.6384,91.4973,16,16); // AddStaticVehicle(562,1760.4861,1945.4451,9.7186,217.0469,101,1); // AddStaticVehicle(562,1763.9648,1952.2091,8.7670,216.9268,101,1); // AddStaticVehicle(562,1760.1249,1926.4421,9.8883,217.4443,101,1); // AddStaticVehicle(562,1761.6194,1916.2141,9.5823,217.6476,101,1); // AddStaticVehicle(562,-1141.7694,1121.1155,37.8731,172.9274,92,1); // AddStaticVehicle(562,-1136.9384,1125.8805,37.5731,172.8138,92,1); // AddStaticVehicle(562,-1128.0577,1136.4988,37.2405,174.5348,92,1); // AddStaticVehicle(451,-1108.0962,1111.2340,37.4119,116.5874,125,125); // AddStaticVehicle(451,-1112.5281,1105.1163,37.6342,116.5282,125,125); // AddStaticVehicle(565,1277.8180,-2021.5878,58.5611,89.9920,11,11); // AddStaticVehicle(411,1277.6158,-2027.6516,58.6845,88.5919,106,1); // AddStaticVehicle(562,-1037.2299,-1349.1968,130.1938,120.6618,17,1); // AddStaticVehicle(562,-1040.4152,-1343.8135,130.1989,120.6796,17,1); // AddStaticVehicle(562,-1042.3586,-1340.4911,130.1383,120.7368,17,1); // AddStaticVehicle(562,2221.9160,1932.7089,31.4623,270.6710,17,1); // AddStaticVehicle(562,2221.8740,1936.3322,31.4623,270.6710,17,1); // AddStaticVehicle(562,2221.7837,1944.0574,31.4624,270.6710,17,1); // AddStaticVehicle(562,1092.5298,2286.8948,10.4790,282.4254,116,1); // AddStaticVehicle(562,1081.9596,2286.6873,10.4716,282.4256,116,1); // AddStaticVehicle(562,1090.6692,2301.3987,10.4812,221.2285,116,1); // AddStaticVehicle(562,1080.0685,2301.6851,10.5374,221.2285,116,1); // AddStaticVehicle(562,-782.2239,2753.5427,45.3221,208.9699,113,1); // AddStaticVehicle(562,-781.6022,2760.8479,45.3256,203.7216,101,1); // AddStaticVehicle(562,-2131.8838,910.4423,79.6593,312.3632,92,1); // AddStaticVehicle(562,-2131.0139,926.3066,79.6435,222.3642,92,1); // AddStaticVehicle(562,-2654.0334,573.7632,14.1907,86.9397,36,1); // AddStaticVehicle(562,-2677.0828,573.4229,14.1927,270.6004,36,1); // AddStaticVehicle(562,-2394.6433,-610.0751,132.3088,34.3961,35,1); // AddStaticVehicle(451,-2392.5681,-599.1335,132.3545,121.4575,123,123); // AddStaticVehicle(562,-2399.4653,-613.3952,132.3400,34.5481,35,1); // AddStaticVehicle(565,-2395.8210,-594.0591,132.2708,123.2465,15,15); // AddStaticVehicle(565,-2400.5454,-586.8523,132.2711,123.2464,15,15); // AddStaticVehicle(562,-2689.8887,339.6859,3.9551,85.8006,11,1); // AddStaticVehicle(562,-2677.6155,338.7847,4.0398,85.8006,11,1); // AddStaticVehicle(562,-2721.9556,340.2604,3.9926,265.8544,11,1); // CreateObject(986, 1408.82, 1683.93, 9.81, 0.00, 0.00, 269.02); CreateObject(986, 1408.75, 1675.94, 9.81, 0.00, 0.00, 270.41); CreateObject(986, 1408.82, 1667.92, 9.81, 0.00, 0.00, 270.60); CreateObject(986, 1408.95, 1659.89, 9.81, 0.00, 0.00, 270.40); CreateObject(986, 1409.01, 1651.86, 9.81, 0.00, 0.00, 271.02); CreateObject(986, 1409.02, 1643.82, 9.82, 0.00, 0.00, 269.62); CreateObject(986, 1408.95, 1635.77, 9.81, 0.00, 0.00, 268.73); CreateObject(986, 1408.88, 1627.77, 9.81, 0.00, 0.00, 270.27); CreateObject(986, 1408.83, 1619.74, 9.84, 0.00, 0.00, 89.71); CreateObject(986, 1408.83, 1619.74, 9.84, 0.00, 0.00, 89.71); CreateObject(986, 1408.83, 1619.74, 9.84, 0.00, 0.00, 89.71); CreateObject(986, 1408.74, 1611.70, 9.81, 0.00, 0.00, 270.02); CreateObject(986, 1408.84, 1603.70, 9.81, 0.00, 0.00, 271.03); CreateObject(986, 1408.76, 1595.66, 9.82, 0.00, 0.00, 268.50); CreateObject(986, 1408.70, 1587.67, 9.81, 0.00, 0.00, 271.17); CreateObject(986, 1408.77, 1579.64, 9.81, 0.00, 0.00, 270.20); CreateObject(986, 1408.85, 1571.60, 9.82, 0.00, 0.00, 269.70); CreateObject(986, 1408.81, 1563.61, 9.81, 0.00, 0.00, 269.14); CreateObject(986, 1408.83, 1555.64, 9.81, 0.00, 0.00, 269.82); CreateObject(986, 1408.86, 1547.61, 9.81, 0.00, 0.00, 270.54); CreateObject(986, 1408.83, 1539.63, 9.81, 0.00, 0.00, 270.00); CreateObject(986, 1408.84, 1531.57, 9.82, 0.00, 0.00, 269.35); CreateObject(986, 1408.64, 1523.31, 9.81, 0.00, 0.00, 269.92); CreateObject(986, 1408.67, 1515.34, 9.81, 0.00, 0.00, 269.96); CreateObject(986, 1408.71, 1507.32, 9.79, 0.00, 0.00, 270.21); CreateObject(986, 1408.63, 1499.28, 9.81, 0.00, 0.00, 269.89); CreateObject(986, 1408.72, 1491.28, 9.81, 0.00, 0.00, 270.37); CreateObject(986, 1408.80, 1483.31, 9.81, 0.00, 0.00, 269.93); CreateObject(986, 1408.73, 1439.25, 9.81, 0.00, 0.00, 269.18); CreateObject(986, 1408.72, 1431.24, 9.81, 0.00, 0.00, 270.41); CreateObject(986, 1408.76, 1423.24, 9.81, 0.00, 0.00, 269.67); CreateObject(986, 1408.68, 1415.18, 9.83, 0.00, 0.00, 270.84); CreateObject(986, 1408.70, 1407.15, 9.81, 0.00, 0.00, 269.82); CreateObject(986, 1408.60, 1399.13, 9.81, 0.00, 0.00, 269.84); CreateObject(986, 1408.76, 1391.17, 9.78, 0.00, 0.00, 270.12); CreateObject(986, 1408.86, 1383.14, 9.73, 0.00, 0.00, 269.92); CreateObject(986, 1408.72, 1375.05, 9.75, 0.00, 0.00, 270.04); CreateObject(8148, 1257.08, 1443.49, 11.74, 0.00, 0.00, 0.00); CreateObject(986, 1408.76, 1367.05, 9.76, 0.00, 0.00, 270.40); CreateObject(986, 1408.78, 1359.02, 9.77, 0.00, 0.00, 269.89); CreateObject(986, 1408.79, 1351.00, 9.77, 0.00, 0.00, 270.20); CreateObject(986, 1408.82, 1342.98, 9.78, 0.00, 0.00, 270.08); CreateObject(986, 1408.74, 1334.97, 9.78, 0.00, 0.00, 269.71); CreateObject(986, 1408.71, 1326.95, 9.77, 0.00, 0.00, 270.37); CreateObject(986, 1408.79, 1318.98, 9.81, 0.00, 0.00, 270.13); CreateObject(986, 1408.85, 1311.00, 9.81, 0.00, 0.00, 270.48); CreateObject(986, 1409.17, 1302.96, 9.81, 0.00, 0.00, 274.21); CreateObject(986, 1411.16, 1295.35, 9.81, 0.00, 0.00, 294.81); CreateObject(986, 1415.59, 1288.78, 9.81, 0.00, 0.00, 313.06); CreateObject(986, 1421.91, 1284.05, 9.81, 0.00, 0.00, 333.88); CreateObject(986, 1429.42, 1281.47, 9.81, 0.00, 0.00, 347.91); CreateObject(986, 1437.26, 1281.40, 9.81, 0.00, 0.00, 11.32); CreateObject(986, 1444.69, 1284.12, 9.82, 0.00, 0.00, 29.48); CreateObject(986, 1450.74, 1289.14, 9.81, 0.00, 0.00, 49.58); CreateObject(986, 1455.02, 1295.81, 9.81, 0.00, 0.00, 65.21); CreateObject(986, 1457.01, 1303.40, 9.79, 0.00, 0.00, 84.16); CreateObject(986, 1457.44, 1311.39, 9.81, 0.00, 0.00, 89.88); CreateObject(986, 1457.45, 1319.39, 9.81, 0.00, 0.00, 90.28); CreateObject(986, 1457.49, 1327.44, 9.83, 0.00, 0.00, 90.79); CreateObject(986, 1457.46, 1335.42, 9.83, 0.00, 0.00, 89.90); CreateObject(986, 1457.50, 1343.41, 9.85, 0.00, 0.00, 89.93); CreateObject(986, 1457.54, 1351.44, 9.85, 0.00, 0.00, 89.64); CreateObject(986, 1457.48, 1359.42, 9.85, 0.00, 0.00, 90.12); CreateObject(986, 1457.44, 1367.42, 9.85, 0.00, 0.00, 89.85); CreateObject(986, 1457.48, 1375.45, 9.85, 0.00, 0.00, 90.07); CreateObject(986, 1457.53, 1383.49, 9.85, 0.00, 0.00, 89.96); CreateObject(986, 1457.54, 1391.49, 9.84, 0.00, 0.00, 90.78); CreateObject(986, 1457.48, 1399.49, 9.82, 0.00, 0.00, 89.51); CreateObject(986, 1457.56, 1407.47, 9.82, 0.00, 0.00, 89.57); CreateObject(986, 1457.56, 1415.47, 9.81, 0.00, 0.00, 90.29); CreateObject(986, 1457.48, 1423.48, 9.82, 0.00, 0.00, 90.16); CreateObject(986, 1457.47, 1431.50, 9.83, 0.00, 0.00, 89.77); CreateObject(986, 1457.35, 1439.20, 9.81, 0.00, 0.00, 91.78); CreateObject(986, 1457.41, 1487.22, 9.81, 0.00, 0.00, 89.60); CreateObject(986, 1457.42, 1495.22, 9.80, 0.00, 0.00, 90.39); CreateObject(986, 1457.41, 1503.24, 9.78, 0.00, 0.00, 89.78); CreateObject(986, 1457.43, 1511.26, 9.78, 0.00, 0.00, 89.84); CreateObject(986, 1457.47, 1519.26, 9.78, 0.00, 0.00, 89.74); CreateObject(986, 1457.50, 1527.27, 9.79, 0.00, 0.00, 90.04); CreateObject(986, 1457.48, 1535.29, 9.79, 0.00, 0.00, 90.17); CreateObject(986, 1457.51, 1543.32, 9.79, 0.00, 0.00, 89.62); CreateObject(986, 1457.53, 1551.32, 9.79, 0.00, 0.00, 90.24); CreateObject(986, 1457.47, 1559.28, 9.80, 0.00, 0.00, 90.06); CreateObject(986, 1457.42, 1567.29, 9.79, 0.00, 0.00, 90.53); CreateObject(986, 1457.37, 1575.27, 9.79, 0.00, 0.00, 90.04); CreateObject(986, 1457.56, 1583.32, 9.82, 0.00, 0.00, 90.35); CreateObject(986, 1457.57, 1591.30, 9.79, 0.00, 0.00, 89.45); CreateObject(986, 1457.55, 1599.32, 9.79, 0.00, 0.00, 91.11); CreateObject(986, 1457.47, 1607.36, 9.81, 0.00, 0.00, 89.75); CreateObject(986, 1457.56, 1615.31, 9.78, 0.00, 0.00, 89.05); CreateObject(986, 1457.67, 1623.27, 9.80, 0.00, 0.00, 89.40); CreateObject(986, 1457.72, 1631.26, 9.82, 0.00, 0.00, 90.07); CreateObject(986, 1457.66, 1639.22, 9.82, 0.00, 0.00, 90.89); CreateObject(986, 1457.59, 1647.24, 9.81, 0.00, 0.00, 90.29); CreateObject(986, 1457.52, 1655.25, 9.82, 0.00, 0.00, 90.40); CreateObject(986, 1457.56, 1663.22, 9.82, 0.00, 0.00, 89.09); CreateObject(986, 1457.59, 1671.21, 9.81, 0.00, 0.00, 90.59); CreateObject(986, 1457.57, 1679.20, 9.81, 0.00, 0.00, 89.82); CreateObject(986, 1457.23, 1687.16, 9.82, 0.00, 0.00, 94.28); CreateObject(986, 1455.74, 1694.98, 9.82, 0.00, 0.00, 107.18); CreateObject(986, 1452.04, 1701.90, 9.82, 0.00, 0.00, 128.87); CreateObject(986, 1446.27, 1707.31, 9.81, 0.00, 0.00, 145.01); CreateObject(986, 1439.09, 1710.56, 9.81, 0.00, 0.00, 164.57); CreateObject(986, 1431.20, 1711.33, 9.82, 0.00, 0.00, 4.17); CreateObject(986, 1423.58, 1709.41, 9.82, 0.00, 0.00, 204.43); CreateObject(986, 1417.09, 1704.92, 9.79, 0.00, 0.00, 224.31); CreateObject(986, 1412.27, 1698.68, 9.81, 0.00, 0.00, 239.78); CreateObject(986, 1409.74, 1691.79, 9.81, 0.00, 0.00, 76.95); CreateObject(8343, 1413.04, 1704.05, 9.82, 0.00, 0.00, 0.00); //-------------------------Gamemode Settings------------------------------------ SetGameModeText("Intersect Drifting/Freeroam Community"); ShowPlayerMarkers(1); ShowNameTags(1); AllowAdminTeleport(1); SetWorldTime(0); SetWeather(5); SetGravity(0.007900); EnableStuntBonusForAll(1); return 1; } public OnGameModeExit() { return 1; } public OnPlayerConnect(playerid) { new jstring[128]; new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); format(jstring, sizeof(jstring), " .:: ( %s ) Joined the Server ::.", playername); SendClientMessageToAll(COLOR_CONNECT, jstring); return 1; } public OnPlayerDisconnect(playerid, reason) { new dstring[128]; new playername[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername, sizeof(playername)); format(dstring, sizeof(dstring), " <<< ( %s ) Left the Server <<<", playername); SendClientMessageToAll(COLOR_DISCONNECT, dstring); return 1; } public OnPlayerSpawn(playerid) { SetPlayerInterior(playerid,0); TogglePlayerClock(playerid,0); GivePlayerMoney(playerid, PocketMoney); SetPlayerArmour(playerid,100); SetPlayerHealth(playerid,100); GivePlayerWeapon(playerid,22,500); SetPlayerPos(playerid,-2821.0317,1302.2627,7.1016); SetPlayerFacingAngle(playerid,266.3201); SendClientMessage(playerid, COLOR_GREEN,".:: Press 2 above 'W' to repair your vehicle, and press NUMPAD 6 to FLIP your vehicle! ::. "); return 1; } public OnPlayerDeath(playerid, killerid, reason) { GameTextForPlayer(playerid,"[Reaper: Wasted",4000,2); SendDeathMessage(killerid, playerid, reason); return 1; } public OnVehicleSpawn(vehicleid) { /* if(vehicleid == NAME1) { AddVehicleComponent(NAME1, 1036);//Right Alien Sideskirt AddVehicleComponent(NAME1, 1040);//Left Alien Sideskirt AddVehicleComponent(NAME1, 1034);//Alien Exhaust AddVehicleComponent(NAME1, 1172);//Front Bumper X-Flow AddVehicleComponent(NAME1, 1148);//Rear Bumper Alien AddVehicleComponent(NAME1, 1035);//X-Flow Roof Vent AddVehicleComponent(NAME1, Cutter_Wheel); } if(vehicleid == NAME2) { AddVehicleComponent(NAME2, 1149);//Rear Bumper Alien AddVehicleComponent(NAME2, 1172);//Front Bumper X-Flow AddVehicleComponent(NAME2, 1036);//Right Alien Sideskirt AddVehicleComponent(NAME2, 1040);//Left Alien Sideskirt AddVehicleComponent(NAME2, Mega_Wheel); } if(vehicleid == NAME3) { AddVehicleComponent(NAME3, 1149);//Rear Bumper Alien AddVehicleComponent(NAME3, 1172);//Front Bumper X-Flow AddVehicleComponent(NAME3, 1036);//Right Alien Sideskirt AddVehicleComponent(NAME3, 1040);//Left Alien Sideskirt AddVehicleComponent(NAME3, Cutter_Wheel); } if(vehicleid == NAME4) { AddVehicleComponent(NAME4, 1036);//Right Alien Sideskirt AddVehicleComponent(NAME4, 1040);//Left Alien Sideskirt AddVehicleComponent(NAME4, 1034);//Alien Exhaust AddVehicleComponent(NAME4, 1172);//Front Bumper X-Flow AddVehicleComponent(NAME4, 1148);//Rear Bumper Alien AddVehicleComponent(NAME4, 1035);//X-Flow Roof Vent AddVehicleComponent(NAME4, Rimshine_Wheel); } if(vehicleid == NAME5) { AddVehicleComponent(NAME5, 1149);//Rear Bumper Alien AddVehicleComponent(NAME5, 1172);//Front Bumper X-Flow AddVehicleComponent(NAME5, 1036);//Right Alien Sideskirt AddVehicleComponent(NAME5, 1040);//Left Alien Sideskirt AddVehicleComponent(NAME5, Cutter_Wheel); }*/ return 1; } // Remove if player donate (Give player a vehicle) public OnPlayerCommandText(playerid, cmdtext[]) { new cmd[128]; cmd = strtok(cmdtext, idx); if (strcmp(cmdtext, "/rules", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,".:: =============================================================== ::."); SendClientMessage(playerid, COLOR_GREEN,".:: Any form of Hacking / Cheating is NOT tolerated here! ::."); SendClientMessage(playerid, COLOR_GREEN,".:: Hacking will result in a BAN ::."); SendClientMessage(playerid, COLOR_GREEN,".:: Respect each and every person! That means EVERYONE, not just admins! ::."); SendClientMessage(playerid, COLOR_GREEN,".:: No DeathMatching! DM will result in Jail punishment or Kick ::."); SendClientMessage(playerid, COLOR_GREEN,".:: Always respect the admin's decision! ::."); SendClientMessage(playerid, COLOR_GREEN,".:: Do not beg for Trusted Drifter status! ::."); SendClientMessage(playerid, COLOR_GREEN,".:: For more rules, please visit the forums! Sincerely , The Owners! :) ::."); SendClientMessage(playerid, COLOR_GREEN,".:: =============================================================== ::."); return 1; } if (strcmp(cmdtext, "/cmds", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,".:: =============================================================== ::."); SendClientMessage(playerid, COLOR_GREEN,".:: ===================COMMANDS FOR INTERSECT DRIFTING COMMUNITY===================== ::."); SendClientMessage(playerid, COLOR_GREEN,".:: /Rules , /Donate , /NEWS , /S AND /L , /Credits ::."); SendClientMessage(playerid, COLOR_GREEN,".::-----------------------------------------------------------------::."); SendClientMessage(playerid, COLOR_GREEN,".::¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤ - TELES - ¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤::."); SendClientMessage(playerid, COLOR_GREEN,".:: =============================================================== ::."); SendClientMessage(playerid, COLOR_GREEN,".:: /SF, /LVAIR ::."); return 1; } if (strcmp(cmdtext, "/donate", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,".:: =============================================================== ::."); SendClientMessage(playerid, COLOR_GREEN,".:: ===================DONATION TO INTERSECT DRIFTING COMMUNITY====================== ::."); SendClientMessage(playerid, COLOR_GREEN,".:: Here at Intersect Drifting Community we always have monthly offers/deals! ::."); SendClientMessage(playerid, COLOR_GREEN,".:: By donating you can recieve various things such as your own vehicles, your own houses or even donater status! ::."); SendClientMessage(playerid, COLOR_GREEN,".:: For more information about server donating, please visit our forums! ::."); SendClientMessage(playerid, COLOR_GREEN,".:: =============================================================== ::."); return 1; } if (strcmp(cmdtext, "/changelog", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,".:: Now at Intersect Drifting v0.1 we now have fixed teleports! ::."); SendClientMessage(playerid, COLOR_GREEN,".:: We also have a new and enhanced Admin System! ::."); SendClientMessage(playerid, COLOR_GREEN,".:: Aswell as new player commands! ::."); SendClientMessage(playerid, COLOR_GREEN,".:: For more changes check changelog next week! ::."); return 1; } if (strcmp(cmdtext, "/Credits", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,".:: Thanks to Marc_Obeles for helping us with The Reserved Vehicles! ::."); SendClientMessage(playerid, COLOR_GREEN,".:: Intersect Drifting Community is originally scripted by CirCuz / Kudoz and enhanced/edited by Intersect/Vasu! ::."); return 1; } if(strcmp(cmdtext, "/s", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Your current position was saved! To teleport back here type /l!"); if(IsPlayerInAnyVehicle(playerid)) { new VehicleID; VehicleID = GetPlayerVehicleID(playerid); GetVehiclePos(VehicleID, posx[playerid], posy[playerid], posz[playerid]); GetVehicleZAngle(VehicleID, zangle[playerid]); } else { GetPlayerPos(playerid, posx[playerid], posy[playerid], posz[playerid]); GetPlayerFacingAngle(playerid, zangle[playerid]); } return 1; } if(strcmp(cmdtext, "/l", true) == 0) { SendClientMessage(playerid, COLOR_GREEN, "Your saved position was loaded!"); if(IsPlayerInAnyVehicle(playerid)) { new VehicleID = GetPlayerVehicleID(playerid); SetVehiclePos(VehicleID, posx[playerid], posy[playerid], posz[playerid]); SetVehicleZAngle(VehicleID, zangle[playerid]); } else { SetPlayerPos(playerid, posx[playerid], posy[playerid], posz[playerid]); SetPlayerFacingAngle(playerid, zangle[playerid]); } return 1; } /* if(strcmp(cmd, "/myveh", true) == 0) { new Float:X,Float:Y,Float:Z; new tname[MAX_PLAYER_NAME]; GetPlayerName(playerid, tname, sizeof(tname)); if(strcmp(tname,"NAME1", true) == 0) { GetPlayerPos(playerid, X,Y,Z); SetVehiclePos(NAME1, X+3, Y+3, Z); } if(strcmp(tname,"NAME2", true) == 0) { GetPlayerPos(playerid, X,Y,Z); SetVehiclePos(NAME2, X+3, Y+3, Z); } if(strcmp(tname,"NAME3", true) == 0) { GetPlayerPos(playerid, X,Y,Z); SetVehiclePos(NAME3, X+3, Y+3, Z); } if(strcmp(tname,"NAME4", true) == 0) { GetPlayerPos(playerid, X,Y,Z); SetVehiclePos(NAME4, X+3, Y+3, Z); } if(strcmp(tname,"NAME5", true) == 0) { GetPlayerPos(playerid, X,Y,Z); SetVehiclePos(NAME5, X+3, Y+3, Z); } else { SendClientMessage(playerid, COLOR_GREEN, "If you have a reserved Vehicle, it is now spawned!"); } return 1; }*/ return 0; } // Remve if player donate (Give player a vehicle) //Administrator Commands// if(AdminLevel[playerid] >= 1) { dcmd(adcmds,6,cmdtext); dcmd(admute,6,cmdtext); dcmd(adunmute,8,cmdtext); dcmd(adwarn,6,cmdtext); dcmd(admsg,5,cmdtext); if(AdminLevel[playerid] >= 2) { dcmd(adfreeze,8,cmdtext); dcmd(adunfreeze,10,cmdtext); } if(AdminLevel[playerid] >= 3) { dcmd(adjail,6,cmdtext); dcmd(adan,4,cmdtext); dcmd(adannounce,10,cmdtext); dcmd(adkick,6,cmdtext); } if(AdminLevel[playerid] >= 4) { dcmd(adblow,6,cmdtext); dcmd(adban,5,cmdtext); dcmd(adspec,6,cmdtext); dcmd(adspecoff,9,cmdtext); dcmd(adkill,6,cmdtext); dcmd(adgivecash,10,cmdtext); dcmd(adgc,4,cmdtext); } if(AdminLevel[playerid] >= 5) { dcmd(adon,4,cmdtext); dcmd(adoff,5,cmdtext); dcmd(adgoto,6,cmdtext); dcmd(adget,5,cmdtext); dcmd(adreg,5,cmdtext); dcmd(adunreg,7,cmdtext); dcmd(adarmy,6,cmdtext); dcmd(adunarmy,8,cmdtext); dcmd(adNCIS,6,cmdtext); dcmd(adunNCIS,7,cmdtext); dcmd(adgiveweapon,12,cmdtext); dcmd(adjetpack,9,cmdtext); } if(AdminLevel[playerid] == 1337) { dcmd(adsetlevel,10,cmdtext); } } return SendClientMessage(playerid,COLOR_RED,"Wrong command. This command is not found. Type /commands for a list of commands."); } dcmd_adcmds(playerid,params[]) { #pragma unused params if(AdminLevel[playerid] == 1) { ShowPlayerDialog(playerid,DIALOG_ADCMDS,DIALOG_STYLE_MSGBOX,"{10F441}ADMINISTRATOR Level 1 COMMANDS:","{FFFFFF}/admsg /adwarn /ad(un)mute","Ok","Cancel"); } if(AdminLevel[playerid] == 2) { ShowPlayerDialog(playerid,DIALOG_ADCMDS,DIALOG_STYLE_MSGBOX,"{10F441}ADMINISTRATOR Level 2 COMMANDS:","{FFFFFF}/ad(un)freeze /admsg /adwarn /adsethealth /ad(un)mute","Ok","Cancel"); } if(AdminLevel[playerid] == 3) { ShowPlayerDialog(playerid,DIALOG_ADCMDS,DIALOG_STYLE_MSGBOX,"{10F441}ADMINISTRATOR Level 3 COMMANDS:","{FFFFFF}/adkick /adan(nounce)\n/adjail /adsethealth /ad(un)freeze /admsg /adwarn /ad(un)mute","Ok","Cancel"); } if(AdminLevel[playerid] == 4) { ShowPlayerDialog(playerid,DIALOG_ADCMDS,DIALOG_STYLE_MSGBOX,"{10F441}ADMINISTRATOR Level 4 COMMANDS:","{FFFFFF}/adg(ive)c(ash) /adkill /adspec /adspecoff /adsethealth /adban /adblow /adkick /adan(nounce)\n/adjail /ad(un)freeze /admsg /adwarn /ad(un)mute","Ok","Cancel"); } if(AdminLevel[playerid] == 5) { ShowPlayerDialog(playerid,DIALOG_ADCMDS,DIALOG_STYLE_MSGBOX,"{10F441}ADMINISTRATOR Level 5 COMMANDS:","{FFFFFF}/adjetpack /adgiveweapon /ad(un)NCIS /ad(un)army /adsethealth /ad(un)reg /adget /adgoto /adoff /adon\n/adg(ive)c(ash) /adkill /adspec /adspecoff /adban /adblow /adkick /adan(nounce)\n/adjail /ad(un)freeze /admsg /adwarn /ad(un)mute","Ok","Cancel"); } if(AdminLevel[playerid] == 1337) { ShowPlayerDialog(playerid,DIALOG_ADCMDS,DIALOG_STYLE_MSGBOX,"{10F441}ADMINISTRATOR Level 1337 COMMANDS:","{FFFFFF}/adsetlevel /adjetpack /adgiveweapon /adsethealth /ad(un)NCIS /ad(un)army /ad(un)reg /adget /adgoto /adoff /adon\n/adg(ive)c(ash) /adkill /adspec /adspecoff /adban /adblow /adkick /adan(nounce)\n/adjail /ad(un)freeze /admsg /adwarn /ad(un)mute","Ok","Cancel"); } return 1; } dcmd_adjetpack(playerid,params[]) { #pragma unused params SetPlayerSpecialAction(playerid,2); return 1; } dcmd_adgiveweapon(playerid,params[]) { new string[128]; new ID; new Ammo; new Wepid; if(sscanf(params,"uii",ID,Wepid,Ammo)) { SendClientMessage(playerid,COLOR_ERROR,"USAGE: /adgiveweapon (Player Name/ID) (Weapon ID) (Ammo)"); return 1; } if(IsSpawned[ID] == 0) { format(string,sizeof(string),"%s(%d) is must be alive and spawned in order to give them a weapon.",PlayerName(ID),ID); SendClientMessage(playerid,COLOR_ERROR,string); return 1; } if(!IsPlayerConnected(ID)) { format(string,sizeof(string),"The Player ID (%d) is not connected to the server.",ID); SendClientMessage(playerid,COLOR_ERROR,string); return 1; } GivePlayerWeapon(ID,Wepid,Ammo); format(string,sizeof(string),"[ADMIN WEAPON] Administrator has given you a weapon. Weapon: %s. Ammo: %d.",aWeaponNames[Wepid],Ammo); SendClientMessage(ID,COLOR_ADMIN,string); format(string,sizeof(string),"[ADMIN WEAPON] You have given %s(%d) a weapon. Weapon: %s. Ammo: %d.",PlayerName(ID),ID,aWeaponNames[Wepid],Ammo); SendClientMessage(playerid,COLOR_ADMIN,string); format(string,sizeof(string),"9[ADMIN WEAPON] Administrator %s(%d) has given %s(%d) a weapon. Weapon: %s. Ammo: %d.",PlayerName(playerid),playerid,PlayerName(ID),ID,aWeaponNames[Wepid],Ammo); IRC_GroupSay(gGroupAdminID,IRC_ADMINCHANNEL,string); return 1; } dcmd_adgivecash(playerid,params[]) { new ID; new Cash; new string[128]; if(sscanf(params,"ui",ID,Cash)) { SendClientMessage(playerid,COLOR_ERROR,"USAGE: /adg(ive)c(ash) (Player Name/ID) (Amount)"); return 1; } if(IsSpawned[ID] == 0) { format(string,sizeof(string),"%s(%d) is must be alive and spawned in order to give them cash.",PlayerName(ID),ID); SendClientMessage(playerid,COLOR_ERROR,string); return 1; } if(!IsPlayerConnected(ID)) { format(string,sizeof(string),"The Player ID (%d) is not connected to the server.",ID); SendClientMessage(playerid,COLOR_ERROR,string); return 1; } GivePlayerMoney(ID,Cash); format(string,sizeof(string),"[ADMIN CASH] Administrator has given you Cash. Amount: %d.",Cash); SendClientMessage(ID,COLOR_ADMIN,string); format(string,sizeof(string),"[ADMIN CASH] You have given %s(%d) Cash. Amount: %d.",PlayerName(ID),ID,Cash); SendClientMessage(playerid,COLOR_ADMIN,string); format(string,sizeof(string),"9[ADMIN CASH] Administrator %s(%d) has given %s(%d) Cash. Amount: %d.",PlayerName(playerid),playerid,PlayerName(ID),ID,Cash); IRC_GroupSay(gGroupAdminID,IRC_ADMINCHANNEL,string); return 1; } dcmd_adgc(playerid,params[]) return dcmd_adgivecash(playerid,params); dcmd_adjail(playerid,params[]) { new string[128]; new ID; new cmdtime; if(sscanf(params, "ui", ID, cmdtime)) { SendClientMessage(playerid,COLOR_ERROR,"USAGE: /adjail (Player Name/ID) (Seconds)"); return 1; } if(!IsPlayerConnected(ID)) { format(string,sizeof(string),"The player ID (%d) is not connected to the server. You cannot jail them."); SendClientMessage(playerid,COLOR_ERROR,string); return 1; } if(IsSpawned[ID] != 1) { format(string,sizeof(string),"%s(%d) is not spawned. You cannot jail them."); SendClientMessage(playerid,COLOR_ERROR,string); return 1; } format(string,sizeof(string),"[ADMIN] Administrator has jailed %s(%d) to San Fierro Prison for %d seconds.",PlayerName(ID),ID,cmdtime); SendClientMessageToAll(COLOR_ADMIN,string); format(string,sizeof(string),"9[ADMIN] Administrator has jailed %s(%d) to San Fierro Prison for %d seconds.",PlayerName(ID),ID,cmdtime); } public OnPlayerUpdate(playerid) { if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK) { SendClientMessageToAll(COLOR_GREEN, "( %s ) was Banned by Intersect Drifting Community's Chuck_Norris! [REASON: Jetpack]"); Ban(playerid); } return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { new vehicleid = GetPlayerVehicleID(playerid); if(newkeys & FlipKey) // Flip { new Float:X, Float:Y, Float:Z, Float:Angle; GetPlayerPos(playerid, X, Y, Z); GetVehicleZAngle(vehicleid, Angle); SetVehiclePos(vehicleid, X, Y, Z); SetVehicleZAngle(vehicleid, Angle); } if(newkeys & FixKey) // Fix { RepairVehicle(GetPlayerVehicleID(playerid)); } if (PRESSED(KEY_FIRE)) { if (IsPlayerInAnyVehicle(playerid)) { if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { AddVehicleComponent(GetPlayerVehicleID(playerid), 1010); } } } return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } forward SetupPlayerForClassSelection(playerid); public SetupPlayerForClassSelection(playerid) { SetPlayerInterior(playerid,14); SetPlayerPos(playerid,258.4893,-41.4008,1002.0234); SetPlayerFacingAngle(playerid, 270.0); SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234); SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234); } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 2520.1550,-1671.1104,19.4203); SetPlayerFacingAngle(playerid,270); SetPlayerCameraPos(playerid, 2524.1550,-1671.1104,19.9203); SetPlayerCameraLookAt(playerid, 2520.1550,-1671.1104,19.4203); return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { /* new PlayerName[24]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); if(newstate == PLAYER_STATE_DRIVER) { new Vehicle = GetPlayerVehicleID(playerid); if(Vehicle == NAME1) { if(strcmp(PlayerName,"NAME1",true)) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "This car is reserved for: NAME1"); } } if(Vehicle == NAME2) { if(strcmp(PlayerName,"NAME2",true)) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "This car is reserved for: NAME2"); } } if(Vehicle == NAME3) { if(strcmp(PlayerName,"NAME3",true)) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "This car is reserved for: NAME3"); } } if(Vehicle == NAME4) { if(strcmp(PlayerName,"NAME4",true)) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "This car is reserved for: NAME4"); } } if(Vehicle == NAME5) { if(strcmp(PlayerName,"NAME5",true)) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREEN, "This car is reserved for: NAME5"); } } }*/ return 1; } // Remove if player donate (Give player a vehicle) strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[30]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; }
//add this line on the top of your script
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1