27.05.2014, 15:38
pawn Код:
NoobVehicle = CreateVehicle(462,1721.9529,1511.4315,10.4106,164.7907,57,0,9999999999); // S.Faggio1
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1720.3893,1503.2946,10.4110,345.9825,57,0,9999999999); // S.Faggio2
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1719.7360,1500.5607,10.4138,164.3369,57,0,9999999999); // S.Faggio3
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1717.3511,1491.9044,10.4172,343.0242,57,0,9999999999); // S.Faggio4
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1716.5875,1489.1969,10.4138,158.4056,57,0,9999999999); // S.Faggio5
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1714.1150,1481.0281,10.4111,339.1361,57,0,9999999999); // S.Faggio6
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1713.2162,1478.3274,10.4185,160.3177,57,0,9999999999); // S.Faggio7
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1709.9103,1468.5326,10.4187,343.3939,57,0,9999999999); // S.Faggio8
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1709.0266,1465.8184,10.4120,158.6395,57,0,9999999999); // S.Faggio9
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1702.9109,1445.6056,10.4179,347.2465,57,0,9999999999); // S.Faggio10
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1702.7789,1442.8165,10.4166,178.2944,57,0,9999999999); // S.Faggio11
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1702.4158,1431.1669,10.2642,357.7253,57,0,9999999999); // S.Faggio12
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1702.4651,1428.3623,10.2394,186.1544,57,0,9999999999); // S.Faggio13
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1703.1547,1418.7538,10.2453,7.9907,57,0,9999999999); // S.Faggio14
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1703.6289,1415.9854,10.2399,191.2389,57,0,9999999999); // S.Faggio15
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1705.2295,1406.1152,10.2398,12.9132,57,0,9999999999); // S.Faggio16
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1706.0365,1403.3656,10.2396,196.6373,57,0,9999999999); // S.Faggio17
SetVehicleNumberPlate(NoobVehicle,"Noob");
NoobVehicle = CreateVehicle(462,1708.4735,1393.7400,10.2425,17.8774,57,0,9999999999); // S.Faggio18
SetVehicleNumberPlate(NoobVehicle,"Noob");
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(vehicleid == NoobVehicle[1]){SetPlayerPos(playerid,0,0,0);}
return 1;
}
pawn Код:
C:\Users\Lirbo\Desktop\IRP\gamemodes\BBRP.pwn(321) : error 028: invalid subscript (not an array or too many subscripts): "NoobVehicle"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
but if I'm not putting it so its won't work (the SetPlayerPos(playerid,0,0,0);)