Как исправить ошибки?

shanery

Новичок
Автор темы
2
1
Ошибки:
(12 : error 017: undefined symbol "carvid_0"
(13) : error 017: undefined symbol "carvid_0"
(18) : warning 209: function "Itter_OnFilterScriptInit" should return a value
(23) : warning 209: function "ScriptInit_OnFilterScriptExit" should return a value
(25) : error 021: symbol already defined: "ac_OnVehicleSpawn"
(30) : warning 209: function "ac_OnVehicleSpawn" should return a value

Код:

PHP:
#include <a_samp>
#include <streamer>

new carvid;

public OnFilterScriptInit()
{
    new tmpobjid;

    carvid = CreateVehicle(438,1396.015,1553.526,10.812,270.552,-1,-1,-1,0);

    SetVehicleVirtualWorld(carvid_0, 0);
    LinkVehicleToInterior(carvid_0, 0);
    tmpobjid = CreateDynamicObject(19476,0.0,0.0,-1000.0,0.0,0.0,0.0,0,0,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "Bow_Abpave_Gen", 0);
    SetDynamicObjectMaterialText(tmpobjid, 0, "XONA TAXI", 50, "Calibri", 30, 0, -1, 0, 1);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.020, -1.482, 0.436, 0.000, -42.800, 270.000);
}

public OnFilterScriptExit()
{
    DestroyVehicle(carvid);
}

public OnVehicleSpawn(vehicleid)
{
    if(vehicleid == carvid)
    {
    }
}
 

Похожие темы

  1. У
    Ответы
    0
    Просмотры
    1K
    Помощь
    Удалённый пользователь 322136
    У