Добро пожаловать на Pro Pawn - Портал о PAWN-скриптинге.

Реклама


**Как получить V.I.P** (Перейти)
Чтобы заказать рекламу на Pro-Pawn.Ru, обращайтесь в Skype.
Баннерная реклама 200руб/мес, Текстовая 100руб/мес.
Показано с 1 по 4 из 4
  1. #1
    Аватар для ALIT13
    Пользователь

    Статус
    Оффлайн
    Регистрация
    24.05.2014
    Сообщений
    250
    Репутация:
    2 ±

    Ещё пару вопросов по Ретекстурам

    Подскажите как исправить и что делать
    1 При загрузки мода в лог выдаёт
    PHP код:
    [18:32:35] *** Streamer PluginWarning: Include file version (0x27201does not match plugin version (0x27401) (script might need to be recompiled with the latest include file)
    [
    18:32:36Кол-во загруженных Object145
    [18:32:36Кол-во загруженных DynamicObject3660
    [18:32:36Кол-во всех объектов3805 
    2 Ошибки

    PHP код:
    error 035argument type mismatch (argument 2)
    error 035argument type mismatch (argument 2)
    Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase


    2 Errors

    PHP код:
    SetDynamicObjectMaterialText(tmpobjid"LSPD"020"courier"2010xFF3443FF0x000000001);
        
    tmpobjid CreateDynamicObjectEx(19304,1561.774,-1675.424,21.232,-0.399,0.100,89.599,300.000);
        
    SetDynamicObjectMaterial(tmpobjid014599"paperchasebits""ab_blueprint1"0x00000000);
        
    SetDynamicObjectMaterialText(tmpobjid"LosSantos"040"courier"1610xFFFFFAFA0x000000001); 
    3 Вопрос у меня стоит стример

    старой версий точно сказать не могу вот посмотрите
      Открыть/закрыть
    PHP код:
    /*
     * Copyright (C) 2014 Incognito
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */

    #include <a_samp>

    // Definitions

    #define STREAMER_TYPE_OBJECT (0)
    #define STREAMER_TYPE_PICKUP (1)
    #define STREAMER_TYPE_CP (2)
    #define STREAMER_TYPE_RACE_CP (3)
    #define STREAMER_TYPE_MAP_ICON (4)
    #define STREAMER_TYPE_3D_TEXT_LABEL (5)
    #define STREAMER_TYPE_AREA (6)

    #define STREAMER_AREA_TYPE_CIRCLE (0)
    #define STREAMER_AREA_TYPE_RECTANGLE (1)
    #define STREAMER_AREA_TYPE_SPHERE (2)
    #define STREAMER_AREA_TYPE_CUBE (3)
    #define STREAMER_AREA_TYPE_POLYGON (4)

    #define STREAMER_OBJECT_TYPE_GLOBAL (0)
    #define STREAMER_OBJECT_TYPE_PLAYER (1)
    #define STREAMER_OBJECT_TYPE_DYNAMIC (2)

    #if !defined FLOAT_INFINITY
        #define FLOAT_INFINITY (Float:0x7F800000)
    #endif

    // Include File Version

    public Streamer_IncludeFileVersion 0x27201;

    #pragma unused Streamer_IncludeFileVersion

    // Enumerator

    enum
    {
        
    E_STREAMER_ATTACHED_OBJECT,
        
    E_STREAMER_ATTACHED_PLAYER,
        
    E_STREAMER_ATTACHED_VEHICLE,
        
    E_STREAMER_ATTACH_OFFSET_X,
        
    E_STREAMER_ATTACH_OFFSET_Y,
        
    E_STREAMER_ATTACH_OFFSET_Z,
        
    E_STREAMER_ATTACH_R_X,
        
    E_STREAMER_ATTACH_R_Y,
        
    E_STREAMER_ATTACH_R_Z,
        
    E_STREAMER_ATTACH_X,
        
    E_STREAMER_ATTACH_Y,
        
    E_STREAMER_ATTACH_Z,
        
    E_STREAMER_COLOR,
        
    E_STREAMER_DRAW_DISTANCE,
        
    E_STREAMER_EXTRA_ID,
        
    E_STREAMER_INTERIOR_ID,
        
    E_STREAMER_MAX_X,
        
    E_STREAMER_MAX_Y,
        
    E_STREAMER_MAX_Z,
        
    E_STREAMER_MIN_X,
        
    E_STREAMER_MIN_Y,
        
    E_STREAMER_MIN_Z,
        
    E_STREAMER_MODEL_ID,
        
    E_STREAMER_MOVE_R_X,
        
    E_STREAMER_MOVE_R_Y,
        
    E_STREAMER_MOVE_R_Z,
        
    E_STREAMER_MOVE_SPEED,
        
    E_STREAMER_MOVE_X,
        
    E_STREAMER_MOVE_Y,
        
    E_STREAMER_MOVE_Z,
        
    E_STREAMER_NEXT_X,
        
    E_STREAMER_NEXT_Y,
        
    E_STREAMER_NEXT_Z,
        
    E_STREAMER_PLAYER_ID,
        
    E_STREAMER_R_X,
        
    E_STREAMER_R_Y,
        
    E_STREAMER_R_Z,
        
    E_STREAMER_SIZE,
        
    E_STREAMER_STREAM_DISTANCE,
        
    E_STREAMER_STYLE,
        
    E_STREAMER_TEST_LOS,
        
    E_STREAMER_TYPE,
        
    E_STREAMER_WORLD_ID,
        
    E_STREAMER_X,
        
    E_STREAMER_Y,
        
    E_STREAMER_Z
    }

    // Natives (Settings)

    native Streamer_GetTickRate();
    native Streamer_SetTickRate(rate);
    native Streamer_GetMaxItems(type);
    native Streamer_SetMaxItems(typeitems);
    native Streamer_GetVisibleItems(type);
    native Streamer_SetVisibleItems(typeitems);
    native Streamer_GetCellDistance(&Float:distance);
    native Streamer_SetCellDistance(Float:distance);
    native Streamer_GetCellSize(&Float:size);
    native Streamer_SetCellSize(Float:size);

    // Natives (Updates)

    native Streamer_ProcessActiveItems();
    native Streamer_ToggleIdleUpdate(playeridtoggle);
    native Streamer_IsToggleIdleUpdate(playerid);
    native Streamer_ToggleItemUpdate(playeridtypetoggle);
    native Streamer_IsToggleItemUpdate(playeridtype);
    native Streamer_Update(playerid);
    native Streamer_UpdateEx(playeridFloat:xFloat:yFloat:zworldid = -1interiorid = -1);

    // Natives (Data Manipulation)

    native Streamer_GetFloatData(type, {Text3D,_}:iddata, &Float:result);
    native Streamer_SetFloatData(type, {Text3D,_}:iddataFloat:value);
    native Streamer_GetIntData(type, {Text3D,_}:iddata);
    native Streamer_SetIntData(type, {Text3D,_}:iddatavalue);
    native Streamer_GetArrayData(type, {Text3D,_}:iddatadest[], maxlength sizeof dest);
    native Streamer_SetArrayData(type, {Text3D,_}:iddata, const src[], maxlength sizeof src);
    native Streamer_IsInArrayData(type, {Text3D,_}:iddatavalue);
    native Streamer_AppendArrayData(type, {Text3D,_}:iddatavalue);
    native Streamer_RemoveArrayData(type, {Text3D,_}:iddatavalue);
    native Streamer_GetUpperBound(type);

    // Natives (Miscellaneous)

    native Streamer_GetDistanceToItem(Float:xFloat:yFloat:ztype, {Text3D,_}:id, &Float:distancedimensions 3);
    native Streamer_GetItemInternalID(playeridtype, {Text3D,_}:streamerid);
    native Streamer_GetItemStreamerID(playeridtype, {Text3D,_}:internalid);
    native Streamer_IsItemVisible(playeridtype, {Text3D,_}:id);
    native Streamer_DestroyAllVisibleItems(playeridtypeserverwide 1);
    native Streamer_CountVisibleItems(playeridtypeserverwide 1);
    native Streamer_DestroyAllItems(typeserverwide 1);
    native Streamer_CountItems(typeserverwide 1);

    // Natives (Objects)

    native CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance 200.0Float:drawdistance 0.0);
    native DestroyDynamicObject(objectid);
    native IsValidDynamicObject(objectid);
    native SetDynamicObjectPos(objectidFloat:xFloat:yFloat:z);
    native GetDynamicObjectPos(objectid, &Float:x, &Float:y, &Float:z);
    native SetDynamicObjectRot(objectidFloat:rxFloat:ryFloat:rz);
    native GetDynamicObjectRot(objectid, &Float:rx, &Float:ry, &Float:rz);
    native MoveDynamicObject(objectidFloat:xFloat:yFloat:zFloat:speedFloat:rx = -1000.0Float:ry = -1000.0Float:rz = -1000.0);
    native StopDynamicObject(objectid);
    native IsDynamicObjectMoving(objectid);
    native AttachCameraToDynamicObject(playeridobjectid);
    native AttachDynamicObjectToVehicle(objectidvehicleidFloat:offsetxFloat:offsetyFloat:offsetzFloat:rxFloat:ryFloat:rz);
    native EditDynamicObject(playeridobjectid);
    native GetDynamicObjectMaterial(objectidmaterialindex, &modelidtxdname[], texturename[], &materialcolormaxtxdname sizeof txdnamemaxtexturename sizeof texturename);
    native SetDynamicObjectMaterial(objectidmaterialindexmodelid, const txdname[], const texturename[], materialcolor 0);
    native GetDynamicObjectMaterialText(objectidmaterialindextext[], &materialsizefontface[], &fontsize, &bold, &fontcolor, &backcolor, &textalignmentmaxtext sizeof textmaxfontface sizeof fontface);
    native SetDynamicObjectMaterialText(objectidmaterialindex, const text[], materialsize OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial"fontsize 24bold 1fontcolor 0xFFFFFFFFbackcolor 0textalignment 0);

    // Natives (Pickups)

    native CreateDynamicPickup(modelidtypeFloat:xFloat:yFloat:zworldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0);
    native DestroyDynamicPickup(pickupid);
    native IsValidDynamicPickup(pickupid);

    // Natives (Checkpoints)

    native CreateDynamicCP(Float:xFloat:yFloat:zFloat:sizeworldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0);
    native DestroyDynamicCP(checkpointid);
    native IsValidDynamicCP(checkpointid);
    native TogglePlayerDynamicCP(playeridcheckpointidtoggle);
    native TogglePlayerAllDynamicCPs(playeridtoggle);
    native IsPlayerInDynamicCP(playeridcheckpointid);
    native GetPlayerVisibleDynamicCP(playerid);

    // Natives (Race Checkpoints)

    native CreateDynamicRaceCP(typeFloat:xFloat:yFloat:zFloat:nextxFloat:nextyFloat:nextzFloat:sizeworldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0);
    native DestroyDynamicRaceCP(checkpointid);
    native IsValidDynamicRaceCP(checkpointid);
    native TogglePlayerDynamicRaceCP(playeridcheckpointidtoggle);
    native TogglePlayerAllDynamicRaceCPs(playeridtoggle);
    native IsPlayerInDynamicRaceCP(playeridcheckpointid);
    native GetPlayerVisibleDynamicRaceCP(playerid);

    // Natives (Map Icons)

    native CreateDynamicMapIcon(Float:xFloat:yFloat:ztypecolorworldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0style MAPICON_LOCAL);
    native DestroyDynamicMapIcon(iconid);
    native IsValidDynamicMapIcon(iconid);

    // Natives (3D Text Labels)

    native Text3D:CreateDynamic3DTextLabel(const text[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0worldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0);
    native DestroyDynamic3DTextLabel(Text3D:id);
    native IsValidDynamic3DTextLabel(Text3D:id);
    native GetDynamic3DTextLabelText(Text3D:idtext[], maxlength sizeof text);
    native UpdateDynamic3DTextLabelText(Text3D:idcolor, const text[]);

    // Natives (Areas)

    native CreateDynamicCircle(Float:xFloat:yFloat:sizeworldid = -1interiorid = -1playerid = -1);
    native CreateDynamicRectangle(Float:minxFloat:minyFloat:maxxFloat:maxyworldid = -1interiorid = -1playerid = -1);
    native CreateDynamicSphere(Float:xFloat:yFloat:zFloat:sizeworldid = -1interiorid = -1playerid = -1);
    native CreateDynamicCube(Float:minxFloat:minyFloat:minzFloat:maxxFloat:maxyFloat:maxzworldid = -1interiorid = -1playerid = -1);
    native CreateDynamicPolygon(Float:points[], Float:minz = -FLOAT_INFINITYFloat:maxz FLOAT_INFINITYmaxpoints sizeof pointsworldid = -1interiorid = -1playerid = -1);
    native DestroyDynamicArea(areaid);
    native IsValidDynamicArea(areaid);
    native GetDynamicPolygonPoints(areaidFloat:points[], maxlength sizeof points);
    native GetDynamicPolygonNumberPoints(areaid);
    native TogglePlayerDynamicArea(playeridareaidtoggle);
    native TogglePlayerAllDynamicAreas(playeridtoggle);
    native IsPlayerInDynamicArea(playeridareaidrecheck 0);
    native IsPlayerInAnyDynamicArea(playeridrecheck 0);
    native IsAnyPlayerInDynamicArea(areaidrecheck 0);
    native IsAnyPlayerInAnyDynamicArea(recheck 0);
    native GetPlayerDynamicAreas(playeridareas[], maxlength sizeof areas);
    native GetPlayerNumberDynamicAreas(playerid);
    native IsPointInDynamicArea(areaidFloat:xFloat:yFloat:z);
    native IsPointInAnyDynamicArea(Float:xFloat:yFloat:z);
    native AttachDynamicAreaToObject(areaidobjectidtype STREAMER_OBJECT_TYPE_DYNAMICplayerid INVALID_PLAYER_ID);
    native AttachDynamicAreaToPlayer(areaidplayerid);
    native AttachDynamicAreaToVehicle(areaidvehicleid);

    // Natives (Extended)

    native CreateDynamicObjectEx(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzFloat:drawdistance 0.0Float:streamdistance 200.0worlds[] = { -}, interiors[] = { -}, players[] = { -}, maxworlds sizeof worldsmaxinteriors sizeof interiorsmaxplayers sizeof players);
    native CreateDynamicPickupEx(modelidtypeFloat:xFloat:yFloat:zFloat:streamdistance 100.0worlds[] = { -}, interiors[] = { -}, players[] = { -}, maxworlds sizeof worldsmaxinteriors sizeof interiorsmaxplayers sizeof players);
    native CreateDynamicCPEx(Float:xFloat:yFloat:zFloat:sizeFloat:streamdistance 100.0worlds[] = { -}, interiors[] = { -}, players[] = { -}, maxworlds sizeof worldsmaxinteriors sizeof interiorsmaxplayers sizeof players);
    native CreateDynamicRaceCPEx(typeFloat:xFloat:yFloat:zFloat:nextxFloat:nextyFloat:nextzFloat:sizeFloat:streamdistance 100.0worlds[] = { -}, interiors[] = { -}, players[] = { -}, maxworlds sizeof worldsmaxinteriors sizeof interiorsmaxplayers sizeof players);
    native CreateDynamicMapIconEx(Float:xFloat:yFloat:ztypecolorstyle MAPICON_LOCALFloat:streamdistance 100.0worlds[] = { -}, interiors[] = { -}, players[] = { -}, maxworlds sizeof worldsmaxinteriors sizeof interiorsmaxplayers sizeof players);
    native Text3D:CreateDynamic3DTextLabelEx(const text[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0Float:streamdistance 100.0worlds[] = { -}, interiors[] = { -}, players[] = { -}, maxworlds sizeof worldsmaxinteriors sizeof interiorsmaxplayers sizeof players);
    native CreateDynamicCircleEx(Float:xFloat:yFloat:sizeworlds[] = { -}, interiors[] = { -}, players[] = { -}, maxworlds sizeof worldsmaxinteriors sizeof interiorsmaxplayers sizeof players);
    native CreateDynamicRectangleEx(Float:minxFloat:minyFloat:maxxFloat:maxyworlds[] = { -}, interiors[] = { -}, players[] = { -}, maxworlds sizeof worldsmaxinteriors sizeof interiorsmaxplayers sizeof players);
    native CreateDynamicSphereEx(Float:xFloat:yFloat:zFloat:sizeworlds[] = { -}, interiors[] = { -}, players[] = { -}, maxworlds sizeof worldsmaxinteriors sizeof interiorsmaxplayers sizeof players);
    native CreateDynamicCubeEx(Float:minxFloat:minyFloat:minzFloat:maxxFloat:maxyFloat:maxzworlds[] = { -}, interiors[] = { -}, players[] = { -}, maxworlds sizeof worldsmaxinteriors sizeof interiorsmaxplayers sizeof players);
    native CreateDynamicPolygonEx(Float:points[], Float:minz = -FLOAT_INFINITYFloat:maxz FLOAT_INFINITYmaxpoints sizeof pointsworlds[] = { -}, interiors[] = { -}, players[] = { -}, maxworlds sizeof worldsmaxinteriors sizeof interiorsmaxplayers sizeof players);

    // Natives (Internal)

    native Streamer_CallbackHook(callback, {Float,_}:...);

    // Natives (Deprecated)

    native Streamer_TickRate(rate);
    native Streamer_MaxItems(typeitems);
    native Streamer_VisibleItems(typeitems);
    native Streamer_CellDistance(Float:distance);
    native Streamer_CellSize(Float:size);

    native DestroyAllDynamicObjects();
    native CountDynamicObjects();
    native DestroyAllDynamicPickups();
    native CountDynamicPickups();
    native DestroyAllDynamicCPs();
    native CountDynamicCPs();
    native DestroyAllDynamicRaceCPs();
    native CountDynamicRaceCPs();
    native DestroyAllDynamicMapIcons();
    native CountDynamicMapIcons();
    native DestroyAllDynamic3DTextLabels();
    native CountDynamic3DTextLabels();
    native DestroyAllDynamicAreas();
    native CountDynamicAreas();

    // Callbacks

    forward OnDynamicObjectMoved(objectid);
    forward OnPlayerEditDynamicObject(playeridobjectidresponseFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rz);
    forward OnPlayerSelectDynamicObject(playeridobjectidmodelidFloat:xFloat:yFloat:z);
    forward OnPlayerShootDynamicObject(playeridweaponidobjectidFloat:xFloat:yFloat:z);
    forward OnPlayerPickUpDynamicPickup(playeridpickupid);
    forward OnPlayerEnterDynamicCP(playeridcheckpointid);
    forward OnPlayerLeaveDynamicCP(playeridcheckpointid);
    forward OnPlayerEnterDynamicRaceCP(playeridcheckpointid);
    forward OnPlayerLeaveDynamicRaceCP(playeridcheckpointid);
    forward OnPlayerEnterDynamicArea(playeridareaid);
    forward OnPlayerLeaveDynamicArea(playeridareaid);

    // Callback Hook Section

    #define STREAMER_OPC (0)
    #define STREAMER_OPDC (1)
    #define STREAMER_OPEO (2)
    #define STREAMER_OPSO (3)
    #define STREAMER_OPPP (4)
    #define STREAMER_OPEC (5)
    #define STREAMER_OPLC (6)
    #define STREAMER_OPERC (7)
    #define STREAMER_OPLRC (8)
    #define STREAMER_OPWS (9)

    public OnPlayerConnect(playerid)
    {
        
    Streamer_CallbackHook(STREAMER_OPCplayerid);
        
    #if defined Streamer_OnPlayerConnect
            
    return Streamer_OnPlayerConnect(playerid);
        
    #else
            
    return 1;
        
    #endif
    }

    #if defined Streamer_OnPlayerConnect
        
    forward Streamer_OnPlayerConnect(playerid);
    #endif
    #if defined _ALS_OnPlayerConnect
        #undef OnPlayerConnect
    #else
        #define _ALS_OnPlayerConnect
    #endif
    #define OnPlayerConnect Streamer_OnPlayerConnect

    public OnPlayerDisconnect(playeridreason)
    {
        
    Streamer_CallbackHook(STREAMER_OPDCplayeridreason);
        
    #if defined Streamer_OnPlayerDisconnect
            
    return Streamer_OnPlayerDisconnect(playeridreason);
        
    #else
            
    return 1;
        
    #endif
    }

    #if defined Streamer_OnPlayerDisconnect
        
    forward Streamer_OnPlayerDisconnect(playeridreason);
    #endif
    #if defined _ALS_OnPlayerDisconnect
        #undef OnPlayerDisconnect
    #else
        #define _ALS_OnPlayerDisconnect
    #endif
    #define OnPlayerDisconnect Streamer_OnPlayerDisconnect

    public OnPlayerEditObject(playeridplayerobjectobjectidresponseFloat:fXFloat:fYFloat:fZFloat:fRotXFloat:fRotYFloat:fRotZ)
    {
        if (
    playerobject)
        {
            
    Streamer_CallbackHook(STREAMER_OPEOplayeridplayerobjectobjectidresponsefXfYfZfRotXfRotYfRotZ);
        }
        
    #if defined Streamer_OnPlayerEditObject
            
    return Streamer_OnPlayerEditObject(playeridplayerobjectobjectidresponsefXfYfZfRotXfRotYfRotZ);
        
    #else
            
    return 1;
        
    #endif
    }

    #if defined Streamer_OnPlayerEditObject
        
    forward Streamer_OnPlayerEditObject(playeridplayerobjectobjectidresponseFloat:fXFloat:fYFloat:fZFloat:fRotXFloat:fRotYFloat:fRotZ);
    #endif
    #if defined _ALS_OnPlayerEditObject
        #undef OnPlayerEditObject
    #else
        #define _ALS_OnPlayerEditObject
    #endif
    #define OnPlayerEditObject Streamer_OnPlayerEditObject

    public OnPlayerSelectObject(playeridtypeobjectidmodelidFloat:fXFloat:fYFloat:fZ)
    {
        if (
    type == SELECT_OBJECT_PLAYER_OBJECT)
        {
            
    Streamer_CallbackHook(STREAMER_OPSOplayeridtypeobjectidmodelidfXfYfZ);
        }
        
    #if defined Streamer_OnPlayerSelectObject
            
    return Streamer_OnPlayerSelectObject(playeridtypeobjectidmodelidfXfYfZ);
        
    #else
            
    return 1;
        
    #endif
    }

    #if defined Streamer_OnPlayerSelectObject
        
    forward Streamer_OnPlayerSelectObject(playeridtypeobjectidmodelidFloat:fXFloat:fYFloat:fZ);
    #endif
    #if defined _ALS_OnPlayerSelectObject
        #undef OnPlayerSelectObject
    #else
        #define _ALS_OnPlayerSelectObject
    #endif
    #define OnPlayerSelectObject Streamer_OnPlayerSelectObject

    public OnPlayerPickUpPickup(playeridpickupid)
    {
        
    Streamer_CallbackHook(STREAMER_OPPPplayeridpickupid);
        
    #if defined Streamer_OnPlayerPickUpPickup
            
    return Streamer_OnPlayerPickUpPickup(playeridpickupid);
        
    #else
            
    return 1;
        
    #endif
    }

    #if defined Streamer_OnPlayerPickUpPickup
        
    forward Streamer_OnPlayerPickUpPickup(playeridpickupid);
    #endif
    #if defined _ALS_OnPlayerPickUpPickup
        #undef OnPlayerPickUpPickup
    #else
        #define _ALS_OnPlayerPickUpPickup
    #endif
    #define OnPlayerPickUpPickup Streamer_OnPlayerPickUpPickup

    public OnPlayerEnterCheckpoint(playerid)
    {
        
    Streamer_CallbackHook(STREAMER_OPECplayerid);
        
    #if defined Streamer_OnPlayerEnterCP
            
    return Streamer_OnPlayerEnterCP(playerid);
        
    #else
            
    return 1;
        
    #endif
    }

    #if defined Streamer_OnPlayerEnterCP
        
    forward Streamer_OnPlayerEnterCP(playerid);
    #endif
    #if defined _ALS_OnPlayerEnterCheckpoint
        #undef OnPlayerEnterCheckpoint
    #else
        #define _ALS_OnPlayerEnterCheckpoint
    #endif
    #define OnPlayerEnterCheckpoint Streamer_OnPlayerEnterCP

    public OnPlayerLeaveCheckpoint(playerid)
    {
        
    Streamer_CallbackHook(STREAMER_OPLCplayerid);
        
    #if defined Streamer_OnPlayerLeaveCP
            
    return Streamer_OnPlayerLeaveCP(playerid);
        
    #else
            
    return 1;
        
    #endif
    }

    #if defined Streamer_OnPlayerLeaveCP
        
    forward Streamer_OnPlayerLeaveCP(playerid);
    #endif
    #if defined _ALS_OnPlayerLeaveCheckpoint
        #undef OnPlayerLeaveCheckpoint
    #else
        #define _ALS_OnPlayerLeaveCheckpoint
    #endif
    #define OnPlayerLeaveCheckpoint Streamer_OnPlayerLeaveCP

    public OnPlayerEnterRaceCheckpoint(playerid)
    {
        
    Streamer_CallbackHook(STREAMER_OPERCplayerid);
        
    #if defined Streamer_OnPlayerEnterRaceCP
            
    return Streamer_OnPlayerEnterRaceCP(playerid);
        
    #else
            
    return 1;
        
    #endif
    }

    #if defined Streamer_OnPlayerEnterRaceCP
        
    forward Streamer_OnPlayerEnterRaceCP(playerid);
    #endif
    #if defined _ALS_OnPlayerEnterRaceCP
        #undef OnPlayerEnterRaceCheckpoint
    #else
        #define _ALS_OnPlayerEnterRaceCP
    #endif
    #define OnPlayerEnterRaceCheckpoint Streamer_OnPlayerEnterRaceCP

    public OnPlayerLeaveRaceCheckpoint(playerid)
    {
        
    Streamer_CallbackHook(STREAMER_OPLRCplayerid);
        
    #if defined Streamer_OnPlayerLeaveRaceCP
            
    return Streamer_OnPlayerLeaveRaceCP(playerid);
        
    #else
            
    return 1;
        
    #endif
    }

    #if defined Streamer_OnPlayerLeaveRaceCP
        
    forward Streamer_OnPlayerLeaveRaceCP(playerid);
    #endif
    #if defined _ALS_OnPlayerLeaveRaceCP
        #undef OnPlayerLeaveRaceCheckpoint
    #else
        #define _ALS_OnPlayerLeaveRaceCP
    #endif
    #define OnPlayerLeaveRaceCheckpoint Streamer_OnPlayerLeaveRaceCP

    public OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ)
    {
        if (
    hittype == BULLET_HIT_TYPE_PLAYER_OBJECT)
        {
            
    Streamer_CallbackHook(STREAMER_OPWSplayeridweaponidhittypehitidfXfYfZ);
        }
        
    #if defined Streamer_OnPlayerWeaponShot
            
    return Streamer_OnPlayerWeaponShot(playeridweaponidhittypehitidfXfYfZ);
        
    #else
            
    return 1;
        
    #endif
    }

    #if defined Streamer_OnPlayerWeaponShot
        
    forward Streamer_OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ);
    #endif
    #if defined _ALS_OnPlayerWeaponShot
        #undef OnPlayerWeaponShot
    #else
        #define _ALS_OnPlayerWeaponShot
    #endif
    #define OnPlayerWeaponShot Streamer_OnPlayerWeaponShot 


    Когда обновил да самой новый 2.7.9 то ретекстуры хз где их вообще нету и других обьектов нету.

  2. #2
    Аватар для vovandolg
    Пользователь

    Статус
    Оффлайн
    Регистрация
    17.11.2015
    Адрес
    Stavropol
    Сообщений
    1,360
    Репутация:
    113 ±
    del
    Последний раз редактировалось vovandolg; 10.02.2016 в 18:10.
    [Anticheat]___Invisible Fly Hack
    [Anticheat]____Weapon/Ammo Hack
    [Function]______ResetPlayerWeaponSlot
    [Function]_______FIX_SetPlayerAmmo
    [ServerMod]______TDM | Zombie Apokalypse

  3. #3
    Аватар для wea
    Пользователь

    Статус
    Оффлайн
    Регистрация
    26.01.2016
    Сообщений
    31
    Репутация:
    1 ±
    Что касается 1 вопроса
    инклуд и плагин streamer разной версии скорей всего, скачайте и обновите инклуд и плагин и перекомпилируйте мод
    3 вопрос: у вас сильно старый инклуд...
    а царь то ненастоящий

  4. #4
    Аватар для TheOrsini
    Пользователь

    Статус
    Оффлайн
    Регистрация
    29.09.2015
    Сообщений
    36
    Репутация:
    3 ±
    Скачайте отсюда последнюю версию инклуда и плагина. Если версия 2.7.9 не подойдёт под код, то там можно скачать и прошлые версии.

 

 

Информация о теме

Пользователи, просматривающие эту тему

Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •