AndreiSL 9 Posted January 1, 2016 Share Posted January 1, 2016 Sall doresc si eu un plugin cu efecte speciale cand tragi inntr-un adversar sa iese culori Link to comment Share on other sites More sharing options...
I a s m i n 169 Posted January 1, 2016 Share Posted January 1, 2016 (edited) Sall doresc si eu un plugin cu efecte speciale cand tragi inntr-un adversar sa iese culori La ce te referi gloantele sa fie colorate ? sau .. fii mai explicit Daca la asta te referi dai o cautare pe guugle plugins trace_fire si vei gasi culoriile tii le setezi tu Edited January 1, 2016 by Je suis lejer Link to comment Share on other sites More sharing options...
AndreiSL 9 Posted January 2, 2016 Author Share Posted January 2, 2016 ma refer atunci cand tragi in inamic sa iasa scantei din el Link to comment Share on other sites More sharing options...
LondoN eXtream 110 Posted January 2, 2016 Share Posted January 2, 2016 /* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "Alex" new SpriteTexture; new ColorRed, ColorBlue, ColorGreen; public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) // Add your code here... register_event ( "CurWeapon", "EVENT_Tracer", "be", "1=1", "3>0" ); ColorRed = register_cvar ( "tracer_red", "0" ); ColorGreen = register_cvar ( "tracer_green", "127" ); ColorBlue = register_cvar ( "tracer_blue", "255" ); } public plugin_precache ( ) SpriteTexture = precache_model ( "sprites/tracer.spr" ); public EVENT_Tracer ( id ) { if ( is_user_alive ( id ) && is_user_connected ( id ) && !is_user_bot ( id ) ) { new VectorOne [ 3 ], VectorTwo [ 3 ]; get_user_origin ( id, VectorOne, 1 ); get_user_origin ( id, VectorTwo, 4 ); message_begin ( MSG_BROADCAST, SVC_TEMPENTITY ); write_byte ( 0 ); write_coord ( VectorOne [ 0 ] ); write_coord ( VectorOne [ 1 ] ); write_coord ( VectorOne [ 2 ] ); write_coord ( VectorTwo [ 0 ] ); write_coord ( VectorTwo [ 1 ] ); write_coord ( VectorTwo [ 2 ] ); write_short ( SpriteTexture ); write_byte ( 1 ); write_byte ( 5 ); write_byte ( 2 ); write_byte ( 10 ); write_byte ( 0 ); write_byte ( get_pcvar_num ( ColorRed ) ); write_byte ( get_pcvar_num ( ColorGreen ) ); write_byte ( get_pcvar_num ( ColorBlue ) ); write_byte ( 200 ); write_byte ( 150 ); message_end ( ); } return PLUGIN_CONTINUE; } Link to comment Share on other sites More sharing options...
AndreiSL 9 Posted January 2, 2016 Author Share Posted January 2, 2016 ce nume i pun la plugin? Link to comment Share on other sites More sharing options...
TeG!^ KenT.. 57 Posted January 2, 2016 Share Posted January 2, 2016 ce nume vrei Link to comment Share on other sites More sharing options...
Makaveli 40 Posted January 10, 2016 Share Posted January 10, 2016 Cerere rezolvata! T/C! Link to comment Share on other sites More sharing options...
Recommended Posts