Help 26 Errors! [+ Rep] -
DJTunes - 02.01.2013
Pawno Compiler:
Код:
C:\Users\Zach\Documents\MW\MW.pwn(87) : warning 235: public function lacks forward declaration (symbol "SendMSG")
C:\Users\Zach\Documents\MW\MW.pwn(124) : warning 217: loose indentation
C:\Users\Zach\Documents\MW\MW.pwn(208) : warning 217: loose indentation
C:\Users\Zach\Documents\MW\MW.pwn(284) : warning 217: loose indentation
C:\Users\Zach\Documents\MW\MW.pwn(318) : warning 217: loose indentation
C:\Users\Zach\Documents\MW\MW.pwn(318) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(318) : error 004: function "OnPlayerEnterVehicle" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(323) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(323) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(323) : error 004: function "OnPlayerExitVehicle" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(328) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(328) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(328) : error 004: function "OnPlayerStateChange" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(333) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(333) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(333) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(338) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(338) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(338) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(343) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(343) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(343) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(348) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(348) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(348) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(353) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(353) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(353) : error 004: function "OnRconCommand" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(358) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(358) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(358) : error 004: function "OnPlayerRequestSpawn" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(363) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(363) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(363) : error 004: function "OnObjectMoved" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(368) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(368) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(368) : error 004: function "OnPlayerObjectMoved" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(373) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(373) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(373) : error 004: function "OnPlayerPickUpPickup" is not implemented
C:\Users\Zach\Documents\MW\MW.pwn(378) : warning 225: unreachable code
C:\Users\Zach\Documents\MW\MW.pwn(378) : error 029: invalid expression, assumed zero
C:\Users\Zach\Documents\MW\MW.pwn(378) : error 004: function "OnVehicleMod" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Pawno Script:
pawn Код:
//---------------------------------------------------------------//#define FILTERSCRIPT//---------------------------------------------------------------// Includes//---------------------------------------------------------------#include <a_samp>//---------------------------------------------------------------// Variables//---------------------------------------------------------------// Automatic Gates//---------------------------//---------------------------// Text Draws//---------------------------new Text:gMyText;
new Text:MyText;
new Text:MW1;
//---------------------------------------------------------------// Defines//---------------------------------------------------------------// Color Defines//---------------------------#define COLOR_GRAD1 0xB4B5B7FF#define COLOR_GRAD2 0xBFC0C2FF#define COLOR_GRAD3 0xCBCCCEFF#define COLOR_GRAD4 0xD8D8D8FF#define COLOR_GRAD5 0xE3E3E3FF#define COLOR_GRAD6 0xF0F0F0FF#define COLOR_GREY 0xAFAFAFAA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xAA3333AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_FADE1 0xE6E6E6E6#define COLOR_FADE2 0xC8C8C8C8#define COLOR_FADE3 0xAAAAAAAA#define COLOR_FADE4 0x8C8C8C8C#define COLOR_FADE5 0x6E6E6E6E#define COLOR_PURPLE 0xC2A2DAAA#define COLOR_DBLUE 0x2641FEAA#define COLOR_ALLDEPT 0xFF8282AA//---------------------------// Dialogs//---------------------------#define SVRRULES 1//---------------------------//FILTERSCRIPT DEFINES//---------------------------#if defined FILTERSCRIPT//---------------------------//---------------------------------------------------------------// Forwards//---------------------------forward SendMSG
();
//---------------------------------------------------------------public OnFilterScriptInit
(){ print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}//---------------------------------------------------------------public OnFilterScriptExit
(){ return 1;
}//---------------------------------------------------------------#else//---------------------------------------------------------------main
(){ print("\n----------------------------------");
print(" Modern Warfare by DJTunes aka Tunes");
print("----------------------------------\n");
}//---------------------------------------------------------------#endif//---------------------------------------------------------------new RandomMSG
[][] ={ "Please don't break our rules, also do not spawn kill, or team kill.",
"Breaking the rules will cause you to get warned, kicked, or even banned.",
"Be sure to join our forums: www.tacticalcommunity.createaforum.com"};
//---------------------------------------------------------------public SendMSG
(){ new randMSG
= random(sizeof(RandomMSG
));
SendClientMessageToAll
(COLOR_RED, RandomMSG
[randMSG
]);
// Replace the "COLOR" with your defined color.}//---------------------------------------------------------------public OnGameModeInit
(){ MW1
= TextDrawCreate
(371 ,
453 ,
"Modern Warfare");
TextDrawFont
(MW1 ,
1);
TextDrawLetterSize
(MW1 ,
1,
7);
TextDrawColor
(MW1 , 0x53a31dFF
);
TextDrawSetOutline
(MW1 , false
);
TextDrawSetProportional
(MW1 , true
);
TextDrawSetShadow
(MW1 ,
1);
//Text Draws gMyText
= TextDrawCreate
(371,
453,
"Modern Warfare");
//Text Draw Create MyText
= TextDrawCreate
(371,
453,
"Modern Warfare");
SetGameModeText
("Project Modern Warfare");
//Random Message Timer SetTimer
("SendMSG",
60000, true
);
//Classes AddPlayerClass
(287,
201.1741,
1869.4302,
13.1406,
265.2041,
31,
200,
29,
200,
24,
300);
// //American Spawnpoint - Area 51 AddPlayerClass
(179,
1042.8230,
1010.9085,
11.0000,
326.6804,
25,
200,
30,
200,
24,
300);
// // Russian Spawnpoint - Hospital in Desert AddPlayerClass
(285,
-2431.9338,
2320.7468,
4.9872,
0.1684,
31,
200,
29,
200,
27,
100);
// //France Spawnpoint - Bayside //Vehicles //------// //United States (Area 51 Map) & Germany (Desert Hospital Map)AddStaticVehicleEx
(581,
218.5000000,
1859.3000488,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400AddStaticVehicleEx
(581,
216.3999939,
1859.1999512,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400AddStaticVehicleEx
(581,
222.8000031,
1859.4000244,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400AddStaticVehicleEx
(581,
220.8999939,
1859.3000488,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400AddStaticVehicleEx
(581,
214.3000031,
1859.1999512,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400AddStaticVehicleEx
(581,
211.6000061,
1858.8000488,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400AddStaticVehicleEx
(581,
225.1999969,
1859.5000000,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400AddStaticVehicleEx
(470,
205.8999939,
1859.1999512,
13.3000002,
266.0000000,
95,
10,
15);
//PatriotAddStaticVehicleEx
(470,
206.5000000,
1864.6999512,
13.3000002,
265.9954834,
95,
10,
15);
//PatriotAddStaticVehicleEx
(432,
146.6000061,
1951.5999756,
19.3999996,
0.0000000,
95,
10,
15);
//RhinoAddStaticVehicleEx
(432,
152.1000061,
1951.4000244,
19.3999996,
0.0000000,
95,
10,
15);
//RhinoAddStaticVehicleEx
(432,
157.6000061,
1951.5000000,
19.3999996,
0.0000000,
95,
10,
15);
//RhinoAddStaticVehicleEx
(432,
163.6000061,
1951.8000488,
19.3999996,
0.0000000,
95,
10,
15);
//RhinoAddStaticVehicleEx
(432,
170.3999939,
1951.8000488,
19.3999996,
0.0000000,
95,
10,
15);
//RhinoAddStaticVehicleEx
(433,
203.5000000,
1883.6999512,
18.2000008,
0.0000000,
95,
10,
15);
//BarracksAddStaticVehicleEx
(433,
203.8000031,
1896.3000488,
18.2000008,
0.0000000,
95,
10,
15);
//BarracksAddStaticVehicleEx
(433,
226.6999969,
1894.4000244,
18.2000008,
0.0000000,
95,
10,
15);
//BarracksAddStaticVehicleEx
(433,
227.0000000,
1883.4000244,
18.2000008,
0.0000000,
95,
10,
15);
//BarracksAddStaticVehicleEx
(429,
185.6999969,
1927.5000000,
17.5000000,
0.0000000,
70,
89,
15);
//BansheeAddStaticVehicleEx
(429,
181.8999939,
1927.4000244,
17.5000000,
0.0000000,
70,
89,
15);
//BansheeAddStaticVehicleEx
(429,
178.1999969,
1927.0999756,
17.7999992,
0.0000000,
70,
89,
15);
//BansheeAddStaticVehicleEx
(429,
175.0000000,
1926.8000488,
17.7999992,
0.0000000,
70,
89,
15);
//BansheeAddStaticVehicleEx
(429,
171.8000031,
1926.5000000,
17.7999992,
0.0000000,
70,
89,
15);
//BansheeAddStaticVehicleEx
(417,
140.1000061,
1931.1999512,
19.2000008,
268.0000000,
-1,
-1,
15);
//LeviathanAddStaticVehicleEx
(447,
121.9000015,
1895.1999512,
18.6000004,
266.0000000,
32,
32,
15);
//SeasparrowAddStaticVehicleEx
(447,
122.4000015,
1909.0000000,
18.6000004,
266.0000000,
32,
32,
15);
//SeasparrowAddStaticVehicleEx
(497,
114.3000031,
1828.6999512,
17.8999996,
0.0000000,
-1,
-1,
15);
//Police MaverickAddStaticVehicleEx
(447,
155.3999939,
1808.0000000,
17.7000008,
268.0000000,
32,
32,
15);
//SeasparrowAddStaticVehicleEx
(425,
113.4000015,
1851.5000000,
18.5000000,
0.0000000,
95,
10,
15);
//HunterAddStaticVehicleEx
(548,
132.8999939,
1807.4000244,
19.5000000,
270.0000000,
245,
245,
15);
//CargobobAddStaticVehicleEx
(409,
174.0000000,
1808.0999756,
17.6000004,
0.0000000,
245,
245,
15);
//StretchAddStaticVehicleEx
(409,
181.1999969,
1808.4000244,
17.6000004,
0.0000000,
245,
245,
15);
//StretchAddStaticVehicleEx
(409,
188.8000031,
1809.0999756,
17.6000004,
0.0000000,
245,
245,
15);
//StretchAddStaticVehicleEx
(409,
166.1999969,
1808.0000000,
17.6000004,
0.0000000,
245,
245,
15);
//StretchAddStaticVehicleEx
(409,
196.8000031,
1809.0999756,
17.6000004,
0.0000000,
245,
245,
15);
//StretchAddStaticVehicleEx
(528,
232.0000000,
1807.0000000,
17.7999992,
0.0000000,
-1,
-1,
15);
//FBI TruckAddStaticVehicleEx
(528,
239.6000061,
1807.0999756,
17.7999992,
0.0000000,
-1,
-1,
15);
//FBI TruckAddStaticVehicleEx
(528,
248.6999969,
1807.4000244,
17.7999992,
0.0000000,
-1,
-1,
15);
//FBI TruckAddStaticVehicleEx
(528,
244.5000000,
1807.0000000,
17.7999992,
0.0000000,
-1,
-1,
15);
//FBI TruckAddStaticVehicleEx
(520,
282.1000061,
1955.5999756,
19.7000008,
268.0000000,
-1,
-1,
15);
//HydraAddStaticVehicleEx
(476,
278.2999878,
1983.0000000,
18.7999992,
304.0000000,
167,
162,
15);
//RustlerAddStaticVehicleEx
(476,
276.5000000,
1997.6999512,
18.7999992,
233.9971924,
167,
162,
15);
//RustlerAddStaticVehicleEx
(593,
277.1000061,
2016.1999512,
18.2000008,
312.0000000,
37,
37,
15);
//DodoAddStaticVehicleEx
(593,
276.2999878,
2032.4000244,
18.2000008,
231.9952393,
37,
37,
15);
//DodoAddStaticVehicleEx
(553,
308.7000122,
2043.4000244,
19.8999996,
179.9999390,
140,
146,
15);
//NevadaAddStaticVehicleEx
(520,
328.7000122,
1979.6999512,
19.7000008,
0.0000000,
-1,
-1,
15);
//HydraAddStaticVehicleEx
(520,
345.7000122,
1979.5000000,
19.7000008,
0.0000000,
-1,
-1,
15);
//HydraAddStaticVehicleEx
(520,
346.3999939,
1953.9000244,
19.7000008,
184.0000000,
-1,
-1,
15);
//HydraAddStaticVehicleEx
(520,
328.3999939,
1955.1999512,
19.7000008,
177.9999390,
-1,
-1,
15);
//HydraAddStaticVehicleEx
(447,
998.5999756,
1077.9000244,
10.8999996,
0.0000000,
32,
32,
15);
//SeasparrowAddStaticVehicleEx
(447,
983.4000244,
1078.6999512,
10.8999996,
0.0000000,
32,
32,
15);
//SeasparrowAddStaticVehicleEx
(447,
983.2999878,
1095.5000000,
10.8999996,
0.0000000,
32,
32,
15);
//SeasparrowAddStaticVehicleEx
(447,
998.4000244,
1096.6999512,
10.8999996,
0.0000000,
32,
32,
15);
//SeasparrowAddStaticVehicleEx
(447,
998.5999756,
1115.0000000,
10.8999996,
0.0000000,
32,
32,
15);
//SeasparrowAddStaticVehicleEx
(447,
983.5999756,
1114.8000488,
10.8999996,
0.0000000,
32,
32,
15);
//SeasparrowAddStaticVehicleEx
(520,
987.7999878,
1144.5000000,
12.8999996,
0.0000000,
-1,
-1,
15);
//HydraAddStaticVehicleEx
(520,
1006.0999756,
1146.3000488,
12.8999996,
0.0000000,
-1,
-1,
15);
//HydraAddStaticVehicleEx
(470,
1022.5000000,
1098.8000488,
11.1000004,
252.0000000,
95,
10,
15);
//PatriotAddStaticVehicleEx
(470,
1024.9000244,
1104.1999512,
11.1000004,
251.9989014,
95,
10,
15);
//PatriotAddStaticVehicleEx
(470,
1027.1999512,
1109.0999756,
11.1000004,
251.9989014,
95,
10,
15);
//PatriotAddStaticVehicleEx
(470,
1017.7000122,
1086.0999756,
11.1000004,
259.9989014,
95,
10,
15);
//PatriotAddStaticVehicleEx
(470,
1017.9000244,
1079.4000244,
11.1000004,
259.9989014,
95,
10,
15);
//PatriotAddStaticVehicleEx
(470,
1017.7999878,
1072.8000488,
11.1000004,
259.9969482,
95,
10,
15);
//PatriotAddStaticVehicleEx
(432,
1084.3000488,
1035.0999756,
10.3999996,
353.9999390,
95,
10,
15);
//RhinoAddStaticVehicleEx
(432,
1085.4000244,
1049.8000488,
10.3999996,
353.9959717,
95,
10,
15);
//RhinoAddStaticVehicleEx
(432,
1075.6999512,
1051.0000000,
10.3999996,
353.9959717,
95,
10,
15);
//RhinoAddStaticVehicleEx
(432,
1073.8000488,
1035.4000244,
10.3999996,
353.9959717,
95,
10,
15);
//RhinoAddStaticVehicleEx
(432,
1093.5000000,
1034.1999512,
10.3999996,
353.9959717,
95,
10,
15);
//RhinoAddStaticVehicleEx
(432,
1095.4000244,
1049.8000488,
10.3999996,
353.9959717,
95,
10,
15);
//RhinoAddStaticVehicleEx
(490,
1120.9000244,
1013.7000122,
11.3000002,
32.0000000,
-1,
-1,
15);
//FBI RancherAddStaticVehicleEx
(490,
1115.6999512,
1010.5000000,
11.3000002,
31.9976807,
-1,
-1,
15);
//FBI RancherAddStaticVehicleEx
(490,
1108.8000488,
1005.7999878,
11.3000002,
31.9976807,
-1,
-1,
15);
//FBI RancherAddStaticVehicleEx
(506,
1139.9000244,
1026.6999512,
10.8000002,
40.0000000,
132,
4,
15);
//Super GTAddStaticVehicleEx
(506,
1135.6999512,
1023.5999756,
10.8000002,
39.9957275,
132,
4,
15);
//Super GTAddStaticVehicleEx
(506,
1129.9000244,
1019.2999878,
10.8000002,
39.9957275,
132,
4,
15);
//Super GTAddStaticVehicleEx
(603,
1148.5999756,
1034.9000244,
11.0000000,
70.0000000,
109,
24,
15);
//PhoenixAddStaticVehicleEx
(603,
1151.1999512,
1042.4000244,
11.0000000,
70.0000000,
109,
24,
15);
//PhoenixAddStaticVehicleEx
(603,
1153.4000244,
1048.8000488,
11.0000000,
70.0000000,
109,
24,
15);
//PhoenixAddStaticVehicleEx
(488,
1120.8000488,
1069.9000244,
10.3999996,
0.0000000,
42,
119,
15);
//News ChopperAddStaticVehicleEx
(488,
1135.6999512,
1070.5999756,
10.3999996,
0.0000000,
42,
119,
15);
//News ChopperAddStaticVehicleEx
(425,
1084.5000000,
1105.8000488,
11.1000004,
0.0000000,
95,
10,
15);
//HunterAddStaticVehicleEx
(425,
1102.9000244,
1101.1999512,
11.1000004,
0.0000000,
95,
10,
15);
//Hunter//-------------------------------------------------------------------------------------------------////Automatically Open, and Close Gates return 1;
}//-------------------------------------------------------------------------------------------------//public OnGameModeExit
(){ return 1;
}//-------------------------------------------------------------------------------------------------////Choose A Team Menu//-------------------------------------------------------------------------------------------------//public OnPlayerRequestClass
(playerid, classid
){ SetPlayerPos
(playerid,
1958.3783,
1343.1572,
15.3746);
SetPlayerCameraPos
(playerid,
1958.3783,
1343.1572,
15.3746);
SetPlayerCameraLookAt
(playerid,
1958.3783,
1343.1572,
15.3746);
//-------------------------------------------------------------------------------------------------////Classes//-------------------------------------------------------------------------------------------------// switch (classid
) { case 0: { GameTextForPlayer
(playerid,
"~b~America",
3000,
5);
} case 1: { GameTextForPlayer
(playerid,
"~r~Russia",
3000,
5);
} case 2: { GameTextForPlayer
(playerid,
"~g~France",
3000,
5);
} } return 1;
}//-------------------------------------------------------------------------------------------------////When someone connects to the server//-------------------------------------------------------------------------------------------------//public OnPlayerConnect
(playerid
){ //Welcome Message new string
[64], pName
[MAX_PLAYER_NAME
];
GetPlayerName
(playerid,pName,MAX_PLAYER_NAME
);
format(string,
sizeof string,
"%s has joined Modern Warfare. Welcome!",pName
);
SendClientMessageToAll
(0xFFFFFFAA,string
);
TextDrawShowForPlayer
(playerid, gMyText
);
ShowPlayerDialog
(playerid, SVRRULES, DIALOG_STYLE_MSGBOX,
"Server Rules",
"You must agree with these rules.\n1. Do not team kill\n2. Do not base rape\n3. Do not spawn kill\n4. You will respect all users\n5. You will not use any kind of hack\n6. You will not advertise anything on our server\n7. You will follow these rules, and if not get banned.",
"Close",
"");
return 1;
}//-------------------------------------------------------------------------------------------------////When someone leaves the server//-------------------------------------------------------------------------------------------------//public OnPlayerDisconnect
(playerid, reason
){ new string
[64],
name
[MAX_PLAYER_NAME
];
GetPlayerName
(playerid,name,MAX_PLAYER_NAME
);
switch(reason
) { case 0: format(string,
sizeof string,
"%s left Modern Warfare. (Timed out)",name
);
case 1: format(string,
sizeof string,
"%s left Modern Warfare. (Leaving)",name
);
case 2: format(string,
sizeof string,
"%s left Modern Warfare. (Kicked/Banned)",name
);
} SendClientMessageToAll
(0xFFFFFFAA,string
);
return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerSpawn
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerDeath
(playerid, killerid, reason
){ SendClientMessage
(playerid,0xFF0000AA,
"You have died.");
return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleSpawn
(vehicleid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleDeath
(vehicleid, killerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerText
(playerid, text
[]){ return 1;
}//-------------------------------------------------------------------------------------------------////Commands//-------------------------------------------------------------------------------------------------//public OnPlayerCommandText
(playerid, cmdtext
[]){//-------------------------------------------------------------------------------------------------//// Health Related Commands//-------------------------------------------------------------------------------------------------// if (strcmp("/kill", cmdtext, true,
5) == 0) { SetPlayerHealth
(playerid,
0.0);
return 1;
}//-------------------------------------------------------------------------------------------------//// Admin Base Gate Commands//-------------------------------------------------------------------------------------------------////-------------------------------------------------------------------------------------------------//public OnPlayerEnterVehicle
(playerid, vehicleid, ispassenger
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerExitVehicle
(playerid, vehicleid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerStateChange
(playerid, newstate, oldstate
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerEnterCheckpoint
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerLeaveCheckpoint
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerEnterRaceCheckpoint
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerLeaveRaceCheckpoint
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnRconCommand
(cmd
[]){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerRequestSpawn
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnObjectMoved
(objectid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerObjectMoved
(playerid, objectid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerPickUpPickup
(playerid, pickupid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleMod
(playerid, vehicleid, componentid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehiclePaintjob
(playerid, vehicleid, paintjobid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleRespray
(playerid, vehicleid, color1, color2
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerSelectedMenuRow
(playerid, row
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerExitedMenu
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerInteriorChange
(playerid, newinteriorid, oldinteriorid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerKeyStateChange
(playerid, newkeys, oldkeys
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnRconLoginAttempt
(ip
[], password
[], success
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerUpdate
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerStreamIn
(playerid, forplayerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerStreamOut
(playerid, forplayerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleStreamIn
(vehicleid, forplayerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleStreamOut
(vehicleid, forplayerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnDialogResponse
(playerid, dialogid, response, listitem, inputtext
[]){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerClickPlayer
(playerid, clickedplayerid, source
){ return 1;
}//-------------------------------------------------------------------------------------------------//
See anything wrong
Re: Help 26 Errors! [+ Rep] -
DaRk_RaiN - 02.01.2013
pawn Код:
//---------------------------------------------------------------//#define FILTERSCRIPT//---------------------------------------------------------------// Includes//---------------------------------------------------------------#include <a_samp>//---------------------------------------------------------------// Variables//---------------------------------------------------------------// Automatic Gates//---------------------------//---------------------------// Text Draws//---------------------------new Text:gMyText;
new Text:MyText;
new Text:MW1;
//---------------------------------------------------------------// Defines//---------------------------------------------------------------// Color Defines//---------------------------#define COLOR_GRAD1 0xB4B5B7FF#define COLOR_GRAD2 0xBFC0C2FF#define COLOR_GRAD3 0xCBCCCEFF#define COLOR_GRAD4 0xD8D8D8FF#define COLOR_GRAD5 0xE3E3E3FF#define COLOR_GRAD6 0xF0F0F0FF#define COLOR_GREY 0xAFAFAFAA#define COLOR_GREEN 0x33AA33AA#define COLOR_RED 0xAA3333AA#define COLOR_YELLOW 0xFFFF00AA#define COLOR_WHITE 0xFFFFFFAA#define COLOR_FADE1 0xE6E6E6E6#define COLOR_FADE2 0xC8C8C8C8#define COLOR_FADE3 0xAAAAAAAA#define COLOR_FADE4 0x8C8C8C8C#define COLOR_FADE5 0x6E6E6E6E#define COLOR_PURPLE 0xC2A2DAAA#define COLOR_DBLUE 0x2641FEAA#define COLOR_ALLDEPT 0xFF8282AA//---------------------------// Dialogs//---------------------------#define SVRRULES 1//---------------------------//FILTERSCRIPT DEFINES//---------------------------#if defined FILTERSCRIPT//---------------------------//---------------------------------------------------------------// Forwards//---------------------------forward SendMSG
();
//---------------------------------------------------------------public OnFilterScriptInit
(){ print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}//---------------------------------------------------------------public OnFilterScriptExit
(){ return 1;
}//---------------------------------------------------------------#else//---------------------------------------------------------------main
(){ print("\n----------------------------------");
print(" Modern Warfare by DJTunes aka Tunes");
print("----------------------------------\n");
}//---------------------------------------------------------------#endif//---------------------------------------------------------------new RandomMSG
[][] ={ "Please don't break our rules, also do not spawn kill, or team kill.",
"Breaking the rules will cause you to get warned, kicked, or even banned.",
"Be sure to join our forums: www.tacticalcommunity.createaforum.com"};
//---------------------------------------------------------------forward SendMSG
();
public SendMSG
(){ new randMSG
= random(sizeof(RandomMSG
));
SendClientMessageToAll
(COLOR_RED, RandomMSG
[randMSG
]);
// Replace the "COLOR" with your defined color.}//---------------------------------------------------------------public OnGameModeInit
(){ MW1
= TextDrawCreate
(371 ,
453 ,
"Modern Warfare");
TextDrawFont
(MW1 ,
1);
TextDrawLetterSize
(MW1 ,
1,
7);
TextDrawColor
(MW1 , 0x53a31dFF
);
TextDrawSetOutline
(MW1 , false
);
TextDrawSetProportional
(MW1 , true
);
TextDrawSetShadow
(MW1 ,
1);
//Text Draws gMyText
= TextDrawCreate
(371,
453,
"Modern Warfare");
//Text Draw Create MyText
= TextDrawCreate
(371,
453,
"Modern Warfare");
SetGameModeText
("Project Modern Warfare");
//Random Message Timer SetTimer
("SendMSG",
60000, true
);
//Classes AddPlayerClass
(287,
201.1741,
1869.4302,
13.1406,
265.2041,
31,
200,
29,
200,
24,
300);
// //American Spawnpoint - Area 51 AddPlayerClass
(179,
1042.8230,
1010.9085,
11.0000,
326.6804,
25,
200,
30,
200,
24,
300);
// // Russian Spawnpoint - Hospital in Desert AddPlayerClass
(285,
-2431.9338,
2320.7468,
4.9872,
0.1684,
31,
200,
29,
200,
27,
100);
// //France Spawnpoint - Bayside //Vehicles //------// //United States (Area 51 Map) & Germany (Desert Hospital Map) AddStaticVehicleEx
(581,
218.5000000,
1859.3000488,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400 AddStaticVehicleEx
(581,
216.3999939,
1859.1999512,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400 AddStaticVehicleEx
(581,
222.8000031,
1859.4000244,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400 AddStaticVehicleEx
(581,
220.8999939,
1859.3000488,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400 AddStaticVehicleEx
(581,
214.3000031,
1859.1999512,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400 AddStaticVehicleEx
(581,
211.6000061,
1858.8000488,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400 AddStaticVehicleEx
(581,
225.1999969,
1859.5000000,
12.8000002,
0.0000000,
37,
37,
15);
//BF-400 AddStaticVehicleEx
(470,
205.8999939,
1859.1999512,
13.3000002,
266.0000000,
95,
10,
15);
//Patriot AddStaticVehicleEx
(470,
206.5000000,
1864.6999512,
13.3000002,
265.9954834,
95,
10,
15);
//Patriot AddStaticVehicleEx
(432,
146.6000061,
1951.5999756,
19.3999996,
0.0000000,
95,
10,
15);
//Rhino AddStaticVehicleEx
(432,
152.1000061,
1951.4000244,
19.3999996,
0.0000000,
95,
10,
15);
//Rhino AddStaticVehicleEx
(432,
157.6000061,
1951.5000000,
19.3999996,
0.0000000,
95,
10,
15);
//Rhino AddStaticVehicleEx
(432,
163.6000061,
1951.8000488,
19.3999996,
0.0000000,
95,
10,
15);
//Rhino AddStaticVehicleEx
(432,
170.3999939,
1951.8000488,
19.3999996,
0.0000000,
95,
10,
15);
//Rhino AddStaticVehicleEx
(433,
203.5000000,
1883.6999512,
18.2000008,
0.0000000,
95,
10,
15);
//Barracks AddStaticVehicleEx
(433,
203.8000031,
1896.3000488,
18.2000008,
0.0000000,
95,
10,
15);
//Barracks AddStaticVehicleEx
(433,
226.6999969,
1894.4000244,
18.2000008,
0.0000000,
95,
10,
15);
//Barracks AddStaticVehicleEx
(433,
227.0000000,
1883.4000244,
18.2000008,
0.0000000,
95,
10,
15);
//Barracks AddStaticVehicleEx
(429,
185.6999969,
1927.5000000,
17.5000000,
0.0000000,
70,
89,
15);
//Banshee AddStaticVehicleEx
(429,
181.8999939,
1927.4000244,
17.5000000,
0.0000000,
70,
89,
15);
//Banshee AddStaticVehicleEx
(429,
178.1999969,
1927.0999756,
17.7999992,
0.0000000,
70,
89,
15);
//Banshee AddStaticVehicleEx
(429,
175.0000000,
1926.8000488,
17.7999992,
0.0000000,
70,
89,
15);
//Banshee AddStaticVehicleEx
(429,
171.8000031,
1926.5000000,
17.7999992,
0.0000000,
70,
89,
15);
//Banshee AddStaticVehicleEx
(417,
140.1000061,
1931.1999512,
19.2000008,
268.0000000,
-1,
-1,
15);
//Leviathan AddStaticVehicleEx
(447,
121.9000015,
1895.1999512,
18.6000004,
266.0000000,
32,
32,
15);
//Seasparrow AddStaticVehicleEx
(447,
122.4000015,
1909.0000000,
18.6000004,
266.0000000,
32,
32,
15);
//Seasparrow AddStaticVehicleEx
(497,
114.3000031,
1828.6999512,
17.8999996,
0.0000000,
-1,
-1,
15);
//Police Maverick AddStaticVehicleEx
(447,
155.3999939,
1808.0000000,
17.7000008,
268.0000000,
32,
32,
15);
//Seasparrow AddStaticVehicleEx
(425,
113.4000015,
1851.5000000,
18.5000000,
0.0000000,
95,
10,
15);
//Hunter AddStaticVehicleEx
(548,
132.8999939,
1807.4000244,
19.5000000,
270.0000000,
245,
245,
15);
//Cargobob AddStaticVehicleEx
(409,
174.0000000,
1808.0999756,
17.6000004,
0.0000000,
245,
245,
15);
//Stretch AddStaticVehicleEx
(409,
181.1999969,
1808.4000244,
17.6000004,
0.0000000,
245,
245,
15);
//Stretch AddStaticVehicleEx
(409,
188.8000031,
1809.0999756,
17.6000004,
0.0000000,
245,
245,
15);
//Stretch AddStaticVehicleEx
(409,
166.1999969,
1808.0000000,
17.6000004,
0.0000000,
245,
245,
15);
//Stretch AddStaticVehicleEx
(409,
196.8000031,
1809.0999756,
17.6000004,
0.0000000,
245,
245,
15);
//Stretch AddStaticVehicleEx
(528,
232.0000000,
1807.0000000,
17.7999992,
0.0000000,
-1,
-1,
15);
//FBI Truck AddStaticVehicleEx
(528,
239.6000061,
1807.0999756,
17.7999992,
0.0000000,
-1,
-1,
15);
//FBI Truck AddStaticVehicleEx
(528,
248.6999969,
1807.4000244,
17.7999992,
0.0000000,
-1,
-1,
15);
//FBI Truck AddStaticVehicleEx
(528,
244.5000000,
1807.0000000,
17.7999992,
0.0000000,
-1,
-1,
15);
//FBI Truck AddStaticVehicleEx
(520,
282.1000061,
1955.5999756,
19.7000008,
268.0000000,
-1,
-1,
15);
//Hydra AddStaticVehicleEx
(476,
278.2999878,
1983.0000000,
18.7999992,
304.0000000,
167,
162,
15);
//Rustler AddStaticVehicleEx
(476,
276.5000000,
1997.6999512,
18.7999992,
233.9971924,
167,
162,
15);
//Rustler AddStaticVehicleEx
(593,
277.1000061,
2016.1999512,
18.2000008,
312.0000000,
37,
37,
15);
//Dodo AddStaticVehicleEx
(593,
276.2999878,
2032.4000244,
18.2000008,
231.9952393,
37,
37,
15);
//Dodo AddStaticVehicleEx
(553,
308.7000122,
2043.4000244,
19.8999996,
179.9999390,
140,
146,
15);
//Nevada AddStaticVehicleEx
(520,
328.7000122,
1979.6999512,
19.7000008,
0.0000000,
-1,
-1,
15);
//Hydra AddStaticVehicleEx
(520,
345.7000122,
1979.5000000,
19.7000008,
0.0000000,
-1,
-1,
15);
//Hydra AddStaticVehicleEx
(520,
346.3999939,
1953.9000244,
19.7000008,
184.0000000,
-1,
-1,
15);
//Hydra AddStaticVehicleEx
(520,
328.3999939,
1955.1999512,
19.7000008,
177.9999390,
-1,
-1,
15);
//Hydra AddStaticVehicleEx
(447,
998.5999756,
1077.9000244,
10.8999996,
0.0000000,
32,
32,
15);
//Seasparrow AddStaticVehicleEx
(447,
983.4000244,
1078.6999512,
10.8999996,
0.0000000,
32,
32,
15);
//Seasparrow AddStaticVehicleEx
(447,
983.2999878,
1095.5000000,
10.8999996,
0.0000000,
32,
32,
15);
//Seasparrow AddStaticVehicleEx
(447,
998.4000244,
1096.6999512,
10.8999996,
0.0000000,
32,
32,
15);
//Seasparrow AddStaticVehicleEx
(447,
998.5999756,
1115.0000000,
10.8999996,
0.0000000,
32,
32,
15);
//Seasparrow AddStaticVehicleEx
(447,
983.5999756,
1114.8000488,
10.8999996,
0.0000000,
32,
32,
15);
//Seasparrow AddStaticVehicleEx
(520,
987.7999878,
1144.5000000,
12.8999996,
0.0000000,
-1,
-1,
15);
//Hydra AddStaticVehicleEx
(520,
1006.0999756,
1146.3000488,
12.8999996,
0.0000000,
-1,
-1,
15);
//Hydra AddStaticVehicleEx
(470,
1022.5000000,
1098.8000488,
11.1000004,
252.0000000,
95,
10,
15);
//Patriot AddStaticVehicleEx
(470,
1024.9000244,
1104.1999512,
11.1000004,
251.9989014,
95,
10,
15);
//Patriot AddStaticVehicleEx
(470,
1027.1999512,
1109.0999756,
11.1000004,
251.9989014,
95,
10,
15);
//Patriot AddStaticVehicleEx
(470,
1017.7000122,
1086.0999756,
11.1000004,
259.9989014,
95,
10,
15);
//Patriot AddStaticVehicleEx
(470,
1017.9000244,
1079.4000244,
11.1000004,
259.9989014,
95,
10,
15);
//Patriot AddStaticVehicleEx
(470,
1017.7999878,
1072.8000488,
11.1000004,
259.9969482,
95,
10,
15);
//Patriot AddStaticVehicleEx
(432,
1084.3000488,
1035.0999756,
10.3999996,
353.9999390,
95,
10,
15);
//Rhino AddStaticVehicleEx
(432,
1085.4000244,
1049.8000488,
10.3999996,
353.9959717,
95,
10,
15);
//Rhino AddStaticVehicleEx
(432,
1075.6999512,
1051.0000000,
10.3999996,
353.9959717,
95,
10,
15);
//Rhino AddStaticVehicleEx
(432,
1073.8000488,
1035.4000244,
10.3999996,
353.9959717,
95,
10,
15);
//Rhino AddStaticVehicleEx
(432,
1093.5000000,
1034.1999512,
10.3999996,
353.9959717,
95,
10,
15);
//Rhino AddStaticVehicleEx
(432,
1095.4000244,
1049.8000488,
10.3999996,
353.9959717,
95,
10,
15);
//Rhino AddStaticVehicleEx
(490,
1120.9000244,
1013.7000122,
11.3000002,
32.0000000,
-1,
-1,
15);
//FBI Rancher AddStaticVehicleEx
(490,
1115.6999512,
1010.5000000,
11.3000002,
31.9976807,
-1,
-1,
15);
//FBI Rancher AddStaticVehicleEx
(490,
1108.8000488,
1005.7999878,
11.3000002,
31.9976807,
-1,
-1,
15);
//FBI Rancher AddStaticVehicleEx
(506,
1139.9000244,
1026.6999512,
10.8000002,
40.0000000,
132,
4,
15);
//Super GT AddStaticVehicleEx
(506,
1135.6999512,
1023.5999756,
10.8000002,
39.9957275,
132,
4,
15);
//Super GT AddStaticVehicleEx
(506,
1129.9000244,
1019.2999878,
10.8000002,
39.9957275,
132,
4,
15);
//Super GT AddStaticVehicleEx
(603,
1148.5999756,
1034.9000244,
11.0000000,
70.0000000,
109,
24,
15);
//Phoenix AddStaticVehicleEx
(603,
1151.1999512,
1042.4000244,
11.0000000,
70.0000000,
109,
24,
15);
//Phoenix AddStaticVehicleEx
(603,
1153.4000244,
1048.8000488,
11.0000000,
70.0000000,
109,
24,
15);
//Phoenix AddStaticVehicleEx
(488,
1120.8000488,
1069.9000244,
10.3999996,
0.0000000,
42,
119,
15);
//News Chopper AddStaticVehicleEx
(488,
1135.6999512,
1070.5999756,
10.3999996,
0.0000000,
42,
119,
15);
//News Chopper AddStaticVehicleEx
(425,
1084.5000000,
1105.8000488,
11.1000004,
0.0000000,
95,
10,
15);
//Hunter AddStaticVehicleEx
(425,
1102.9000244,
1101.1999512,
11.1000004,
0.0000000,
95,
10,
15);
//Hunter//-------------------------------------------------------------------------------------------------////Automatically Open, and Close Gates return 1;
}//-------------------------------------------------------------------------------------------------//public OnGameModeExit
(){ return 1;
}//-------------------------------------------------------------------------------------------------////Choose A Team Menu//-------------------------------------------------------------------------------------------------//public OnPlayerRequestClass
(playerid, classid
){ SetPlayerPos
(playerid,
1958.3783,
1343.1572,
15.3746);
SetPlayerCameraPos
(playerid,
1958.3783,
1343.1572,
15.3746);
SetPlayerCameraLookAt
(playerid,
1958.3783,
1343.1572,
15.3746);
//-------------------------------------------------------------------------------------------------////Classes//-------------------------------------------------------------------------------------------------// switch (classid
) { case 0: { GameTextForPlayer
(playerid,
"~b~America",
3000,
5);
} case 1: { GameTextForPlayer
(playerid,
"~r~Russia",
3000,
5);
} case 2: { GameTextForPlayer
(playerid,
"~g~France",
3000,
5);
} } return 1;
}//-------------------------------------------------------------------------------------------------////When someone connects to the server//-------------------------------------------------------------------------------------------------//public OnPlayerConnect
(playerid
){ //Welcome Message new string
[64], pName
[MAX_PLAYER_NAME
];
GetPlayerName
(playerid,pName,MAX_PLAYER_NAME
);
format(string,
sizeof string,
"%s has joined Modern Warfare. Welcome!",pName
);
SendClientMessageToAll
(0xFFFFFFAA,string
);
TextDrawShowForPlayer
(playerid, gMyText
);
ShowPlayerDialog
(playerid, SVRRULES, DIALOG_STYLE_MSGBOX,
"Server Rules",
"You must agree with these rules.\n1. Do not team kill\n2. Do not base rape\n3. Do not spawn kill\n4. You will respect all users\n5. You will not use any kind of hack\n6. You will not advertise anything on our server\n7. You will follow these rules, and if not get banned.",
"Close",
"");
return 1;
}//-------------------------------------------------------------------------------------------------////When someone leaves the server//-------------------------------------------------------------------------------------------------//public OnPlayerDisconnect
(playerid, reason
){ new string
[64],
name
[MAX_PLAYER_NAME
];
GetPlayerName
(playerid,name,MAX_PLAYER_NAME
);
switch(reason
) { case 0: format(string,
sizeof string,
"%s left Modern Warfare. (Timed out)",name
);
case 1: format(string,
sizeof string,
"%s left Modern Warfare. (Leaving)",name
);
case 2: format(string,
sizeof string,
"%s left Modern Warfare. (Kicked/Banned)",name
);
} SendClientMessageToAll
(0xFFFFFFAA,string
);
return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerSpawn
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerDeath
(playerid, killerid, reason
){ SendClientMessage
(playerid,0xFF0000AA,
"You have died.");
return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleSpawn
(vehicleid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleDeath
(vehicleid, killerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerText
(playerid, text
[]){ return 1;
}//-------------------------------------------------------------------------------------------------////Commands//-------------------------------------------------------------------------------------------------//public OnPlayerCommandText
(playerid, cmdtext
[]){//-------------------------------------------------------------------------------------------------//// Health Related Commands//-------------------------------------------------------------------------------------------------// if (strcmp("/kill", cmdtext, true,
5) == 0) { SetPlayerHealth
(playerid,
0.0);
return 1;
} return 0;
}//-------------------------------------------------------------------------------------------------//// Admin Base Gate Commands//-------------------------------------------------------------------------------------------------////-------------------------------------------------------------------------------------------------//public OnPlayerEnterVehicle
(playerid, vehicleid, ispassenger
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerExitVehicle
(playerid, vehicleid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerStateChange
(playerid, newstate, oldstate
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerEnterCheckpoint
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerLeaveCheckpoint
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerEnterRaceCheckpoint
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerLeaveRaceCheckpoint
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnRconCommand
(cmd
[]){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerRequestSpawn
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnObjectMoved
(objectid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerObjectMoved
(playerid, objectid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerPickUpPickup
(playerid, pickupid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleMod
(playerid, vehicleid, componentid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehiclePaintjob
(playerid, vehicleid, paintjobid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleRespray
(playerid, vehicleid, color1, color2
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerSelectedMenuRow
(playerid, row
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerExitedMenu
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerInteriorChange
(playerid, newinteriorid, oldinteriorid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerKeyStateChange
(playerid, newkeys, oldkeys
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnRconLoginAttempt
(ip
[], password
[], success
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerUpdate
(playerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerStreamIn
(playerid, forplayerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerStreamOut
(playerid, forplayerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleStreamIn
(vehicleid, forplayerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnVehicleStreamOut
(vehicleid, forplayerid
){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnDialogResponse
(playerid, dialogid, response, listitem, inputtext
[]){ return 1;
}//-------------------------------------------------------------------------------------------------//public OnPlayerClickPlayer
(playerid, clickedplayerid, source
){ return 1;
}//-------------