←  Szukam pluginu

AMXX.pl: Support AMX Mod X i SourceMod

»

Plugin dający za zwykłe zabójstwa +1 pkt,...

  • +
  • -
bamber - zdjęcie bamber 22.09.2014

Tak jak w temacie, szukam takie pluginu jako rank, żeby zapis był do nvault. 

Odpowiedz

  • +
  • -
xWangan - zdjęcie xWangan 23.09.2014

Nie znam się na pisaniu pluginów, więc troche poszperalem. Jak komuś pomoże to milo ;P
http://amxx.pl/topic/545-x-kills/

A tutaj za wygranie rundy:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <ColorChat>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	
	register_event( "SendAudio", "eT_win" , "a", "2&%!MRAD_terwin" );
	register_event( "SendAudio", "eCT_win", "a", "2&%!MRAD_ctwin"  );
}


public eT_win(){
	
	for(new i=0; i<32; i++){
		
		if(is_user_connected(i)&&get_user_team(i)==2){
			set_user_frags(i, get_user_frags(i)+5)
			sendMSG(i)
		}
	}
}

public eCT_win(){
	
	for(new i=0; i<32; i++){
		
		if(is_user_connected(i)&&get_user_team(i)==1){
			set_user_frags(i, get_user_frags(i)+5)
			sendMSG(i)
		}
	}
}

public sendMSG(id){

	ColorChat(id, RED, "[TWOJ MOD SERWERA]^x04Otrzymales ^x015 fragow ^x04za wygraną runde")
}
Odpowiedz

  • +
  • -
bamber - zdjęcie bamber 24.09.2014

To nie jest to czego szukam. Musiałeś mnie źle zrozumieć ... 

Odpowiedz