Error in GM
#1

Hey All what's wrong with this two errors?

Код:
#include <a_samp>

#if defined FILTERSCRIPT

//-.-Define Colours-.-

#define COLOR_RED 0xAA3333AA      //Da Nang Boy
#define COLOR_GREEN 0x33AA33AA    //BMXer
#define COLOR_BLUE 0x0050F6AA     //SWAT

main()
{
	print("\n----------------------------------");
	print(" Gamemode 1.0");
	print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
//---------------Skins----------------------------------------------------------|
AddPlayerClass(23, 1958.33, 1343.12, 15.36, 269.15, 31, 263, 24, 120, 29, 210);
AddPlayerClass(121, 1958.33, 1343.12, 15.36, 269.15, 27, 132, 35, 60, 30, 200);
AddPlayerClass(285, 1958.33, 1343.12, 15.36, 269.15, 31, 201, 32, 305, 26, 165);
//---------------------------------------------------------------------------------------------|
AddStaticVehicleEx(487,1914.45800781,-2267.09033203,13.81187534,220.00000000,-1,1,15); //Maverick
AddStaticVehicleEx(487,1926.78332520,-2265.96704102,13.81187534,157.99560547,-1,1,15); //Maverick
AddStaticVehicleEx(497,1988.18969727,-2386.70483398,13.81187534,114.00000000,-1,-1,15); //Police Maverick
AddStaticVehicleEx(577,1906.19995117,-2390.61889648,13.73095703,90.00000000,32,1,15); //AT-400
AddStaticVehicleEx(519,1545.57897949,-2463.53198242,14.55475998,0.00000000,-1,-1,15); //Shamal
AddStaticVehicleEx(519,1566.72558594,-2463.65942383,14.55475998,0.00000000,-1,-1,15); //Shamal
AddStaticVehicleEx(425,1687.89208984,-2539.18920898,14.39787483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(553,1943.15942383,-2640.99853516,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(553,1972.62573242,-2641.01684570,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(553,2001.92102051,-2641.27954102,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(553,2031.20422363,-2641.29248047,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(476,2052.72631836,-2640.44946289,14.71702766,0.00000000,-1,-1,15); //Rustler
AddStaticVehicleEx(476,2064.41748047,-2640.57275391,14.71702766,0.00000000,1,3,15); //Rustler
AddStaticVehicleEx(476,2075.93701172,-2640.53833008,14.71702766,0.00000000,1,3,15); //Rustler
AddStaticVehicleEx(476,2087.48535156,-2640.49414062,14.71702766,0.00000000,40,1,15); //Rustler
AddStaticVehicleEx(488,2107.97558594,-2626.43017578,13.81187534,60.00000000,93,1,15); //News Chopper
AddStaticVehicleEx(488,2115.97167969,-2614.74658203,13.81187534,55.99633789,-1,-1,15); //News Chopper
AddStaticVehicleEx(425,1823.42993164,-2622.31005859,14.39787483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(425,1810.63354492,-2622.25927734,14.39787483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(551,2188.79907227,-2252.97045898,13.41040611,316.00000000,20,1,15); //Merit
AddStaticVehicleEx(530,2146.41503906,-2245.88452148,13.10349560,222.00000000,-1,-1,15); //Forklift
AddStaticVehicleEx(524,2112.51440430,-2161.87988281,14.60007381,0.00000000,-1,-1,15); //Cement Truck
AddStaticVehicleEx(486,2122.91723633,-2179.52416992,13.84687519,133.99987793,-1,-1,15); //Dozer
AddStaticVehicleEx(417,1766.27795410,-2284.96264648,27.94997025,0.00000000,-1,-1,15); //Leviathan
AddStaticVehicleEx(420,1695.47229004,-2245.71313477,-2.83251071,90.00000000,6,1,15); //Taxi
AddStaticVehicleEx(420,1686.93249512,-2280.47436523,-1.33251071,356.00000000,6,1,15); //Taxi
AddStaticVehicleEx(560,1616.50756836,-2242.43310547,-2.57351875,90.00000000,-1,1,15); //Sultan
AddStaticVehicleEx(522,1512.10705566,-2212.14599609,13.21503258,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(468,739.41131592,-1805.09790039,12.63543129,165.99981689,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,740.88348389,-1805.29589844,12.63543129,165.99786377,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,737.93493652,-1804.68591309,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,736.50585938,-1804.00830078,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,740.99609375,-1802.28686523,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,739.78540039,-1801.88720703,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(521,452.68481445,-1797.95581055,5.20725250,0.00000000,-1,-1,15); //FCR-900
AddStaticVehicleEx(483,426.31317139,-1797.17541504,5.64247131,328.00000000,-1,-1,15); //Camper
AddStaticVehicleEx(481,430.76608276,-1816.83837891,5.15565109,0.00000000,-1,-1,15); //BMX
AddStaticVehicleEx(522,333.41156006,-1874.42871094,2.29831505,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(429,338.82562256,-1888.31909180,1.66844630,0.00000000,-1,-1,15); //Banshee
AddStaticVehicleEx(559,327.93161011,-1809.87280273,4.46000862,0.00000000,-1,-1,15); //Jester
AddStaticVehicleEx(560,324.41723633,-1809.36657715,4.63729334,0.00000000,-1,-1,15); //Sultan
AddStaticVehicleEx(562,330.69366455,-1809.17028809,4.45709753,0.00000000,-1,-1,15); //Elegy
AddStaticVehicleEx(541,321.22149658,-1809.32031250,3.47949505,0.00000000,-1,-1,15); //Bullet
AddStaticVehicleEx(451,353.37350464,-1808.66699219,4.35157967,0.00000000,-1,-1,15); //Turismo
AddStaticVehicleEx(411,350.27319336,-1808.69152832,4.27393055,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(598,356.93753052,-1808.23571777,4.77020645,0.00000000,-1,-1,15); //Police Car (LVPD)
AddStaticVehicleEx(599,165.33529663,-1787.56188965,4.64050579,266.00000000,-1,1,15); //Police Ranger
AddStaticVehicleEx(599,165.03656006,-1783.54101562,4.64050579,265.99548340,-1,1,15); //Police Ranger
AddStaticVehicleEx(599,164.98281860,-1779.47119141,4.64050579,265.99548340,-1,1,15); //Police Ranger
AddStaticVehicleEx(552,-80.35177612,-1583.21813965,2.39225721,224.00000000,3,1,15); //Utility
AddStaticVehicleEx(515,-82.12873840,-1603.74902344,3.91278362,290.00000000,-1,-1,15); //Roadtrain
AddStaticVehicleEx(486,-58.48752594,-1578.78662109,2.91071987,322.00000000,-1,-1,15); //Dozer
AddStaticVehicleEx(513,-377.53875732,-1414.77307129,26.51132011,0.00000000,-1,-1,15); //Stunt
AddStaticVehicleEx(468,-372.62179565,-1426.79895020,25.48656273,0.00000000,-1,-1,15); //Sanchez
AddStaticVehicleEx(463,-595.00140381,-1084.59838867,23.19369888,0.00000000,-1,-1,15); //Freeway
AddStaticVehicleEx(463,-593.40026855,-1081.84777832,23.19369888,0.00000000,-1,-1,15); //Freeway
AddStaticVehicleEx(463,-591.68469238,-1078.55053711,23.19369888,0.00000000,-1,-1,15); //Freeway
AddStaticVehicleEx(489,-595.76995850,-1088.46264648,24.04121780,58.00000000,-1,-1,15); //Rancher
AddStaticVehicleEx(470,-587.81140137,-1075.99865723,23.58581352,242.00000000,-1,-1,15); //Patriot
AddStaticVehicleEx(473,-321.89715576,-468.90286255,0.00000000,0.00000000,-1,-1,15); //Dinghy
AddStaticVehicleEx(593,-405.72656250,-440.22973633,17.36679459,120.00000000,-1,-1,15); //Dodo
AddStaticVehicleEx(563,-1272.30236816,-621.93817139,14.62072277,0.00000000,-1,-1,15); //Raindance
AddStaticVehicleEx(425,-1459.89355469,-621.45452881,14.99943733,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(511,-1457.41613770,-521.45770264,15.68777275,294.00000000,87,1,15); //Beagle
AddStaticVehicleEx(513,-1449.87451172,-541.60266113,14.95663166,298.00000000,-1,-1,15); //Stunt
AddStaticVehicleEx(593,-1421.04675293,-523.09606934,14.72205734,114.00000000,-1,-1,15); //Dodo
AddStaticVehicleEx(553,-1361.77319336,-493.92834473,16.40687561,206.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(519,-1310.25329590,-486.93859863,15.14850998,294.00000000,-1,-1,15); //Shamal
AddStaticVehicleEx(519,-1319.77929688,-460.45123291,15.14850998,293.99963379,-1,-1,15); //Shamal
AddStaticVehicleEx(592,-1613.99011230,-222.75360107,14.96645260,318.00000000,1,1,15); //Andromada
AddStaticVehicleEx(417,-1570.25451660,48.27898026,18.48207092,0.00000000,-1,-1,15); //Leviathan
AddStaticVehicleEx(522,-1697.45312500,75.59101105,3.20985985,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,-1695.64343262,77.47118378,3.20985985,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,-1694.17333984,79.44620514,3.20985985,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(543,-1819.61791992,-11.00473022,15.06718731,0.00000000,-1,-1,15); //Sadler
AddStaticVehicleEx(428,-1833.65930176,111.67182159,15.36697769,272.00000000,1,-1,15); //Securicar
AddStaticVehicleEx(522,-2013.38964844,-94.04109192,35.12848282,324.00000000,3,1,15); //NRG-500
AddStaticVehicleEx(526,-2076.63305664,-83.68573761,35.01406097,0.00000000,-1,-1,15); //Fortune
AddStaticVehicleEx(474,-2080.97265625,-83.43112183,35.06406403,0.00000000,-1,-1,15); //Hermes
AddStaticVehicleEx(603,-2073.04101562,-83.03495789,35.16673660,0.00000000,-1,-1,15); //Phoenix
AddStaticVehicleEx(562,-2084.89892578,-83.34349060,35.13403320,0.00000000,-1,-1,15); //Elegy
AddStaticVehicleEx(560,-2069.30200195,-83.08323669,35.32122421,0.00000000,-1,-1,15); //Sultan
AddStaticVehicleEx(411,-2138.99902344,-221.25532532,35.04988480,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(598,-2142.59765625,-219.24682617,36.07098389,0.00000000,-1,-1,15); //Police Car (LVPD)
AddStaticVehicleEx(579,-2179.35375977,-203.02600098,35.41894913,270.00000000,3,1,15); //Huntley
AddStaticVehicleEx(400,-2134.71020508,145.33711243,35.83239365,0.00000000,-1,-1,15); //Landstalker
AddStaticVehicleEx(522,-1992.84228516,256.84530640,34.83225250,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(586,-1993.00231934,253.88125610,34.76887512,0.00000000,-1,-1,15); //Wayfarer
AddStaticVehicleEx(581,-1992.87036133,259.46948242,34.87911606,0.00000000,-1,-1,15); //BF-400
AddStaticVehicleEx(520,-1311.67382812,497.22799683,19.15394974,348.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,-1299.51464844,496.86889648,19.15394974,347.99743652,-1,-1,15); //Hydra
AddStaticVehicleEx(520,-1286.53381348,497.88333130,19.15394974,347.99743652,-1,-1,15); //Hydra
AddStaticVehicleEx(425,-1434.56665039,496.62500000,19.08537483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(432,-1598.68798828,368.95776367,7.28683710,0.00000000,-1,-1,15); //Rhino
AddStaticVehicleEx(432,-1592.26525879,368.73767090,7.28683710,0.00000000,-1,-1,15); //Rhino
AddStaticVehicleEx(432,-1604.52282715,368.79119873,7.28683710,0.00000000,-1,-1,15); //Rhino
AddStaticVehicleEx(470,-1528.93627930,390.14761353,7.29751158,90.00000000,-1,-1,15); //Patriot
AddStaticVehicleEx(470,-1528.77526855,393.94845581,7.29751158,90.00000000,-1,-1,15); //Patriot
AddStaticVehicleEx(520,343.07379150,2472.73706055,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,332.57324219,2472.65429688,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,322.07324219,2472.57226562,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,312.07324219,2472.49414062,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,302.32324219,2472.41796875,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,292.57324219,2472.34179688,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,282.32324219,2472.26171875,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,272.07324219,2472.18164062,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,261.82324219,2472.10156250,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,251.82350159,2472.02343750,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,241.07389832,2471.93945312,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(513,290.51651001,2540.75439453,17.60514069,178.00000000,-1,-1,15); //Stunt
AddStaticVehicleEx(513,325.24865723,2541.87377930,17.60514069,177.99499512,-1,-1,15); //Stunt
AddStaticVehicleEx(487,347.81591797,2534.50390625,17.01603699,180.00000000,-1,-1,15); //Maverick
AddStaticVehicleEx(520,324.06674194,1999.38549805,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.06640625,1999.38476562,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.13162231,1988.62500000,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.23001099,2009.63488770,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.20565796,1978.11486816,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.03060913,1967.61437988,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.12579346,1957.60375977,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.21041870,1947.34326172,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(432,275.41870117,2017.30651855,17.73996162,265.99645996,-1,-1,15); //Rhino
AddStaticVehicleEx(432,276.01840210,2023.52819824,17.73996162,265.99548340,-1,-1,15); //Rhino
AddStaticVehicleEx(432,276.09631348,2029.54907227,17.73996162,265.99548340,-1,-1,15); //Rhino
//---------------------------------------------------------------------------------------------|

}

public OnGameModeExit()
{
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    new skin;
    skin = GetPlayerSkin(playerid);
   	if(skin==23)       //Da Nang Boy
    SetPlayerColor(playerid,0xAA3333AA)
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
	
	if(skin==121)      //BMXer
	SetPlayerColor(playerid,0x33AA33AA)
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
	
	if(skin==121)      //SWAT
	SetPlayerColor(playerid,0x0050F6AA )
	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(0xFFFFFFAA,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(0xFFFFFFAA,string);
    return 1;
}

public OnPlayerSpawn(playerid)
{
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    SendClientMessage(playerid,0xAA3333AA, "You have been killed by %s,killerid");
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/kill", cmdtext, true, 10) == 0)
	{
		SetPlayerHealth(playerid, 0);
		return 1;
	}
	return 0;
}

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 OnPlayerRequestSpawn(playerid)
{
	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;
}
Код:
C:\Users\user\Desktop\SA-MP\gamemodes\AboveFreekBlast.pwn(172) : error 001: expected token: ";", but found "-identifier-"
C:\Users\user\Desktop\SA-MP\gamemodes\AboveFreekBlast.pwn(178) : error 001: expected token: ";", but found "-identifier-"
C:\Users\user\Desktop\SA-MP\gamemodes\AboveFreekBlast.pwn(184) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply
#2

omg just show the error lines only
Reply
#3

Show only the error lines -_- , well here it is fixed

Код:
#include <a_samp>

#if defined FILTERSCRIPT

//-.-Define Colours-.-

#define COLOR_RED 0xAA3333AA      //Da Nang Boy
#define COLOR_GREEN 0x33AA33AA    //BMXer
#define COLOR_BLUE 0x0050F6AA     //SWAT

main()
{
	print("\n----------------------------------");
	print(" Gamemode 1.0");
	print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
//---------------Skins----------------------------------------------------------|
AddPlayerClass(23, 1958.33, 1343.12, 15.36, 269.15, 31, 263, 24, 120, 29, 210);
AddPlayerClass(121, 1958.33, 1343.12, 15.36, 269.15, 27, 132, 35, 60, 30, 200);
AddPlayerClass(285, 1958.33, 1343.12, 15.36, 269.15, 31, 201, 32, 305, 26, 165);
//---------------------------------------------------------------------------------------------|
AddStaticVehicleEx(487,1914.45800781,-2267.09033203,13.81187534,220.00000000,-1,1,15); //Maverick
AddStaticVehicleEx(487,1926.78332520,-2265.96704102,13.81187534,157.99560547,-1,1,15); //Maverick
AddStaticVehicleEx(497,1988.18969727,-2386.70483398,13.81187534,114.00000000,-1,-1,15); //Police Maverick
AddStaticVehicleEx(577,1906.19995117,-2390.61889648,13.73095703,90.00000000,32,1,15); //AT-400
AddStaticVehicleEx(519,1545.57897949,-2463.53198242,14.55475998,0.00000000,-1,-1,15); //Shamal
AddStaticVehicleEx(519,1566.72558594,-2463.65942383,14.55475998,0.00000000,-1,-1,15); //Shamal
AddStaticVehicleEx(425,1687.89208984,-2539.18920898,14.39787483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(553,1943.15942383,-2640.99853516,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(553,1972.62573242,-2641.01684570,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(553,2001.92102051,-2641.27954102,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(553,2031.20422363,-2641.29248047,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(476,2052.72631836,-2640.44946289,14.71702766,0.00000000,-1,-1,15); //Rustler
AddStaticVehicleEx(476,2064.41748047,-2640.57275391,14.71702766,0.00000000,1,3,15); //Rustler
AddStaticVehicleEx(476,2075.93701172,-2640.53833008,14.71702766,0.00000000,1,3,15); //Rustler
AddStaticVehicleEx(476,2087.48535156,-2640.49414062,14.71702766,0.00000000,40,1,15); //Rustler
AddStaticVehicleEx(488,2107.97558594,-2626.43017578,13.81187534,60.00000000,93,1,15); //News Chopper
AddStaticVehicleEx(488,2115.97167969,-2614.74658203,13.81187534,55.99633789,-1,-1,15); //News Chopper
AddStaticVehicleEx(425,1823.42993164,-2622.31005859,14.39787483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(425,1810.63354492,-2622.25927734,14.39787483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(551,2188.79907227,-2252.97045898,13.41040611,316.00000000,20,1,15); //Merit
AddStaticVehicleEx(530,2146.41503906,-2245.88452148,13.10349560,222.00000000,-1,-1,15); //Forklift
AddStaticVehicleEx(524,2112.51440430,-2161.87988281,14.60007381,0.00000000,-1,-1,15); //Cement Truck
AddStaticVehicleEx(486,2122.91723633,-2179.52416992,13.84687519,133.99987793,-1,-1,15); //Dozer
AddStaticVehicleEx(417,1766.27795410,-2284.96264648,27.94997025,0.00000000,-1,-1,15); //Leviathan
AddStaticVehicleEx(420,1695.47229004,-2245.71313477,-2.83251071,90.00000000,6,1,15); //Taxi
AddStaticVehicleEx(420,1686.93249512,-2280.47436523,-1.33251071,356.00000000,6,1,15); //Taxi
AddStaticVehicleEx(560,1616.50756836,-2242.43310547,-2.57351875,90.00000000,-1,1,15); //Sultan
AddStaticVehicleEx(522,1512.10705566,-2212.14599609,13.21503258,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(468,739.41131592,-1805.09790039,12.63543129,165.99981689,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,740.88348389,-1805.29589844,12.63543129,165.99786377,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,737.93493652,-1804.68591309,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,736.50585938,-1804.00830078,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,740.99609375,-1802.28686523,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,739.78540039,-1801.88720703,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(521,452.68481445,-1797.95581055,5.20725250,0.00000000,-1,-1,15); //FCR-900
AddStaticVehicleEx(483,426.31317139,-1797.17541504,5.64247131,328.00000000,-1,-1,15); //Camper
AddStaticVehicleEx(481,430.76608276,-1816.83837891,5.15565109,0.00000000,-1,-1,15); //BMX
AddStaticVehicleEx(522,333.41156006,-1874.42871094,2.29831505,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(429,338.82562256,-1888.31909180,1.66844630,0.00000000,-1,-1,15); //Banshee
AddStaticVehicleEx(559,327.93161011,-1809.87280273,4.46000862,0.00000000,-1,-1,15); //Jester
AddStaticVehicleEx(560,324.41723633,-1809.36657715,4.63729334,0.00000000,-1,-1,15); //Sultan
AddStaticVehicleEx(562,330.69366455,-1809.17028809,4.45709753,0.00000000,-1,-1,15); //Elegy
AddStaticVehicleEx(541,321.22149658,-1809.32031250,3.47949505,0.00000000,-1,-1,15); //Bullet
AddStaticVehicleEx(451,353.37350464,-1808.66699219,4.35157967,0.00000000,-1,-1,15); //Turismo
AddStaticVehicleEx(411,350.27319336,-1808.69152832,4.27393055,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(598,356.93753052,-1808.23571777,4.77020645,0.00000000,-1,-1,15); //Police Car (LVPD)
AddStaticVehicleEx(599,165.33529663,-1787.56188965,4.64050579,266.00000000,-1,1,15); //Police Ranger
AddStaticVehicleEx(599,165.03656006,-1783.54101562,4.64050579,265.99548340,-1,1,15); //Police Ranger
AddStaticVehicleEx(599,164.98281860,-1779.47119141,4.64050579,265.99548340,-1,1,15); //Police Ranger
AddStaticVehicleEx(552,-80.35177612,-1583.21813965,2.39225721,224.00000000,3,1,15); //Utility
AddStaticVehicleEx(515,-82.12873840,-1603.74902344,3.91278362,290.00000000,-1,-1,15); //Roadtrain
AddStaticVehicleEx(486,-58.48752594,-1578.78662109,2.91071987,322.00000000,-1,-1,15); //Dozer
AddStaticVehicleEx(513,-377.53875732,-1414.77307129,26.51132011,0.00000000,-1,-1,15); //Stunt
AddStaticVehicleEx(468,-372.62179565,-1426.79895020,25.48656273,0.00000000,-1,-1,15); //Sanchez
AddStaticVehicleEx(463,-595.00140381,-1084.59838867,23.19369888,0.00000000,-1,-1,15); //Freeway
AddStaticVehicleEx(463,-593.40026855,-1081.84777832,23.19369888,0.00000000,-1,-1,15); //Freeway
AddStaticVehicleEx(463,-591.68469238,-1078.55053711,23.19369888,0.00000000,-1,-1,15); //Freeway
AddStaticVehicleEx(489,-595.76995850,-1088.46264648,24.04121780,58.00000000,-1,-1,15); //Rancher
AddStaticVehicleEx(470,-587.81140137,-1075.99865723,23.58581352,242.00000000,-1,-1,15); //Patriot
AddStaticVehicleEx(473,-321.89715576,-468.90286255,0.00000000,0.00000000,-1,-1,15); //Dinghy
AddStaticVehicleEx(593,-405.72656250,-440.22973633,17.36679459,120.00000000,-1,-1,15); //Dodo
AddStaticVehicleEx(563,-1272.30236816,-621.93817139,14.62072277,0.00000000,-1,-1,15); //Raindance
AddStaticVehicleEx(425,-1459.89355469,-621.45452881,14.99943733,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(511,-1457.41613770,-521.45770264,15.68777275,294.00000000,87,1,15); //Beagle
AddStaticVehicleEx(513,-1449.87451172,-541.60266113,14.95663166,298.00000000,-1,-1,15); //Stunt
AddStaticVehicleEx(593,-1421.04675293,-523.09606934,14.72205734,114.00000000,-1,-1,15); //Dodo
AddStaticVehicleEx(553,-1361.77319336,-493.92834473,16.40687561,206.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(519,-1310.25329590,-486.93859863,15.14850998,294.00000000,-1,-1,15); //Shamal
AddStaticVehicleEx(519,-1319.77929688,-460.45123291,15.14850998,293.99963379,-1,-1,15); //Shamal
AddStaticVehicleEx(592,-1613.99011230,-222.75360107,14.96645260,318.00000000,1,1,15); //Andromada
AddStaticVehicleEx(417,-1570.25451660,48.27898026,18.48207092,0.00000000,-1,-1,15); //Leviathan
AddStaticVehicleEx(522,-1697.45312500,75.59101105,3.20985985,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,-1695.64343262,77.47118378,3.20985985,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,-1694.17333984,79.44620514,3.20985985,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(543,-1819.61791992,-11.00473022,15.06718731,0.00000000,-1,-1,15); //Sadler
AddStaticVehicleEx(428,-1833.65930176,111.67182159,15.36697769,272.00000000,1,-1,15); //Securicar
AddStaticVehicleEx(522,-2013.38964844,-94.04109192,35.12848282,324.00000000,3,1,15); //NRG-500
AddStaticVehicleEx(526,-2076.63305664,-83.68573761,35.01406097,0.00000000,-1,-1,15); //Fortune
AddStaticVehicleEx(474,-2080.97265625,-83.43112183,35.06406403,0.00000000,-1,-1,15); //Hermes
AddStaticVehicleEx(603,-2073.04101562,-83.03495789,35.16673660,0.00000000,-1,-1,15); //Phoenix
AddStaticVehicleEx(562,-2084.89892578,-83.34349060,35.13403320,0.00000000,-1,-1,15); //Elegy
AddStaticVehicleEx(560,-2069.30200195,-83.08323669,35.32122421,0.00000000,-1,-1,15); //Sultan
AddStaticVehicleEx(411,-2138.99902344,-221.25532532,35.04988480,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(598,-2142.59765625,-219.24682617,36.07098389,0.00000000,-1,-1,15); //Police Car (LVPD)
AddStaticVehicleEx(579,-2179.35375977,-203.02600098,35.41894913,270.00000000,3,1,15); //Huntley
AddStaticVehicleEx(400,-2134.71020508,145.33711243,35.83239365,0.00000000,-1,-1,15); //Landstalker
AddStaticVehicleEx(522,-1992.84228516,256.84530640,34.83225250,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(586,-1993.00231934,253.88125610,34.76887512,0.00000000,-1,-1,15); //Wayfarer
AddStaticVehicleEx(581,-1992.87036133,259.46948242,34.87911606,0.00000000,-1,-1,15); //BF-400
AddStaticVehicleEx(520,-1311.67382812,497.22799683,19.15394974,348.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,-1299.51464844,496.86889648,19.15394974,347.99743652,-1,-1,15); //Hydra
AddStaticVehicleEx(520,-1286.53381348,497.88333130,19.15394974,347.99743652,-1,-1,15); //Hydra
AddStaticVehicleEx(425,-1434.56665039,496.62500000,19.08537483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(432,-1598.68798828,368.95776367,7.28683710,0.00000000,-1,-1,15); //Rhino
AddStaticVehicleEx(432,-1592.26525879,368.73767090,7.28683710,0.00000000,-1,-1,15); //Rhino
AddStaticVehicleEx(432,-1604.52282715,368.79119873,7.28683710,0.00000000,-1,-1,15); //Rhino
AddStaticVehicleEx(470,-1528.93627930,390.14761353,7.29751158,90.00000000,-1,-1,15); //Patriot
AddStaticVehicleEx(470,-1528.77526855,393.94845581,7.29751158,90.00000000,-1,-1,15); //Patriot
AddStaticVehicleEx(520,343.07379150,2472.73706055,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,332.57324219,2472.65429688,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,322.07324219,2472.57226562,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,312.07324219,2472.49414062,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,302.32324219,2472.41796875,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,292.57324219,2472.34179688,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,282.32324219,2472.26171875,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,272.07324219,2472.18164062,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,261.82324219,2472.10156250,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,251.82350159,2472.02343750,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,241.07389832,2471.93945312,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(513,290.51651001,2540.75439453,17.60514069,178.00000000,-1,-1,15); //Stunt
AddStaticVehicleEx(513,325.24865723,2541.87377930,17.60514069,177.99499512,-1,-1,15); //Stunt
AddStaticVehicleEx(487,347.81591797,2534.50390625,17.01603699,180.00000000,-1,-1,15); //Maverick
AddStaticVehicleEx(520,324.06674194,1999.38549805,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.06640625,1999.38476562,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.13162231,1988.62500000,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.23001099,2009.63488770,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.20565796,1978.11486816,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.03060913,1967.61437988,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.12579346,1957.60375977,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.21041870,1947.34326172,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(432,275.41870117,2017.30651855,17.73996162,265.99645996,-1,-1,15); //Rhino
AddStaticVehicleEx(432,276.01840210,2023.52819824,17.73996162,265.99548340,-1,-1,15); //Rhino
AddStaticVehicleEx(432,276.09631348,2029.54907227,17.73996162,265.99548340,-1,-1,15); //Rhino
//---------------------------------------------------------------------------------------------|

}

public OnGameModeExit()
{
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    new skin;
    skin = GetPlayerSkin(playerid);
   	if(skin==23)       //Da Nang Boy
    SetPlayerColor(playerid,0xAA3333AA); // you missed this ;
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

	if(skin==121)      //BMXer
	SetPlayerColor(playerid,0x33AA33AA); // you missed this ;
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

	if(skin==121)      //SWAT
	SetPlayerColor(playerid,0x0050F6AA); // you missed this ;
	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(0xFFFFFFAA,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(0xFFFFFFAA,string);
    return 1;
}

public OnPlayerSpawn(playerid)
{
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    SendClientMessage(playerid,0xAA3333AA, "You have been killed by %s,killerid");
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/kill", cmdtext, true, 10) == 0)
	{
		SetPlayerHealth(playerid, 0);
		return 1;
	}
	return 0;
}

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 OnPlayerRequestSpawn(playerid)
{
	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;
}
Reply
#4

Quote:
Originally Posted by MMiz
Посмотреть сообщение
Show only the error lines -_- , well here it is fixed

Код:
#include <a_samp>

#if defined FILTERSCRIPT

//-.-Define Colours-.-

#define COLOR_RED 0xAA3333AA      //Da Nang Boy
#define COLOR_GREEN 0x33AA33AA    //BMXer
#define COLOR_BLUE 0x0050F6AA     //SWAT

main()
{
	print("\n----------------------------------");
	print(" Gamemode 1.0");
	print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
//---------------Skins----------------------------------------------------------|
AddPlayerClass(23, 1958.33, 1343.12, 15.36, 269.15, 31, 263, 24, 120, 29, 210);
AddPlayerClass(121, 1958.33, 1343.12, 15.36, 269.15, 27, 132, 35, 60, 30, 200);
AddPlayerClass(285, 1958.33, 1343.12, 15.36, 269.15, 31, 201, 32, 305, 26, 165);
//---------------------------------------------------------------------------------------------|
AddStaticVehicleEx(487,1914.45800781,-2267.09033203,13.81187534,220.00000000,-1,1,15); //Maverick
AddStaticVehicleEx(487,1926.78332520,-2265.96704102,13.81187534,157.99560547,-1,1,15); //Maverick
AddStaticVehicleEx(497,1988.18969727,-2386.70483398,13.81187534,114.00000000,-1,-1,15); //Police Maverick
AddStaticVehicleEx(577,1906.19995117,-2390.61889648,13.73095703,90.00000000,32,1,15); //AT-400
AddStaticVehicleEx(519,1545.57897949,-2463.53198242,14.55475998,0.00000000,-1,-1,15); //Shamal
AddStaticVehicleEx(519,1566.72558594,-2463.65942383,14.55475998,0.00000000,-1,-1,15); //Shamal
AddStaticVehicleEx(425,1687.89208984,-2539.18920898,14.39787483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(553,1943.15942383,-2640.99853516,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(553,1972.62573242,-2641.01684570,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(553,2001.92102051,-2641.27954102,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(553,2031.20422363,-2641.29248047,15.78187466,0.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(476,2052.72631836,-2640.44946289,14.71702766,0.00000000,-1,-1,15); //Rustler
AddStaticVehicleEx(476,2064.41748047,-2640.57275391,14.71702766,0.00000000,1,3,15); //Rustler
AddStaticVehicleEx(476,2075.93701172,-2640.53833008,14.71702766,0.00000000,1,3,15); //Rustler
AddStaticVehicleEx(476,2087.48535156,-2640.49414062,14.71702766,0.00000000,40,1,15); //Rustler
AddStaticVehicleEx(488,2107.97558594,-2626.43017578,13.81187534,60.00000000,93,1,15); //News Chopper
AddStaticVehicleEx(488,2115.97167969,-2614.74658203,13.81187534,55.99633789,-1,-1,15); //News Chopper
AddStaticVehicleEx(425,1823.42993164,-2622.31005859,14.39787483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(425,1810.63354492,-2622.25927734,14.39787483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(551,2188.79907227,-2252.97045898,13.41040611,316.00000000,20,1,15); //Merit
AddStaticVehicleEx(530,2146.41503906,-2245.88452148,13.10349560,222.00000000,-1,-1,15); //Forklift
AddStaticVehicleEx(524,2112.51440430,-2161.87988281,14.60007381,0.00000000,-1,-1,15); //Cement Truck
AddStaticVehicleEx(486,2122.91723633,-2179.52416992,13.84687519,133.99987793,-1,-1,15); //Dozer
AddStaticVehicleEx(417,1766.27795410,-2284.96264648,27.94997025,0.00000000,-1,-1,15); //Leviathan
AddStaticVehicleEx(420,1695.47229004,-2245.71313477,-2.83251071,90.00000000,6,1,15); //Taxi
AddStaticVehicleEx(420,1686.93249512,-2280.47436523,-1.33251071,356.00000000,6,1,15); //Taxi
AddStaticVehicleEx(560,1616.50756836,-2242.43310547,-2.57351875,90.00000000,-1,1,15); //Sultan
AddStaticVehicleEx(522,1512.10705566,-2212.14599609,13.21503258,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(468,739.41131592,-1805.09790039,12.63543129,165.99981689,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,740.88348389,-1805.29589844,12.63543129,165.99786377,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,737.93493652,-1804.68591309,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,736.50585938,-1804.00830078,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,740.99609375,-1802.28686523,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(468,739.78540039,-1801.88720703,12.63543129,165.99243164,-1,-1,15); //Sanchez
AddStaticVehicleEx(521,452.68481445,-1797.95581055,5.20725250,0.00000000,-1,-1,15); //FCR-900
AddStaticVehicleEx(483,426.31317139,-1797.17541504,5.64247131,328.00000000,-1,-1,15); //Camper
AddStaticVehicleEx(481,430.76608276,-1816.83837891,5.15565109,0.00000000,-1,-1,15); //BMX
AddStaticVehicleEx(522,333.41156006,-1874.42871094,2.29831505,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(429,338.82562256,-1888.31909180,1.66844630,0.00000000,-1,-1,15); //Banshee
AddStaticVehicleEx(559,327.93161011,-1809.87280273,4.46000862,0.00000000,-1,-1,15); //Jester
AddStaticVehicleEx(560,324.41723633,-1809.36657715,4.63729334,0.00000000,-1,-1,15); //Sultan
AddStaticVehicleEx(562,330.69366455,-1809.17028809,4.45709753,0.00000000,-1,-1,15); //Elegy
AddStaticVehicleEx(541,321.22149658,-1809.32031250,3.47949505,0.00000000,-1,-1,15); //Bullet
AddStaticVehicleEx(451,353.37350464,-1808.66699219,4.35157967,0.00000000,-1,-1,15); //Turismo
AddStaticVehicleEx(411,350.27319336,-1808.69152832,4.27393055,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(598,356.93753052,-1808.23571777,4.77020645,0.00000000,-1,-1,15); //Police Car (LVPD)
AddStaticVehicleEx(599,165.33529663,-1787.56188965,4.64050579,266.00000000,-1,1,15); //Police Ranger
AddStaticVehicleEx(599,165.03656006,-1783.54101562,4.64050579,265.99548340,-1,1,15); //Police Ranger
AddStaticVehicleEx(599,164.98281860,-1779.47119141,4.64050579,265.99548340,-1,1,15); //Police Ranger
AddStaticVehicleEx(552,-80.35177612,-1583.21813965,2.39225721,224.00000000,3,1,15); //Utility
AddStaticVehicleEx(515,-82.12873840,-1603.74902344,3.91278362,290.00000000,-1,-1,15); //Roadtrain
AddStaticVehicleEx(486,-58.48752594,-1578.78662109,2.91071987,322.00000000,-1,-1,15); //Dozer
AddStaticVehicleEx(513,-377.53875732,-1414.77307129,26.51132011,0.00000000,-1,-1,15); //Stunt
AddStaticVehicleEx(468,-372.62179565,-1426.79895020,25.48656273,0.00000000,-1,-1,15); //Sanchez
AddStaticVehicleEx(463,-595.00140381,-1084.59838867,23.19369888,0.00000000,-1,-1,15); //Freeway
AddStaticVehicleEx(463,-593.40026855,-1081.84777832,23.19369888,0.00000000,-1,-1,15); //Freeway
AddStaticVehicleEx(463,-591.68469238,-1078.55053711,23.19369888,0.00000000,-1,-1,15); //Freeway
AddStaticVehicleEx(489,-595.76995850,-1088.46264648,24.04121780,58.00000000,-1,-1,15); //Rancher
AddStaticVehicleEx(470,-587.81140137,-1075.99865723,23.58581352,242.00000000,-1,-1,15); //Patriot
AddStaticVehicleEx(473,-321.89715576,-468.90286255,0.00000000,0.00000000,-1,-1,15); //Dinghy
AddStaticVehicleEx(593,-405.72656250,-440.22973633,17.36679459,120.00000000,-1,-1,15); //Dodo
AddStaticVehicleEx(563,-1272.30236816,-621.93817139,14.62072277,0.00000000,-1,-1,15); //Raindance
AddStaticVehicleEx(425,-1459.89355469,-621.45452881,14.99943733,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(511,-1457.41613770,-521.45770264,15.68777275,294.00000000,87,1,15); //Beagle
AddStaticVehicleEx(513,-1449.87451172,-541.60266113,14.95663166,298.00000000,-1,-1,15); //Stunt
AddStaticVehicleEx(593,-1421.04675293,-523.09606934,14.72205734,114.00000000,-1,-1,15); //Dodo
AddStaticVehicleEx(553,-1361.77319336,-493.92834473,16.40687561,206.00000000,-1,-1,15); //Nevada
AddStaticVehicleEx(519,-1310.25329590,-486.93859863,15.14850998,294.00000000,-1,-1,15); //Shamal
AddStaticVehicleEx(519,-1319.77929688,-460.45123291,15.14850998,293.99963379,-1,-1,15); //Shamal
AddStaticVehicleEx(592,-1613.99011230,-222.75360107,14.96645260,318.00000000,1,1,15); //Andromada
AddStaticVehicleEx(417,-1570.25451660,48.27898026,18.48207092,0.00000000,-1,-1,15); //Leviathan
AddStaticVehicleEx(522,-1697.45312500,75.59101105,3.20985985,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,-1695.64343262,77.47118378,3.20985985,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,-1694.17333984,79.44620514,3.20985985,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(543,-1819.61791992,-11.00473022,15.06718731,0.00000000,-1,-1,15); //Sadler
AddStaticVehicleEx(428,-1833.65930176,111.67182159,15.36697769,272.00000000,1,-1,15); //Securicar
AddStaticVehicleEx(522,-2013.38964844,-94.04109192,35.12848282,324.00000000,3,1,15); //NRG-500
AddStaticVehicleEx(526,-2076.63305664,-83.68573761,35.01406097,0.00000000,-1,-1,15); //Fortune
AddStaticVehicleEx(474,-2080.97265625,-83.43112183,35.06406403,0.00000000,-1,-1,15); //Hermes
AddStaticVehicleEx(603,-2073.04101562,-83.03495789,35.16673660,0.00000000,-1,-1,15); //Phoenix
AddStaticVehicleEx(562,-2084.89892578,-83.34349060,35.13403320,0.00000000,-1,-1,15); //Elegy
AddStaticVehicleEx(560,-2069.30200195,-83.08323669,35.32122421,0.00000000,-1,-1,15); //Sultan
AddStaticVehicleEx(411,-2138.99902344,-221.25532532,35.04988480,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(598,-2142.59765625,-219.24682617,36.07098389,0.00000000,-1,-1,15); //Police Car (LVPD)
AddStaticVehicleEx(579,-2179.35375977,-203.02600098,35.41894913,270.00000000,3,1,15); //Huntley
AddStaticVehicleEx(400,-2134.71020508,145.33711243,35.83239365,0.00000000,-1,-1,15); //Landstalker
AddStaticVehicleEx(522,-1992.84228516,256.84530640,34.83225250,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(586,-1993.00231934,253.88125610,34.76887512,0.00000000,-1,-1,15); //Wayfarer
AddStaticVehicleEx(581,-1992.87036133,259.46948242,34.87911606,0.00000000,-1,-1,15); //BF-400
AddStaticVehicleEx(520,-1311.67382812,497.22799683,19.15394974,348.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,-1299.51464844,496.86889648,19.15394974,347.99743652,-1,-1,15); //Hydra
AddStaticVehicleEx(520,-1286.53381348,497.88333130,19.15394974,347.99743652,-1,-1,15); //Hydra
AddStaticVehicleEx(425,-1434.56665039,496.62500000,19.08537483,0.00000000,-1,-1,15); //Hunter
AddStaticVehicleEx(432,-1598.68798828,368.95776367,7.28683710,0.00000000,-1,-1,15); //Rhino
AddStaticVehicleEx(432,-1592.26525879,368.73767090,7.28683710,0.00000000,-1,-1,15); //Rhino
AddStaticVehicleEx(432,-1604.52282715,368.79119873,7.28683710,0.00000000,-1,-1,15); //Rhino
AddStaticVehicleEx(470,-1528.93627930,390.14761353,7.29751158,90.00000000,-1,-1,15); //Patriot
AddStaticVehicleEx(470,-1528.77526855,393.94845581,7.29751158,90.00000000,-1,-1,15); //Patriot
AddStaticVehicleEx(520,343.07379150,2472.73706055,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,332.57324219,2472.65429688,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,322.07324219,2472.57226562,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,312.07324219,2472.49414062,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,302.32324219,2472.41796875,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,292.57324219,2472.34179688,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,282.32324219,2472.26171875,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,272.07324219,2472.18164062,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,261.82324219,2472.10156250,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,251.82350159,2472.02343750,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,241.07389832,2471.93945312,17.40394974,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(513,290.51651001,2540.75439453,17.60514069,178.00000000,-1,-1,15); //Stunt
AddStaticVehicleEx(513,325.24865723,2541.87377930,17.60514069,177.99499512,-1,-1,15); //Stunt
AddStaticVehicleEx(487,347.81591797,2534.50390625,17.01603699,180.00000000,-1,-1,15); //Maverick
AddStaticVehicleEx(520,324.06674194,1999.38549805,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.06640625,1999.38476562,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.13162231,1988.62500000,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.23001099,2009.63488770,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.20565796,1978.11486816,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.03060913,1967.61437988,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.12579346,1957.60375977,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,324.21041870,1947.34326172,18.56332779,90.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(432,275.41870117,2017.30651855,17.73996162,265.99645996,-1,-1,15); //Rhino
AddStaticVehicleEx(432,276.01840210,2023.52819824,17.73996162,265.99548340,-1,-1,15); //Rhino
AddStaticVehicleEx(432,276.09631348,2029.54907227,17.73996162,265.99548340,-1,-1,15); //Rhino
//---------------------------------------------------------------------------------------------|

}

public OnGameModeExit()
{
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    new skin;
    skin = GetPlayerSkin(playerid);
   	if(skin==23)       //Da Nang Boy
    SetPlayerColor(playerid,0xAA3333AA); // you missed this ;
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

	if(skin==121)      //BMXer
	SetPlayerColor(playerid,0x33AA33AA); // you missed this ;
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

	if(skin==121)      //SWAT
	SetPlayerColor(playerid,0x0050F6AA); // you missed this ;
	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(0xFFFFFFAA,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(0xFFFFFFAA,string);
    return 1;
}

public OnPlayerSpawn(playerid)
{
	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    SendClientMessage(playerid,0xAA3333AA, "You have been killed by %s,killerid");
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/kill", cmdtext, true, 10) == 0)
	{
		SetPlayerHealth(playerid, 0);
		return 1;
	}
	return 0;
}

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 OnPlayerRequestSpawn(playerid)
{
	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;
}
*facepalm*

Btw. You can already say what you have to fix. The error shows that you missed 3 ;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)