22.05.2014, 03:35
This is the Problem
Help!
pawn Код:
new OPGVehicles[15];
stock IsATowTruck(carid)
{
if(GetVehicleModel(carid) == 485 || GetVehicleModel(carid) == 525 || GetVehicleModel(carid) == 583 || GetVehicleModel(carid) == 574)
{
return 1;
}
return 0;
}
stock IsARRWrecker(carid)
{
if(OPGVehicles[ 11 ] == carid) return 1;
return 0;
}
stock IsARRTower(carid)
{
for(new i = 0; i < sizeof(OPGVehicles); ++i)
{
if(carid == OPGVehicles[i] && GetVehicleModel(carid) == 525) return 1;
}
return 0;
}
stock IsARRBattery(carid)
{
for(new i = 0; i < sizeof(OPGVehicles); ++i)
{
if(carid == OPGVehicles[i] && GetVehicleModel(carid) == 440) return 1;
if(carid == OPGVehicles[i] && GetVehicleModel(carid) == 578) return 1;
}
return 0;
}
//RR Vehicles
OPGVehicles[0] = AddStaticVehicleEx(525,2107.1995,-2171.6860,13.4191,322.9891,30,30); // This is the Error
OPGVehicles[1] = AddStaticVehicleEx(525,2103.1370,-2169.2925,13.4516,330.9555,30,30); // This is the Error
OPGVehicles[2] = AddStaticVehicleEx(525,2125.4380,-2127.7773,13.5245,168.6742,30,30); // This is the Error
OPGVehicles[3] = AddStaticVehicleEx(525,2120.6880,-2126.6824,13.5030,166.8591,30,30);// This is the Error
OPGVehicles[4] = AddStaticVehicleEx(440,2147.1279,-2189.1238,13.6694,43.2413,30,30); // This is the Error
OPGVehicles[5] = AddStaticVehicleEx(440,2150.2139,-2186.2759,13.6600,43.8632,30,30); // This is the Error
OPGVehicles[6] = AddStaticVehicleEx(440,2148.7764,-2167.2866,13.6683,44.3124,30,30);// This is the Error
OPGVehicles[7] = AddStaticVehicleEx(440,2151.3013,-2164.7432,13.6736,44.3210,30,30);// This is the Error
OPGVehicles[8] = AddStaticVehicleEx(440,2154.0869,-2161.9727,13.6637,43.9678,30,30); // This is the Error
OPGVehicles[9] = AddStaticVehicleEx(440,2130.4441,-2129.3420,13.7302,153.4948,30,30); // This is the Error
OPGVehicles[10] = AddStaticVehicleEx(525,2125.4380,-2127.7773,13.5245,168.6742,30,30); // This is the Error
OPGVehicles[11] = AddStaticVehicleEx(578,2131.2627,-2188.5532,14.1784,45.3329,30,30); // Wrecker
OPGVehicles[12] = AddStaticVehicleEx(525,2115.6875,-2125.5044,13.5089,169.6734,30,30); // towtruck
OPGVehicles[13] = AddStaticVehicleEx(525,2120.6880,-2126.6824,13.5030,166.8591,30,30); // towtruck
OPGVehicles[14] = AddStaticVehicleEx(417,2092.8484,-2140.2249,22.5879,269.3951,30,30); // RR Heli
Код:
C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52702) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52703) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52704) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52705) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52706) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52707) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52708) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52709) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52710) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52711) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52712) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52713) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52714) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52715) : warning 202: number of arguments does not match definition C:\Users\pc\Desktop\Server\gamemodes\VGRP.pwn(52716) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 24 Warnings.