не получается баннер .spr фиксированный к стенке

Сообщения
25
Реакции
-6
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
Ошибка
не получается 2 спрайта фиксированных к стенке
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.5263 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Oct 27 2019 16:23:31
Built from: https://github.com/alliedmodders/amxmodx/commit/15a14a0
Build ID: 5263:15a14a0
Core mode: JIT+ASM32
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.11.0.776-dev
Build date: 19:37:50 Apr 20 2022 (2930)
Build from: https://github.com/dreamstalker/rehlds/commit/3dc9f8c
ReGamedll
ReGameDLL version: 5.21.0.540-dev
Версия Metamod
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
Список метамодулей
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] AMX Mod X RUN - amxmodx.so v1.9.0.5263 ini Start ANY
[ 2] LocalizeBug Fix RUN - localizebugfix.so v2.4 ini Start Never
[ 3] VoiceTranscoder RUN - vtc.so v2017RC5 ini ANY
[ 4] ReSRDetector RUN - resrdetector.so v0.1.0 ini ANY
[ 5] Rechecker RUN - rechecker.so v2.7 ini ANY
[ 6] Reunion RUN - reunion.so v0.1.92d ini Start Never
[ 7] WHBlocker RUN - whblocker.so v1.5.697 ini ANY
[ 8] MySQL RUN - mysql_amxx_i386.so v1.9.0.5263 pl1 ANY
[ 9] SQLite RUN - sqlite_amxx_i386.so v1.9.0.5263 pl1 ANY
[10] Fun RUN - fun_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
[11] Engine RUN - engine_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
[12] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
[13] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
[14] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
[15] CSX RUN - csx_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
[16] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5263 pl1 ANY ANY
[17] ReAPI RUN - reapi_amxx_i386.so v5.21.0.248-dev pl1 ANY Never
[18] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl1 ANY Never
[19] IPHub Client RUN - iphubclient_amxx_i386.so v1.0.1 pl1 ANY Never
19 plugins, 19 running
Список плагинов
[  1] FreshBans               v1.4.5b      kanagava          fresh_bans.amxx  running  
[ 2] Admin Loader v3.5 neygomon admin_loader.am running
[ 3] NextMap v1.9.0.5263 AMXX Dev Team nextmap.amxx running
[ 4] Admin Chat v1.9.0.5263 AMXX Dev Team adminchat.amxx running
[ 5] Admin Commands v1.9.0.5263 AMXX Dev Team admincmd.amxx running
[ 6] Admin Votes v1.9.0.5263 AMXX Dev Team adminvote.amxx running
[ 7] Commands Menu v1.9.0.5263 AMXX Dev Team adxcmdmenu.amxx running
[ 8] Commands Menu v1.9.0.5235 AMXX Dev Team cmdmenu.amxx running
[ 9] Scrolling Message v1.9.0.5263 AMXX Dev Team scrollmsg.amxx running
[ 10] Stats Configuration v1.9.0.5263 AMXX Dev Team statscfg.amxx running
[ 11] Ban Sound: Fresh Bans v1.0 Leo_[BH] ban_sound_fresh running
[ 12] Info. Messages v1.9.0.5235 AMXX Dev Team imessage.amxx running
[ 13] Nextmap Chooser v1.9.0.5235 AMXX Dev Team mapchooser.amxx running
[ 14] Maps Menu v1.9.0.5235 AMXX Dev Team mapsmenu.amxx running
[ 15] Menus Front-End v1.9.0.5235 AMXX Dev Team menufront.amxx running
[ 16] CS Misc. Stats v1.9.0.5283 AMXX Dev Team miscstats.amxx running
[ 17] Players Menu v1.9.0.5235 AMXX Dev Team plmenu.amxx running
[ 18] Plugin Menu v1.9.0.5241 AMXX Dev Team pluginmenu.amxx running
[ 19] Restrict Weapons v1.9.0.5235 AMXX Dev Team restmenu.amxx running
[ 20] CS Stats Logging v1.9.0.5235 AMXX Dev Team stats_logging.a running
[ 21] TimeLeft v1.9.0.5263 AMXX Dev Team timeleft.amxx running
[ 22] AmxModMenu_New v1.0 lol ;D Amxmodmenu.amxx running
[ 23] Hide'n'Seek Match Syst v1.2.4.3 ?? HnsMatchSystem_ running
[ 24] Admin Prefixes v4.0 m0skVi4a ;] AdminPrefixes.a running
[ 25] Ownage v1.4 owned satanizmov owned.amxx running
[ 26] Potti v1.40 p3tsin potti.amxx running
[ 27] Watcher System v1.0 Garey rnr_watcher.amx running
[ 28] JumpStats v2.42 BorJomi uq_jumpstats.am running
[ 29] Tops_JumpStats v2.42 BorJomi uq_jumpstats_to running
[ 30] Flashbang Stuff v0.4b Juice flashnotify2wor running
[ 31] ReAimDetector API v0.2.2 ReHLDS Team reaimdetector.a running
[ 32] Advanced Client Checke v0.3.6 Mistrick advanced_client running
[ 33] Check Button v2.1 Juice/Inj checkbutton_inj running
[ 34] Advance Stats[EB/JB] v2.3 satanizmov EB&JB_DHUD.amxx running
[ 35] [BG] Provider: IPHub-C v1.1 mx?! bg_provider_iph running
[ 36] Bypass Guard v1.0.1 mx?! bypass_guard.am running
[ 37] banner vprivate t.me/satanizmo BANNER.amxx running
Автор плагина
satanizmov(me)
Версия плагина
1.0
Исходный код
#include < amxmodx >
#include < engine >

#define xPLUGIN "banner"
#define xVERSION "version"
#define xAUTHOR "satanizmov"


new const Float:origin1[3] = { 290.0, 2050.0, -50.0 };
new const Float:origin2[3] = { 418.0, 2050.0, -50.0 };
new const Float:angles[3] = { 0.0, 90.0, 0.0 };
new const banner_one[] = "sprites/test1.spr";
new const banner_two[] = "sprites/test2.spr";

public plugin_precache()
{
precache_model(banner_one);
precache_model(banner_two);
}
public plugin_init()
{
register_plugin(xPLUGIN,xVERSION,xAUTHOR);
new szMapName[33];
get_mapname(szMapName,32);

if(equal("de_dust2",szMapName))
{
new iEntity = create_entity( "info_target" );
if( !is_valid_ent( iEntity ) )
set_fail_state( "[BANNER1] fail" );
entity_set_string( iEntity, EV_SZ_classname, "qwe" );
entity_set_model( iEntity, "sprites/test1.spr" );
entity_set_size( iEntity, Float:{-1.0,-1.0,-1.0}, Float:{1.0,1.0,1.0} );
entity_set_vector( iEntity, EV_VEC_angles, angles );
entity_set_float( iEntity, EV_FL_scale, 0.5 );
entity_set_origin( iEntity, origin1 );

new iEntity2 = create_entity( "info_target" );
if( !is_valid_ent( iEntity2 ) )
set_fail_state( "[BANNER2] fail" );
entity_set_string( iEntity2, EV_SZ_classname, "asd" );
entity_set_model( iEntity2, "sprites/test2.spr" );
entity_set_size( iEntity2, Float:{-1.0,-1.0,-1.0}, Float:{1.0,1.0,1.0} );
entity_set_vector( iEntity2, EV_VEC_angles, angles );
entity_set_float( iEntity2, EV_FL_scale, 0.5 );
entity_set_origin( iEntity2, origin2 );
}
else pause( "a" );
}
Вот и сами два баннера, не могу сделать так чтобы 1 был слева и был прикреплен к стенке, второй аналогично.
Эти два спрайта двигаются в зависимости от моего обзора.
 

Вложения

Сообщения
25
Реакции
-6
Обратите внимание, если вы хотите заключить сделку с этим пользователем, он заблокирован
Pokemoshka, Pokemoshka, не помогает это, спрайт после трех типов компиляций, последующего удаления старого и подгрузки нового - все время направляется на меня, грешу на сам метод спавна почему-то..
 

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

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу