←  Problemy z pluginami

AMXX.pl: Support AMX Mod X i SourceMod

»

Problem z Vipem + dodanie kodu do niego

  • +
  • -
MonsterLevel's Photo MonsterLevel 06.08.2014

Siemka, jakoś bardzo zaawansowany w programowaniu nie jestem dlatego piszę z prośbą do Was smile.png
Co muszę dodać w tym pluginie aby menu vipa było dopiero w 3 rundzie + jak dodać do tego pluginu ten ScreenFade?
Spoiler


A tutaj Do ScreenFade
#include <amxmodx>
public plugin_init()

{
	register_plugin("?", "1.0", "No-One");
	register_event("DeathMsg", "DeathEvent", "a");
}



public DeathEvent()

{

	new id = read_data(1);

	

	if(is_user_connected(id) && get_user_flags(id) & ADMIN_LEVEL_H){
		message_begin(MSG_ONE, get_user_msgid("ScreenFade"), {0,0,0}, id);
		write_short(5<<10); // fade lasts this long duration
		write_short(1<<3); // fade lasts this long hold time
		write_short(1<<1); // fade type (in / out)
		write_byte(0); // red
		write_byte(255); // green
		write_byte(0); // blue
		write_byte(90); // alpha
		message_end();
	}
	return PLUGIN_CONTINUE;

}

Attached Files


Edited by MonsterLevel, 06.08.2014 14:15.
Quote

^Technik^'s Photo ^Technik^ 10.08.2014

Masz

 

Attached Files

Quote

  • +
  • -
MonsterLevel's Photo MonsterLevel 25.08.2014

Dzięki ale 3 runda wciąż nie działa

Quote