PDA

View Full Version : Need help with 33-warning 202's


Zach7
08/08/2012, 01:22 AM
here are errors


C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17042) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17043) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17044) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17045) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17046) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17047) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17048) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17049) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17050) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17051) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17052) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17053) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17054) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17055) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17056) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17057) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17058) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17059) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17060) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17061) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17062) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17063) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17064) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17065) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17066) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17067) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17068) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17069) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17070) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17071) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17072) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17073) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\GTA - San Andreas\zGamingRoleplay\gamemodes\TVRP.pwn(17074) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


33 Warnings.



Here are the lines 17042-17074

LSPDVehicles[3] = AddStaticVehicleEx(523,1585.30004883,-1677.59997559,5.59999990,268.00000000,-1,-1,15, VEHICLE_RESPAWN); // HPV1000
LSPDVehicles[4] = AddStaticVehicleEx(523,1585.30004883,-1680.30004883,5.59999990,270.00000000,-1,-1,15, VEHICLE_RESPAWN); // HPV1000
LSPDVehicles[5] = AddStaticVehicleEx(596,1559.80004883,-1711.80004883,5.69999981,0.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[6] = AddStaticVehicleEx(596,1570.59997559,-1711.50000000,5.69999981,0.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[7] = AddStaticVehicleEx(596,1574.40002441,-1711.40002441,5.69999981,0.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[8] = AddStaticVehicleEx(596,1578.59997559,-1711.40002441,5.69999981,0.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[9] = AddStaticVehicleEx(596,1583.59997559,-1711.50000000,5.69999981,0.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[10] = AddStaticVehicleEx(596,1587.30004883,-1711.59997559,5.69999981,0.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[11] = AddStaticVehicleEx(596,1591.09997559,-1711.59997559,5.69999981,0.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[12] = AddStaticVehicleEx(596,1595.40002441,-1711.59997559,5.69999981,0.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[13] = AddStaticVehicleEx(596,1601.59997559,-1704.30004883,5.69999981,90.00000000,-1,1,15, VEHICLE_RESPAWN); //Police Car (LSPD)
LSPDVehicles[14] = AddStaticVehicleEx(596,1601.69995117,-1699.90002441,5.69999981,90.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[15] = AddStaticVehicleEx(596,1601.59997559,-1696.00000000,5.69999981,90.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[16] = AddStaticVehicleEx(596,1601.69995117,-1691.90002441,5.69999981,88.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[17] = AddStaticVehicleEx(596,1601.69995117,-1687.69995117,5.69999981,88.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[18] = AddStaticVehicleEx(596,1601.59997559,-1684.00000000,5.69999981,90.00000000,-1,1,15, VEHICLE_RESPAWN); // Police Car (LSPD)
LSPDVehicles[19] = AddStaticVehicleEx(601,1526.69995117,-1645.40002441,5.80000019,182.00000000,-1,-1,15, VEHICLE_RESPAWN); // S.W.A.T. Van
LSPDVehicles[20] = AddStaticVehicleEx(601,1530.59997559,-1645.19995117,5.80000019,182.00000000,-1,-1,15, VEHICLE_RESPAWN); // S.W.A.T. Van
LSPDVehicles[21] = AddStaticVehicleEx(528,1534.69995117,-1645.69995117,6.09999990,179.99993896,-1,-1,15, VEHICLE_RESPAWN); // FBI Truck
LSPDVehicles[22] = AddStaticVehicleEx(528,1539.00000000,-1646.09997559,6.09999990,182.00000000,-1,-1,15, VEHICLE_RESPAWN); // FBI Truck
LSPDVehicles[23] = AddStaticVehicleEx(470,1544.80004883,-1651.09997559,6.00000000,90.00000000,-1,1,15, VEHICLE_RESPAWN); // Patriot
LSPDVehicles[24] = AddStaticVehicleEx(470,1544.69995117,-1654.90002441,6.00000000,90.00000000,-1,-1,15, VEHICLE_RESPAWN); // Patriot
LSPDVehicles[25] = AddStaticVehicleEx(427,1544.50000000,-1659.19995117,6.09999990,90.00000000,-1,1,15, VEHICLE_RESPAWN); // Enforcer
LSPDVehicles[26] = AddStaticVehicleEx(427,1544.50000000,-1663.19995117,6.09999990,90.00000000,-1,1,15, VEHICLE_RESPAWN); // Enforcer
LSPDVehicles[27] = AddStaticVehicleEx(429,1564.69995117,-1711.59997559,5.59999990,0.00000000,-1,1,15, VEHICLE_RESPAWN); // Banshee
LSPDVehicles[28] = AddStaticVehicleEx(482,1545.09997559,-1667.90002441,6.09999990,90.00000000,-1,1,15, VEHICLE_RESPAWN); // Burrito
LSPDVehicles[29] = AddStaticVehicleEx(482,1544.69995117,-1672.19995117,6.09999990,90.00000000,-1,1,15, VEHICLE_RESPAWN); // Burrito
LSPDVehicles[30] = AddStaticVehicleEx(451,1545.59997559,-1676.09997559,5.69999981,90.00000000,-1,1,15, VEHICLE_RESPAWN); // Turismo
LSPDVehicles[31] = AddStaticVehicleEx(541,1544.80004883,-1680.19995117,5.59999990,90.00000000,-1,1,15, VEHICLE_RESPAWN); // Bullet
LSPDVehicles[32] = AddStaticVehicleEx(411,1545.19995117,-1684.30004883,5.69999981,90.00000000,-1,1,15, VEHICLE_RESPAWN); // Infernus
LSPDVehicles[33] = AddStaticVehicleEx(525,1557.59997559,-1606.50000000,13.39999962,180.00000000,-1,-1,15, VEHICLE_RESPAWN); // Tow Truck
LSPDVehicles[34] = AddStaticVehicleEx(525,1563.90002441,-1606.59997559,13.39999962,180.00000000,-1,-1,15, VEHICLE_RESPAWN); // Tow Truck
LSPDVehicles[35] = AddStaticVehicleEx(525,1571.19995117,-1606.59997559,13.39999962,180.00000000,-1,-1,15, VEHICLE_RESPAWN); // Tow Truck



Here are lines 17039-17041 which are above 17042 but no error

LSPDVehicles[0] = AddStaticVehicleEx(599,1584.09997559,-1671.69995117,6.00000000,270.00000000,-1,1, VEHICLE_RESPAWN); // Police Ranger
LSPDVehicles[1] = AddStaticVehicleEx(599,1584.40002441,-1667.09997559,6.09999990,270.00000000,-1,1, VEHICLE_RESPAWN); // Police Ranger
LSPDVehicles[2] = AddStaticVehicleEx(523,1585.30004883,-1675.30004883,5.59999990,276.00000000,-1,-1, VEHICLE_RESPAWN); // HPV1000


Here are lines 17075-17096 which are under 17074 but are also not part of the warning Im not sure why though.

LSPDVehicles[36] = AddStaticVehicleEx(497,1561.59997559,-1696.40002441,28.70000076,90.00000000,-1,-1,15); //Police Maverick
LSPDVehicles[37] = AddStaticVehicleEx(497,1570.40002441,-1707.50000000,28.70000076,90.00000000,-1,-1,15); //Police Maverick
LSPDVehicles[38] = AddStaticVehicleEx(497,1549.40002441,-1707.50000000,28.70000076,90.00000000,-1,-1,15); //Police Maverick
LSPDVehicles[39] = AddStaticVehicleEx(497,1550.90002441,-1644.09997559,28.70000076,90.00000000,-1,-1,15); //Police Maverick
LSPDVehicles[40] = AddStaticVehicleEx(497,1571.69995117,-1643.90002441,28.70000076,90.00000000,-1,-1,15); //Police Maverick
LSPDVehicles[41] = AddStaticVehicleEx(497,1561.80004883,-1653.30004883,28.70000076,90.00000000,-1,-1,15); //Police Maverick
LSPDVehicles[52] = AddStaticVehicleEx(551,686.6260,-1571.0070,14.0447,179.8466,0,0, VEHICLE_RESPAWN); // DetHQ Merit
LSPDVehicles[53] = AddStaticVehicleEx(551,691.2723,-1570.9224,14.0427,179.7639,0,0, VEHICLE_RESPAWN); // DetHQ Merit
LSPDVehicles[54] = AddStaticVehicleEx(551,695.9762,-1571.0244,14.0429,178.9482,0,0, VEHICLE_RESPAWN); // DetHQ Merit
LSPDVehicles[55] = AddStaticVehicleEx(490,701.1321,-1570.7312,14.3707,178.9190,0,0, VEHICLE_RESPAWN); // DetHQ Rancher
LSPDVehicles[56] = AddStaticVehicleEx(596,686.4545,-1530.1440,14.5710,179.7704,0,1, VEHICLE_RESPAWN); // DetHQ Cruiser
LSPDVehicles[57] = AddStaticVehicleEx(596,686.3165,-1538.0665,14.5733,178.8539,0,1, VEHICLE_RESPAWN); // DetHQ Cruiser
LSPDVehicles[58] = AddStaticVehicleEx(596,672.5143,-1538.3750,14.5730,179.9648,0,1, VEHICLE_RESPAWN); // DetHQ Cruiser
LSPDVehicles[69] = AddStaticVehicleEx(596,669.0104,-1538.4214,14.5726,180.9618,0,1, VEHICLE_RESPAWN); // DetHQ Cruiser
LSPDVehicles[60] = AddStaticVehicleEx(596,678.7454,-1538.3799,14.5729,179.5551,0,1, VEHICLE_RESPAWN); // DetHQ Cruiser
LSPDVehicles[61] = AddStaticVehicleEx(490,685.6243,-1550.0826,14.9809,89.9892,0,0, VEHICLE_RESPAWN); // DetHQ Rancher
LSPDVehicles[62] = AddStaticVehicleEx(490,674.6499,-1549.9993,14.9790,88.9546,0,0, VEHICLE_RESPAWN); // DetHQ Rancher
LSPDVehicles[63] = AddStaticVehicleEx(490,664.0718,-1550.0337,14.9791,90.3095,0,0, VEHICLE_RESPAWN); // DetHQ Rancher
LSPDVehicles[64] = AddStaticVehicleEx(490,653.0613,-1550.0519,14.9800,90.5943,0,0, VEHICLE_RESPAWN); // DetHQ Rancher
LSPDVehicles[65] = AddStaticVehicleEx(497,691.8584,-1561.4351,18.1217,90.0907,0,0, VEHICLE_RESPAWN); // DetHQ Maverick
LSPDVehicles[66] = AddStaticVehicleEx(497,653.2834,-1568.6703,19.4531,179.3152,0,0, VEHICLE_RESPAWN); // DetHQ Maverick
LSPDVehicles[67] = AddStaticVehicleEx(430,712.2878,-1561.5061,-0.3203,176.7431,0,0, VEHICLE_RESPAWN); // DetHQ Predator

Please help it would be greatly appreciated

HydraX
08/08/2012, 01:27 AM
Remove ,15.

LSPDVehicles[24] = AddStaticVehicleEx(470,1544.69995117,-1654.90002441,6.00000000,90.00000000,-1,-1,15, VEHICLE_RESPAWN);


LSPDVehicles[24] = AddStaticVehicleEx(470,1544.69995117,-1654.90002441,6.00000000,90.00000000,-1,-1, VEHICLE_RESPAWN);

Zach7
08/08/2012, 01:33 AM
Remove ,15.

LSPDVehicles[24] = AddStaticVehicleEx(470,1544.69995117,-1654.90002441,6.00000000,90.00000000,-1,-1,15, VEHICLE_RESPAWN);


LSPDVehicles[24] = AddStaticVehicleEx(470,1544.69995117,-1654.90002441,6.00000000,90.00000000,-1,-1, VEHICLE_RESPAWN);

THANK YOU IT WORKED

RowdyrideR
08/08/2012, 01:34 AM
As he told ya, that should work..

it's 8 Parameters, and you got 9