Detaljan opis problema😛okusavam da instaliram JunkBuster 11 na gamemod ,ali kada compile gamemod izlazi sledece:
Quote
E:\SAMP\Nova fascikla (11)\Nova fascikla (4)\OVO\TechLand Xperia\pawno\include\JunkBuster.inc(477) : warning 201: redefinition of constant/macro (symbol "CreateVehicle")
E:\SAMP\Nova fascikla (11)\Nova fascikla (4)\OVO\TechLand Xperia\pawno\include\JunkBuster.inc(484) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicle")
E:\SAMP\Nova fascikla (11)\Nova fascikla (4)\OVO\TechLand Xperia\pawno\include\JunkBuster.inc(491) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicleEx")
E:\SAMP\Nova fascikla (11)\Nova fascikla (4)\OVO\TechLand Xperia\gamemodes\CLRP.pwn(78805) : error 021: symbol already defined: "IsPlayerAdminCall"
E:\SAMP\Nova fascikla (11)\Nova fascikla (4)\OVO\TechLand Xperia\gamemodes\CLRP.pwn(78806) : error 029: invalid expression, assumed zero
E:\SAMP\Nova fascikla (11)\Nova fascikla (4)\OVO\TechLand Xperia\gamemodes\CLRP.pwn(78807) : error 001: expected token: ")", but found "return"
E:\SAMP\Nova fascikla (11)\Nova fascikla (4)\OVO\TechLand Xperia\pawno\include\JunkBuster.inc(484) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicle")
E:\SAMP\Nova fascikla (11)\Nova fascikla (4)\OVO\TechLand Xperia\pawno\include\JunkBuster.inc(491) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicleEx")
E:\SAMP\Nova fascikla (11)\Nova fascikla (4)\OVO\TechLand Xperia\gamemodes\CLRP.pwn(78805) : error 021: symbol already defined: "IsPlayerAdminCall"
E:\SAMP\Nova fascikla (11)\Nova fascikla (4)\OVO\TechLand Xperia\gamemodes\CLRP.pwn(78806) : error 029: invalid expression, assumed zero
E:\SAMP\Nova fascikla (11)\Nova fascikla (4)\OVO\TechLand Xperia\gamemodes\CLRP.pwn(78807) : error 001: expected token: ")", but found "return"
Deo skripte:
Quote
new RentBike;
new SmuggleCar;
new Text:logo2;
//RENT A CAR-------------------------------------------------------------------------------------------
RentCar = AddStaticVehicleEx(426, 1556.1055908203, -2360.5578613281, 13.374654769897, 0.000000, -1, -1,3600); //161
RentCar = AddStaticVehicleEx(540, 1530.0439453125, -2360.6708984375, 13.534155845642, 0.000000, -1, -1,3600); //162
RentCar = AddStaticVehicleEx(546, 1549.4892578125, -2360.6350097656, 13.396503448486, 0.000000, -1, -1,3600); //163
RentCar = AddStaticVehicleEx(547, 998.1879,-924.0609,41.9159,186.8638,-1,-1,3600); //164
RentCar = AddStaticVehicleEx(458, 1542.974609375, -2360.6264648438, 13.524865150452, 0.000000, -1, -1,3600); //165
RentCar = AddStaticVehicleEx(479, 1536.3571777344, -2360.7302246094, 13.45923614502, 0.000000, -1, -1,3600); //166
RentCar = AddStaticVehicleEx(426, 1357.6626,-1749.2266,13.1146,89.2880,-1,-1,3600); //167
RentCar = AddStaticVehicleEx(540, 1062.4990,-1743.1919,13.1994,89.8415,-1,-1,3600); //168
RentCar = AddStaticVehicleEx(458, 1077.4459,-1754.8782,13.1321,89.5410,-1,-1,3600); //169
RentCar = AddStaticVehicleEx(547, 1077.7404,-1766.7731,13.0992,270.1259,-1,-1,3600); //170
RentCar = AddStaticVehicleEx(540, 1560.4209, -2338.3311, 13.4087, 91.0165, 53, 53,3600); //171
RentCar = AddStaticVehicleEx(547, 1560.5836, -2335.2278, 13.2823, 90.2465, 122, 1,3600); //172
RentCar = AddStaticVehicleEx(426, 1560.4023, -2331.8059, 13.2912, 89.8171, 11, 11,3600); //173
RentCar = AddStaticVehicleEx(540, 1560.6273, -2328.6775, 13.4084, 89.3883, 42, 42,3600); //174
RentCar = AddStaticVehicleEx(547, 1560.5616, -2325.2332, 13.2837, 90.4645, 66, 1,3600); //175
RentCar = AddStaticVehicleEx(547, -1212.9794921875, -961.11212158203, 128.10562133789, 270, -1, -1,3600); //176
RentCar = AddStaticVehicleEx(540, -1213.0913085938, -966.20660400391, 128.24513244629, 270, -1, -1,3600); //177
RentCar = AddStaticVehicleEx(426, -1212.9156494141, -971.40100097656, 128.08563232422, 270, -1, -1,3600); //178
RentCar = AddStaticVehicleEx(458, -1212.9578857422, -976.13439941406, 128.23583984375, 270, -1, -1,3600); //179
RentCar = AddStaticVehicleEx(426, -1212.8996582031, -980.92279052734, 128.08563232422, 270, -1, -1,3600); //180
RentCar = AddStaticVehicleEx(540, 1519.0217285156, -2360.4638671875, 13.534155845642, 0.000000, -1, -1,3600); //181
RentCar = AddStaticVehicleEx(479, 1512.5151367188, -2360.6262207031, 13.45923614502, 0.000000, -1, -1,3600); //182
RentCar = AddStaticVehicleEx(458, 1505.6219482422, -2361.0327148438, 13.524865150452, 0.000000, -1, -1,3600); //183
RentCar = AddStaticVehicleEx(546, 1499.2687988281, -2361.037109375, 13.396503448486, 0.000000, -1, -1,3600); //184
RentCar = AddStaticVehicleEx(426, 1492.6125488281, -2360.7072753906, 13.374654769897, 0.000000, -1, -1,3600); //185
//SVERCER DROGE------------------------------------------------------------------------------------------
SmuggleCar = AddStaticVehicleEx(442,1097.7876,-1327.8087,13.1820,2.3556,3,13,30000); // Drugs smuggler car 243
SmuggleCar = AddStaticVehicleEx(442,1110.4362,-1327.9688,13.1654,1.1852,3,13,30000); // Drugs smuggler car 244
SmuggleCar = AddStaticVehicleEx(442,1123.7722,-1327.3230,13.2222,359.7142,3,13,30000); // Drugs smuggler car 245
public IsPlayerAdminCall(playerid)
{
if(/* Missing part: Is playerid admin? */)
return 1; // If yes, return 1.
else
return 0; // If no, return 0.
}
new SmuggleCar;
new Text:logo2;
//RENT A CAR-------------------------------------------------------------------------------------------
RentCar = AddStaticVehicleEx(426, 1556.1055908203, -2360.5578613281, 13.374654769897, 0.000000, -1, -1,3600); //161
RentCar = AddStaticVehicleEx(540, 1530.0439453125, -2360.6708984375, 13.534155845642, 0.000000, -1, -1,3600); //162
RentCar = AddStaticVehicleEx(546, 1549.4892578125, -2360.6350097656, 13.396503448486, 0.000000, -1, -1,3600); //163
RentCar = AddStaticVehicleEx(547, 998.1879,-924.0609,41.9159,186.8638,-1,-1,3600); //164
RentCar = AddStaticVehicleEx(458, 1542.974609375, -2360.6264648438, 13.524865150452, 0.000000, -1, -1,3600); //165
RentCar = AddStaticVehicleEx(479, 1536.3571777344, -2360.7302246094, 13.45923614502, 0.000000, -1, -1,3600); //166
RentCar = AddStaticVehicleEx(426, 1357.6626,-1749.2266,13.1146,89.2880,-1,-1,3600); //167
RentCar = AddStaticVehicleEx(540, 1062.4990,-1743.1919,13.1994,89.8415,-1,-1,3600); //168
RentCar = AddStaticVehicleEx(458, 1077.4459,-1754.8782,13.1321,89.5410,-1,-1,3600); //169
RentCar = AddStaticVehicleEx(547, 1077.7404,-1766.7731,13.0992,270.1259,-1,-1,3600); //170
RentCar = AddStaticVehicleEx(540, 1560.4209, -2338.3311, 13.4087, 91.0165, 53, 53,3600); //171
RentCar = AddStaticVehicleEx(547, 1560.5836, -2335.2278, 13.2823, 90.2465, 122, 1,3600); //172
RentCar = AddStaticVehicleEx(426, 1560.4023, -2331.8059, 13.2912, 89.8171, 11, 11,3600); //173
RentCar = AddStaticVehicleEx(540, 1560.6273, -2328.6775, 13.4084, 89.3883, 42, 42,3600); //174
RentCar = AddStaticVehicleEx(547, 1560.5616, -2325.2332, 13.2837, 90.4645, 66, 1,3600); //175
RentCar = AddStaticVehicleEx(547, -1212.9794921875, -961.11212158203, 128.10562133789, 270, -1, -1,3600); //176
RentCar = AddStaticVehicleEx(540, -1213.0913085938, -966.20660400391, 128.24513244629, 270, -1, -1,3600); //177
RentCar = AddStaticVehicleEx(426, -1212.9156494141, -971.40100097656, 128.08563232422, 270, -1, -1,3600); //178
RentCar = AddStaticVehicleEx(458, -1212.9578857422, -976.13439941406, 128.23583984375, 270, -1, -1,3600); //179
RentCar = AddStaticVehicleEx(426, -1212.8996582031, -980.92279052734, 128.08563232422, 270, -1, -1,3600); //180
RentCar = AddStaticVehicleEx(540, 1519.0217285156, -2360.4638671875, 13.534155845642, 0.000000, -1, -1,3600); //181
RentCar = AddStaticVehicleEx(479, 1512.5151367188, -2360.6262207031, 13.45923614502, 0.000000, -1, -1,3600); //182
RentCar = AddStaticVehicleEx(458, 1505.6219482422, -2361.0327148438, 13.524865150452, 0.000000, -1, -1,3600); //183
RentCar = AddStaticVehicleEx(546, 1499.2687988281, -2361.037109375, 13.396503448486, 0.000000, -1, -1,3600); //184
RentCar = AddStaticVehicleEx(426, 1492.6125488281, -2360.7072753906, 13.374654769897, 0.000000, -1, -1,3600); //185
//SVERCER DROGE------------------------------------------------------------------------------------------
SmuggleCar = AddStaticVehicleEx(442,1097.7876,-1327.8087,13.1820,2.3556,3,13,30000); // Drugs smuggler car 243
SmuggleCar = AddStaticVehicleEx(442,1110.4362,-1327.9688,13.1654,1.1852,3,13,30000); // Drugs smuggler car 244
SmuggleCar = AddStaticVehicleEx(442,1123.7722,-1327.3230,13.2222,359.7142,3,13,30000); // Drugs smuggler car 245
public IsPlayerAdminCall(playerid)
{
if(/* Missing part: Is playerid admin? */)
return 1; // If yes, return 1.
else
return 0; // If no, return 0.
}
