Again errors -
jot16 - 01.08.2011
plz fix the errors and tell me what the mistake was.
Код:
#include<a_samp>
#include <file>
#define SKINMENU 1337
#define SetPlayerColor
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_RED 0xAA3333AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_DARKRED 0x660000AA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_BRIGHTRED 0xFF0000AA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_VIOLET 0x9955DEEE
#define COLOR_LIGHTRED 0xFF99AADD
#define COLOR_SEAGREEN 0x00EEADDF
#define COLOR_GRAYWHITE 0xEEEEFFC4
#define COLOR_LIGHTNEUTRALBLUE 0xabcdef66
#define COLOR_GREENISHGOLD 0xCCFFDD56
#define COLOR_LIGHTBLUEGREEN 0x0FFDD349
#define COLOR_NEUTRALBLUE 0xABCDEF01
#define COLOR_LIGHTCYAN 0xAAFFCC33
#define COLOR_LEMON 0xDDDD2357
#define COLOR_MEDIUMBLUE 0x63AFF00A
#define COLOR_NEUTRAL 0xABCDEF97
#define COLOR_BLACK 0x00000000
#define COLOR_NEUTRALGREEN 0x81CFAB00
#define COLOR_DARKGREEN 0x12900BBF
#define COLOR_LIGHTGREEN 0x24FF0AB9
#define COLOR_DARKBLUE 0x300FFAAB
#define COLOR_BLUEGREEN 0x46BBAA00
#define COLOR_PINK 0xFF66FFAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_DARKRED 0x660000AA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_PURPLE 0x800080AA
#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_RED1 0xFF0000AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_TAN 0xFFFFCCAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_KHAKI 0x999900AA
#define COLOR_LIME 0x99FF00AA
#define COLOR_SYSTEM 0xEFEFF7AA
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD1 0xB4B5B7FF
main()
{
print("\n----------------------------------");
print(" Banda By:Desi");
print("----------------------------------\n");
}
public OnGameModeInit()
{
SetGameModeText("Banda");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
// Car Spawns
AddStaticVehicle(451,2040.0520,1319.2799,10.3779,183.2439,16,16);
AddStaticVehicle(429,2040.5247,1359.2783,10.3516,177.1306,13,13);
AddStaticVehicle(421,2110.4102,1398.3672,10.7552,359.5964,13,13);
AddStaticVehicle(411,2074.9624,1479.2120,10.3990,359.6861,64,64);
AddStaticVehicle(477,2075.6038,1666.9750,10.4252,359.7507,94,94);
AddStaticVehicle(541,2119.5845,1938.5969,10.2967,181.9064,22,22);
AddStaticVehicle(541,1843.7881,1216.0122,10.4556,270.8793,60,1);
AddStaticVehicle(402,1944.1003,1344.7717,8.9411,0.8168,30,30);
AddStaticVehicle(402,1679.2278,1316.6287,10.6520,180.4150,90,90);
AddStaticVehicle(415,1685.4872,1751.9667,10.5990,268.1183,25,1);
AddStaticVehicle(411,2034.5016,1912.5874,11.9048,0.2909,123,1);
AddStaticVehicle(411,2172.1682,1988.8643,10.5474,89.9151,116,1);
AddStaticVehicle(429,2245.5759,2042.4166,10.5000,270.7350,14,14);
AddStaticVehicle(477,2361.1538,1993.9761,10.4260,178.3929,101,1);
AddStaticVehicle(550,2221.9946,1998.7787,9.6815,92.6188,53,53);
AddStaticVehicle(558,2243.3833,1952.4221,14.9761,359.4796,116,1);
AddStaticVehicle(587,2276.7085,1938.7263,31.5046,359.2321,40,1);
AddStaticVehicle(587,2602.7769,1853.0667,10.5468,91.4813,43,1);
AddStaticVehicle(603,2610.7600,1694.2588,10.6585,89.3303,69,1);
AddStaticVehicle(587,2635.2419,1075.7726,10.5472,89.9571,53,1);
AddStaticVehicle(437,2577.2354,1038.8063,10.4777,181.7069,35,1);
AddStaticVehicle(535,2039.1257,1545.0879,10.3481,359.6690,123,1);
AddStaticVehicle(535,2009.8782,2411.7524,10.5828,178.9618,66,1);
AddStaticVehicle(429,2010.0841,2489.5510,10.5003,268.7720,1,2);
AddStaticVehicle(415,2076.4033,2468.7947,10.5923,359.9186,36,1);
AddStaticVehicle(487,2093.2754,2414.9421,74.7556,89.0247,26,57);
AddStaticVehicle(506,2352.9026,2577.9768,10.5201,0.4091,7,7);
AddStaticVehicle(506,2166.6963,2741.0413,10.5245,89.7816,52,52);
AddStaticVehicle(411,1960.9989,2754.9072,10.5473,200.4316,112,1);
AddStaticVehicle(429,1919.5863,2760.7595,10.5079,100.0753,2,1);
AddStaticVehicle(415,1673.8038,2693.8044,10.5912,359.7903,40,1);
AddStaticVehicle(402,1591.0482,2746.3982,10.6519,172.5125,30,30);
AddStaticVehicle(603,1580.4537,2838.2886,10.6614,181.4573,75,77);
AddStaticVehicle(550,1555.2734,2750.5261,10.6388,91.7773,62,62);
AddStaticVehicle(535,1455.9305,2878.5288,10.5837,181.0987,118,1);
AddStaticVehicle(477,1537.8425,2578.0525,10.5662,0.0650,121,1);
AddStaticVehicle(451,1433.1594,2607.3762,10.3781,88.0013,16,16);
AddStaticVehicle(603,2223.5898,1288.1464,10.5104,182.0297,18,1);
AddStaticVehicle(558,2451.6707,1207.1179,10.4510,179.8960,24,1);
AddStaticVehicle(550,2461.7253,1357.9705,10.6389,180.2927,62,62);
AddStaticVehicle(558,2461.8162,1629.2268,10.4496,181.4625,117,1);
AddStaticVehicle(477,2395.7554,1658.9591,10.5740,359.7374,0,1);
AddStaticVehicle(404,1553.3696,1020.2884,10.5532,270.6825,119,50);
AddStaticVehicle(400,1380.8304,1159.1782,10.9128,355.7117,123,1);
AddStaticVehicle(418,1383.4630,1035.0420,10.9131,91.2515,117,227);
AddStaticVehicle(404,1445.4526,974.2831,10.5534,1.6213,109,100);
AddStaticVehicle(400,1704.2365,940.1490,10.9127,91.9048,113,1);
AddStaticVehicle(404,1658.5463,1028.5432,10.5533,359.8419,101,101);
AddStaticVehicle(581,1677.6628,1040.1930,10.4136,178.7038,58,1);
AddStaticVehicle(581,1383.6959,1042.2114,10.4121,85.7269,66,1);
AddStaticVehicle(581,1064.2332,1215.4158,10.4157,177.2942,72,1);
AddStaticVehicle(581,1111.4536,1788.3893,10.4158,92.4627,72,1);
AddStaticVehicle(522,953.2818,1806.1392,8.2188,235.0706,3,8);
AddStaticVehicle(522,995.5328,1886.6055,10.5359,90.1048,3,8);
AddStaticVehicle(521,993.7083,2267.4133,11.0315,1.5610,75,13);
AddStaticVehicle(535,1439.5662,1999.9822,10.5843,0.4194,66,1);
AddStaticVehicle(522,1430.2354,1999.0144,10.3896,352.0951,6,25);
AddStaticVehicle(522,2156.3540,2188.6572,10.2414,22.6504,6,25);
AddStaticVehicle(598,2277.6846,2477.1096,10.5652,180.1090,0,1);
AddStaticVehicle(598,2268.9888,2443.1697,10.5662,181.8062,0,1);
AddStaticVehicle(598,2256.2891,2458.5110,10.5680,358.7335,0,1);
AddStaticVehicle(598,2251.6921,2477.0205,10.5671,179.5244,0,1);
AddStaticVehicle(523,2294.7305,2441.2651,10.3860,9.3764,0,0);
AddStaticVehicle(523,2290.7268,2441.3323,10.3944,16.4594,0,0);
AddStaticVehicle(523,2295.5503,2455.9656,2.8444,272.6913,0,0);
AddStaticVehicle(522,2476.7900,2532.2222,21.4416,0.5081,8,82);
AddStaticVehicle(522,2580.5320,2267.9595,10.3917,271.2372,8,82);
AddStaticVehicle(522,2814.4331,2364.6641,10.3907,89.6752,36,105);
AddStaticVehicle(535,2827.4143,2345.6953,10.5768,270.0668,97,1);
AddStaticVehicle(521,1670.1089,1297.8322,10.3864,359.4936,87,118);
AddStaticVehicle(487,1614.7153,1548.7513,11.2749,347.1516,58,8);
AddStaticVehicle(487,1647.7902,1538.9934,11.2433,51.8071,0,8);
AddStaticVehicle(487,1608.3851,1630.7268,11.2840,174.5517,58,8);
AddStaticVehicle(476,1283.0006,1324.8849,9.5332,275.0468,7,6); //11.5332
AddStaticVehicle(476,1283.5107,1361.3171,9.5382,271.1684,1,6); //11.5382
AddStaticVehicle(476,1283.6847,1386.5137,11.5300,272.1003,89,91);
AddStaticVehicle(476,1288.0499,1403.6605,11.5295,243.5028,119,117);
AddStaticVehicle(415,1319.1038,1279.1791,10.5931,0.9661,62,1);
AddStaticVehicle(521,1710.5763,1805.9275,10.3911,176.5028,92,3);
AddStaticVehicle(521,2805.1650,2027.0028,10.3920,357.5978,92,3);
AddStaticVehicle(535,2822.3628,2240.3594,10.5812,89.7540,123,1);
AddStaticVehicle(521,2876.8013,2326.8418,10.3914,267.8946,115,118);
AddStaticVehicle(429,2842.0554,2637.0105,10.5000,182.2949,1,3);
AddStaticVehicle(549,2494.4214,2813.9348,10.5172,316.9462,72,39);
AddStaticVehicle(549,2327.6484,2787.7327,10.5174,179.5639,75,39);
AddStaticVehicle(549,2142.6970,2806.6758,10.5176,89.8970,79,39);
AddStaticVehicle(521,2139.7012,2799.2114,10.3917,229.6327,25,118);
AddStaticVehicle(521,2104.9446,2658.1331,10.3834,82.2700,36,0);
AddStaticVehicle(521,1914.2322,2148.2590,10.3906,267.7297,36,0);
AddStaticVehicle(549,1904.7527,2157.4312,10.5175,183.7728,83,36);
AddStaticVehicle(549,1532.6139,2258.0173,10.5176,359.1516,84,36);
AddStaticVehicle(521,1534.3204,2202.8970,10.3644,4.9108,118,118);
AddStaticVehicle(549,1613.1553,2200.2664,10.5176,89.6204,89,35);
AddStaticVehicle(400,1552.1292,2341.7854,10.9126,274.0815,101,1);
AddStaticVehicle(404,1637.6285,2329.8774,10.5538,89.6408,101,101);
AddStaticVehicle(400,1357.4165,2259.7158,10.9126,269.5567,62,1);
AddStaticVehicle(411,1281.7458,2571.6719,10.5472,270.6128,106,1);
AddStaticVehicle(522,1305.5295,2528.3076,10.3955,88.7249,3,8);
AddStaticVehicle(521,993.9020,2159.4194,10.3905,88.8805,74,74);
AddStaticVehicle(415,1512.7134,787.6931,10.5921,359.5796,75,1);
AddStaticVehicle(522,2299.5872,1469.7910,10.3815,258.4984,3,8);
AddStaticVehicle(522,2133.6428,1012.8537,10.3789,87.1290,3,8);
return 1;
}
public OnGameModeExit()
{
return 1;
}
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);
return 1;
}
public OnPlayerConnect(playerid)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"%s has joined the server. Welcome!",pName);
SendClientMessageToAll(0x33AA33AA,string);
return 1;
}
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 the server. (Timed out)",name);
case 1: format(string,sizeof string,"%s left the server. (Leaving)",name);
case 2: format(string,sizeof string,"%s left the server. (Kicked/Banned)",name);
}
SendClientMessageToAll(0xAA3333AA,string);
return 1;
}
public OnPlayerSpawn(playerid)
{
ShowPlayerDialog(playerid, SKINMENU, DIALOG_STYLE_LIST, "Skin Selection Menu", "Groove\nBallas\nAztecas\nTriads","Select","Cancel");
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_GREEN, "/weaponshop To Get Weapons");
return 1;
}
return 0;
}
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[])
{
if(dialogid == SKINMENU && response)
{
switch(listitem)
{
case 0:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(playerid, 3, 1000);
SetPLayerColor(playerid,0x24FF0AB9);
SetPlayerSkin(playerid, 105);
}
case 1:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(playerid, 23, 1000);
SetPLayerColor(playerid,0xC2A2DAAA);
SetPlayerSkin(playerid, 102);
}
case 2:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(playerid,23, 1000);
SetPlayerColor(playerid, 0xFF9900AA);
SetPlayerSkin(playerid, 114);
}
case 3:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(playerid, 23, 1000);
SetPlayerColor(playerid, 0xFF66FFAA);
SetPlayerSkin(playerid, 117);
}
}
return 1;
}
return 0;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
errors:
Код:
C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(392) : error 017: undefined symbol "SetPLayerColor"
C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(399) : error 017: undefined symbol "SetPLayerColor"
C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(406) : warning 215: expression has no effect
C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(413) : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Re: Again errors -
Kitten - 01.08.2011
SetPLayerColor? SetPlayerColor.
Re: Again errors -
hillko - 01.08.2011
Код HTML:
#include<a_samp>
#include <file>
#define SKINMENU 1337
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_RED 0xAA3333AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_DARKRED 0x660000AA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_BRIGHTRED 0xFF0000AA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_VIOLET 0x9955DEEE
#define COLOR_LIGHTRED 0xFF99AADD
#define COLOR_SEAGREEN 0x00EEADDF
#define COLOR_GRAYWHITE 0xEEEEFFC4
#define COLOR_LIGHTNEUTRALBLUE 0xabcdef66
#define COLOR_GREENISHGOLD 0xCCFFDD56
#define COLOR_LIGHTBLUEGREEN 0x0FFDD349
#define COLOR_NEUTRALBLUE 0xABCDEF01
#define COLOR_LIGHTCYAN 0xAAFFCC33
#define COLOR_LEMON 0xDDDD2357
#define COLOR_MEDIUMBLUE 0x63AFF00A
#define COLOR_NEUTRAL 0xABCDEF97
#define COLOR_BLACK 0x00000000
#define COLOR_NEUTRALGREEN 0x81CFAB00
#define COLOR_DARKGREEN 0x12900BBF
#define COLOR_LIGHTGREEN 0x24FF0AB9
#define COLOR_DARKBLUE 0x300FFAAB
#define COLOR_BLUEGREEN 0x46BBAA00
#define COLOR_PINK 0xFF66FFAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_DARKRED 0x660000AA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_PURPLE 0x800080AA
#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_RED1 0xFF0000AA
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_TAN 0xFFFFCCAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_KHAKI 0x999900AA
#define COLOR_LIME 0x99FF00AA
#define COLOR_SYSTEM 0xEFEFF7AA
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD1 0xB4B5B7FF
main()
{
print("\n----------------------------------");
print(" Banda By:Desi");
print("----------------------------------\n");
}
public OnGameModeInit()
{
SetGameModeText("Banda");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
// Car Spawns
AddStaticVehicle(451,2040.0520,1319.2799,10.3779,183.2439,16,16);
AddStaticVehicle(429,2040.5247,1359.2783,10.3516,177.1306,13,13);
AddStaticVehicle(421,2110.4102,1398.3672,10.7552,359.5964,13,13);
AddStaticVehicle(411,2074.9624,1479.2120,10.3990,359.6861,64,64);
AddStaticVehicle(477,2075.6038,1666.9750,10.4252,359.7507,94,94);
AddStaticVehicle(541,2119.5845,1938.5969,10.2967,181.9064,22,22);
AddStaticVehicle(541,1843.7881,1216.0122,10.4556,270.8793,60,1);
AddStaticVehicle(402,1944.1003,1344.7717,8.9411,0.8168,30,30);
AddStaticVehicle(402,1679.2278,1316.6287,10.6520,180.4150,90,90);
AddStaticVehicle(415,1685.4872,1751.9667,10.5990,268.1183,25,1);
AddStaticVehicle(411,2034.5016,1912.5874,11.9048,0.2909,123,1);
AddStaticVehicle(411,2172.1682,1988.8643,10.5474,89.9151,116,1);
AddStaticVehicle(429,2245.5759,2042.4166,10.5000,270.7350,14,14);
AddStaticVehicle(477,2361.1538,1993.9761,10.4260,178.3929,101,1);
AddStaticVehicle(550,2221.9946,1998.7787,9.6815,92.6188,53,53);
AddStaticVehicle(558,2243.3833,1952.4221,14.9761,359.4796,116,1);
AddStaticVehicle(587,2276.7085,1938.7263,31.5046,359.2321,40,1);
AddStaticVehicle(587,2602.7769,1853.0667,10.5468,91.4813,43,1);
AddStaticVehicle(603,2610.7600,1694.2588,10.6585,89.3303,69,1);
AddStaticVehicle(587,2635.2419,1075.7726,10.5472,89.9571,53,1);
AddStaticVehicle(437,2577.2354,1038.8063,10.4777,181.7069,35,1);
AddStaticVehicle(535,2039.1257,1545.0879,10.3481,359.6690,123,1);
AddStaticVehicle(535,2009.8782,2411.7524,10.5828,178.9618,66,1);
AddStaticVehicle(429,2010.0841,2489.5510,10.5003,268.7720,1,2);
AddStaticVehicle(415,2076.4033,2468.7947,10.5923,359.9186,36,1);
AddStaticVehicle(487,2093.2754,2414.9421,74.7556,89.0247,26,57);
AddStaticVehicle(506,2352.9026,2577.9768,10.5201,0.4091,7,7);
AddStaticVehicle(506,2166.6963,2741.0413,10.5245,89.7816,52,52);
AddStaticVehicle(411,1960.9989,2754.9072,10.5473,200.4316,112,1);
AddStaticVehicle(429,1919.5863,2760.7595,10.5079,100.0753,2,1);
AddStaticVehicle(415,1673.8038,2693.8044,10.5912,359.7903,40,1);
AddStaticVehicle(402,1591.0482,2746.3982,10.6519,172.5125,30,30);
AddStaticVehicle(603,1580.4537,2838.2886,10.6614,181.4573,75,77);
AddStaticVehicle(550,1555.2734,2750.5261,10.6388,91.7773,62,62);
AddStaticVehicle(535,1455.9305,2878.5288,10.5837,181.0987,118,1);
AddStaticVehicle(477,1537.8425,2578.0525,10.5662,0.0650,121,1);
AddStaticVehicle(451,1433.1594,2607.3762,10.3781,88.0013,16,16);
AddStaticVehicle(603,2223.5898,1288.1464,10.5104,182.0297,18,1);
AddStaticVehicle(558,2451.6707,1207.1179,10.4510,179.8960,24,1);
AddStaticVehicle(550,2461.7253,1357.9705,10.6389,180.2927,62,62);
AddStaticVehicle(558,2461.8162,1629.2268,10.4496,181.4625,117,1);
AddStaticVehicle(477,2395.7554,1658.9591,10.5740,359.7374,0,1);
AddStaticVehicle(404,1553.3696,1020.2884,10.5532,270.6825,119,50);
AddStaticVehicle(400,1380.8304,1159.1782,10.9128,355.7117,123,1);
AddStaticVehicle(418,1383.4630,1035.0420,10.9131,91.2515,117,227);
AddStaticVehicle(404,1445.4526,974.2831,10.5534,1.6213,109,100);
AddStaticVehicle(400,1704.2365,940.1490,10.9127,91.9048,113,1);
AddStaticVehicle(404,1658.5463,1028.5432,10.5533,359.8419,101,101);
AddStaticVehicle(581,1677.6628,1040.1930,10.4136,178.7038,58,1);
AddStaticVehicle(581,1383.6959,1042.2114,10.4121,85.7269,66,1);
AddStaticVehicle(581,1064.2332,1215.4158,10.4157,177.2942,72,1);
AddStaticVehicle(581,1111.4536,1788.3893,10.4158,92.4627,72,1);
AddStaticVehicle(522,953.2818,1806.1392,8.2188,235.0706,3,8);
AddStaticVehicle(522,995.5328,1886.6055,10.5359,90.1048,3,8);
AddStaticVehicle(521,993.7083,2267.4133,11.0315,1.5610,75,13);
AddStaticVehicle(535,1439.5662,1999.9822,10.5843,0.4194,66,1);
AddStaticVehicle(522,1430.2354,1999.0144,10.3896,352.0951,6,25);
AddStaticVehicle(522,2156.3540,2188.6572,10.2414,22.6504,6,25);
AddStaticVehicle(598,2277.6846,2477.1096,10.5652,180.1090,0,1);
AddStaticVehicle(598,2268.9888,2443.1697,10.5662,181.8062,0,1);
AddStaticVehicle(598,2256.2891,2458.5110,10.5680,358.7335,0,1);
AddStaticVehicle(598,2251.6921,2477.0205,10.5671,179.5244,0,1);
AddStaticVehicle(523,2294.7305,2441.2651,10.3860,9.3764,0,0);
AddStaticVehicle(523,2290.7268,2441.3323,10.3944,16.4594,0,0);
AddStaticVehicle(523,2295.5503,2455.9656,2.8444,272.6913,0,0);
AddStaticVehicle(522,2476.7900,2532.2222,21.4416,0.5081,8,82);
AddStaticVehicle(522,2580.5320,2267.9595,10.3917,271.2372,8,82);
AddStaticVehicle(522,2814.4331,2364.6641,10.3907,89.6752,36,105);
AddStaticVehicle(535,2827.4143,2345.6953,10.5768,270.0668,97,1);
AddStaticVehicle(521,1670.1089,1297.8322,10.3864,359.4936,87,118);
AddStaticVehicle(487,1614.7153,1548.7513,11.2749,347.1516,58,8);
AddStaticVehicle(487,1647.7902,1538.9934,11.2433,51.8071,0,8);
AddStaticVehicle(487,1608.3851,1630.7268,11.2840,174.5517,58,8);
AddStaticVehicle(476,1283.0006,1324.8849,9.5332,275.0468,7,6); //11.5332
AddStaticVehicle(476,1283.5107,1361.3171,9.5382,271.1684,1,6); //11.5382
AddStaticVehicle(476,1283.6847,1386.5137,11.5300,272.1003,89,91);
AddStaticVehicle(476,1288.0499,1403.6605,11.5295,243.5028,119,117);
AddStaticVehicle(415,1319.1038,1279.1791,10.5931,0.9661,62,1);
AddStaticVehicle(521,1710.5763,1805.9275,10.3911,176.5028,92,3);
AddStaticVehicle(521,2805.1650,2027.0028,10.3920,357.5978,92,3);
AddStaticVehicle(535,2822.3628,2240.3594,10.5812,89.7540,123,1);
AddStaticVehicle(521,2876.8013,2326.8418,10.3914,267.8946,115,118);
AddStaticVehicle(429,2842.0554,2637.0105,10.5000,182.2949,1,3);
AddStaticVehicle(549,2494.4214,2813.9348,10.5172,316.9462,72,39);
AddStaticVehicle(549,2327.6484,2787.7327,10.5174,179.5639,75,39);
AddStaticVehicle(549,2142.6970,2806.6758,10.5176,89.8970,79,39);
AddStaticVehicle(521,2139.7012,2799.2114,10.3917,229.6327,25,118);
AddStaticVehicle(521,2104.9446,2658.1331,10.3834,82.2700,36,0);
AddStaticVehicle(521,1914.2322,2148.2590,10.3906,267.7297,36,0);
AddStaticVehicle(549,1904.7527,2157.4312,10.5175,183.7728,83,36);
AddStaticVehicle(549,1532.6139,2258.0173,10.5176,359.1516,84,36);
AddStaticVehicle(521,1534.3204,2202.8970,10.3644,4.9108,118,118);
AddStaticVehicle(549,1613.1553,2200.2664,10.5176,89.6204,89,35);
AddStaticVehicle(400,1552.1292,2341.7854,10.9126,274.0815,101,1);
AddStaticVehicle(404,1637.6285,2329.8774,10.5538,89.6408,101,101);
AddStaticVehicle(400,1357.4165,2259.7158,10.9126,269.5567,62,1);
AddStaticVehicle(411,1281.7458,2571.6719,10.5472,270.6128,106,1);
AddStaticVehicle(522,1305.5295,2528.3076,10.3955,88.7249,3,8);
AddStaticVehicle(521,993.9020,2159.4194,10.3905,88.8805,74,74);
AddStaticVehicle(415,1512.7134,787.6931,10.5921,359.5796,75,1);
AddStaticVehicle(522,2299.5872,1469.7910,10.3815,258.4984,3,8);
AddStaticVehicle(522,2133.6428,1012.8537,10.3789,87.1290,3,8);
return 1;
}
public OnGameModeExit()
{
return 1;
}
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);
return 1;
}
public OnPlayerConnect(playerid)
{
new string[64], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"%s has joined the server. Welcome!",pName);
SendClientMessageToAll(0x33AA33AA,string);
return 1;
}
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 the server. (Timed out)",name);
case 1: format(string,sizeof string,"%s left the server. (Leaving)",name);
case 2: format(string,sizeof string,"%s left the server. (Kicked/Banned)",name);
}
SendClientMessageToAll(0xAA3333AA,string);
return 1;
}
public OnPlayerSpawn(playerid)
{
ShowPlayerDialog(playerid, SKINMENU, DIALOG_STYLE_LIST, "Skin Selection Menu", "Groove\nBallas\nAztecas\nTriads","Select","Cancel");
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_GREEN, "/weaponshop To Get Weapons");
return 1;
}
return 0;
}
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[])
{
if(dialogid == SKINMENU && response)
{
switch(listitem)
{
case 0:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(playerid, 3, 1000);
SetPlayerColor(playerid,0x24FF0AB9);
SetPlayerSkin(playerid, 105);
}
case 1:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(playerid, 23, 1000);
SetPlayerColor(playerid,0xC2A2DAAA);
SetPlayerSkin(playerid, 102);
}
case 2:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(playerid,23, 1000);
SetPlayerColor(playerid, 0xFF9900AA);
SetPlayerSkin(playerid, 114);
}
case 3:
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
GivePlayerWeapon(playerid, 23, 1000);
SetPlayerColor(playerid, 0xFF66FFAA);
SetPlayerSkin(playerid, 117);
}
}
return 1;
}
return 0;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
Re: Again errors -
jot16 - 01.08.2011
thx bro.i can't read.
Re: Again errors -
hillko - 02.08.2011
http://www.mediafire.com/?b0f4fptzklbezev
Re: Again errors -
Shockey HD - 02.08.2011
Jot, always remember that Pawno is case Sensitive. For an example
Wrong:
Correct:
Another Example.
Incorrect:
Correct: