Emelean
Умник
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(1665) : error 010: invalid function or declaration
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3819) : error 017: undefined symbol "a0"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3821) : error 017: undefined symbol "a0"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3823) : error 017: undefined symbol "a1"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3825) : error 017: undefined symbol "a1"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3827) : error 017: undefined symbol "a2"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3829) : error 017: undefined symbol "a2"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3831) : error 017: undefined symbol "a3"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3833) : error 017: undefined symbol "a3"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3835) : error 017: undefined symbol "a4"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3837) : error 017: undefined symbol "a4"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3839) : error 017: undefined symbol "a5"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3841) : error 017: undefined symbol "a5"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3843) : error 017: undefined symbol "a6"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3845) : error 017: undefined symbol "a6"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3847) : error 017: undefined symbol "a7"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3849) : error 017: undefined symbol "a7"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3851) : error 017: undefined symbol "a8"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3853) : error 017: undefined symbol "a8"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3855) : error 017: undefined symbol "a9"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3857) : error 017: undefined symbol "a9"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3859) : error 017: undefined symbol "a10"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3861) : error 017: undefined symbol "a10"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3863) : error 017: undefined symbol "a11"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3865) : error 017: undefined symbol "a11"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3867) : error 017: undefined symbol "a12"
Помогите исправить)
---------- Добавлено сообщение в 14:34 ---------- Предыдущее в 14:33 ----------
вот строки где ошибки
public OnVehicleSpawn(vehicleid)
{
if(AutoInfo[vehicleid][a0] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a0]);
}
if(AutoInfo[vehicleid][a1] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a1]);
}
if(AutoInfo[vehicleid][a2] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a2]);
}
if(AutoInfo[vehicleid][a3] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a3]);
}
if(AutoInfo[vehicleid][a4] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a4]);
}
if(AutoInfo[vehicleid][a5] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a5]);
}
if(AutoInfo[vehicleid][a6] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a6]);
}
if(AutoInfo[vehicleid][a7] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a7]);
}
if(AutoInfo[vehicleid][a8] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a8]);
}
if(AutoInfo[vehicleid][a9] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a9]);
}
if(AutoInfo[vehicleid][a10] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a10]);
}
if(AutoInfo[vehicleid][a11] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a11]);
}
if(AutoInfo[vehicleid][a12] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a12]);
}
if(AutoInfo[vehicleid][a13] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a13]);
}
if(AutoInfo[vehicleid][aPaintJob] != 0)
{
ChangeVehiclePaintjob(vehicleid,AutoInfo[vehicleid][aPaintJob]);
}
return 1;
}
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3819) : error 017: undefined symbol "a0"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3821) : error 017: undefined symbol "a0"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3823) : error 017: undefined symbol "a1"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3825) : error 017: undefined symbol "a1"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3827) : error 017: undefined symbol "a2"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3829) : error 017: undefined symbol "a2"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3831) : error 017: undefined symbol "a3"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3833) : error 017: undefined symbol "a3"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3835) : error 017: undefined symbol "a4"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3837) : error 017: undefined symbol "a4"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3839) : error 017: undefined symbol "a5"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3841) : error 017: undefined symbol "a5"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3843) : error 017: undefined symbol "a6"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3845) : error 017: undefined symbol "a6"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3847) : error 017: undefined symbol "a7"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3849) : error 017: undefined symbol "a7"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3851) : error 017: undefined symbol "a8"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3853) : error 017: undefined symbol "a8"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3855) : error 017: undefined symbol "a9"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3857) : error 017: undefined symbol "a9"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3859) : error 017: undefined symbol "a10"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3861) : error 017: undefined symbol "a10"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3863) : error 017: undefined symbol "a11"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3865) : error 017: undefined symbol "a11"
C:\Users\Àëåêñåé\Desktop\SAMP-BG_9.5\SAMP-BG\gamemodes\BG.pwn(3867) : error 017: undefined symbol "a12"
Помогите исправить)
---------- Добавлено сообщение в 14:34 ---------- Предыдущее в 14:33 ----------
вот строки где ошибки
public OnVehicleSpawn(vehicleid)
{
if(AutoInfo[vehicleid][a0] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a0]);
}
if(AutoInfo[vehicleid][a1] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a1]);
}
if(AutoInfo[vehicleid][a2] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a2]);
}
if(AutoInfo[vehicleid][a3] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a3]);
}
if(AutoInfo[vehicleid][a4] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a4]);
}
if(AutoInfo[vehicleid][a5] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a5]);
}
if(AutoInfo[vehicleid][a6] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a6]);
}
if(AutoInfo[vehicleid][a7] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a7]);
}
if(AutoInfo[vehicleid][a8] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a8]);
}
if(AutoInfo[vehicleid][a9] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a9]);
}
if(AutoInfo[vehicleid][a10] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a10]);
}
if(AutoInfo[vehicleid][a11] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a11]);
}
if(AutoInfo[vehicleid][a12] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a12]);
}
if(AutoInfo[vehicleid][a13] != 0)
{
AddVehicleComponent(vehicleid, AutoInfo[vehicleid][a13]);
}
if(AutoInfo[vehicleid][aPaintJob] != 0)
{
ChangeVehiclePaintjob(vehicleid,AutoInfo[vehicleid][aPaintJob]);
}
return 1;
}
