Zarejestruj się Użytkownicy Kalendarz Zaznacz Wszystkie Fora jako Przeczytane CS FAQ Regulamin forum =w= Tani STEAM

Wróć   Forum Counter Strike > Serwer HLDS - wszytko o własnym serwerze do Counter Strike 1.6 Non Steam > Pluginy, dodatki, AMX, AMXX > Szukam pluginu AMX/AMXX

Szukam pluginu AMX/AMXX Jeżeli potrzebujesz jakiegoś dodatku do serwera, wiesz co chcesz, ale nie wiesz jak się taki plugin nazywa. Napisz prośbę tutaj

prosba o przerobienie

- Tagi: ,

Odpowiedz
 
LinkBack Narzędzia wątku

prosba o przerobienie

  (#1) stare
xXuRXx is Offline
Starsza lamka
 
Postów: 82

Poziom upalenia:
-------- Doświadczenie: abstynent
Zarejestrowany: Jan 2008
   
Domyślnie

prosba o przerobienie -

03-05-2008, 13:28

Czy moglby mi ktos przerobic ten plugin tak aby po wpisaniu /camo wybieralo losowy model(przeciwnika) (jeden z czterech), bo gdy teraz probuje sie przemienic za kazdym razem wlacza sie (gdy jestem w ct model pheonix'a connexion), a (gdy jetsem w terro seal'a team 6) czyli tych pierwszych modeli?
Kod:
/* Plugin generated by AMXX-Studio */      

/* No Warranties on this plugin */ 
/*
* www.amx-board.com
*
* Many help form [ --<-@ ] Black Rose and ^_^Satan^_^ 
* Thx you guys 
*
*
*			PLUGIN INFO
*
* say \camouflage           		// client cmd
* say_team \camouflage     		// client cmd
* say \camo    		       		// client cmd
* say_team \camo	     		// client cmd
* amx_camouflage <1/0>      		// enable / disable by admin
* amx_cvar mp_camocost "1-16000"        // changes the cost of the camouflage 
* amx_camo "target"                     //give target camouflage
*
* Modules Required: Fun; Cstrike
*
*
*/    

#include <amxmodx> 
#include <amxmisc>         
#include <cstrike> 
#include <fun> 

#define MAX_PLAYERS 32

new PLUGIN[]="Camouflage"  
new AUTHOR[]="wouter"  
new VERSION[]="1.4"


new bool:HasCamo[33]  

new CTModels[] =     
{     
	"urban", "gsg9",   
	"gign", "sas"   
}     

new TModels[] =      
{     
	"terror", "leet",   
	"artic", "guerilla"   
}    

public client_connect(id) {  
	HasCamo[id] = false
}

public plugin_init() {  
	register_plugin(PLUGIN, VERSION, AUTHOR)  
	
	register_event("DeathMsg", "DeathEvent", "a")  
	register_event("ResetHUD", "ResetHud", "a")  
	register_event("StatusValue", "statusvalue", "be", "1=2")
	
	register_clcmd("say /camouflage", "cmd_camouflage")  
	register_clcmd("say_team /camouflage", "cmd_camouflage")  
	register_clcmd("say /camo", "cmd_camouflage")  
	register_clcmd("say_team /camo", "cmd_camouflage")  
	
	register_clcmd("say /camohelp", "camo_help")  
	
	register_cvar("amx_camouflage", "1")
	register_cvar("mp_camocost", "8000") 
	register_concmd("amx_camo","cmd_camo",ADMIN_BAN,"<target>") 
	
	set_task(600.0,"info_print",0,"",0,"b" )
} 

public info_print(id) {
	client_print(id, print_chat, "[Camouflage] Say /camohelp for some info")
	return PLUGIN_CONTINUE
}

public camo_help(id) {
	show_motd(id, "<html><head><title>Camouflage Help</title></head><body bgcolor=^"#000000^" text=^"#FF9900^"><body>~ What ?

A Camouflage will make you look like your enemy


~ How ? 

 say /camouflage
say_team /camouflage

say /camo
say_team /camo</body></html>")
	
}

public cmd_camouflage(id) {  
	if ( ! get_cvar_num("amx_camouflage") )  
		return PLUGIN_HANDLED  
	new money = cs_get_user_money(id)  
	new CsTeams:team = cs_get_user_team(id)  
	new CamoCost = get_cvar_num("mp_camocost")
	
	if ( !is_user_alive(id) ) {  
		client_print(id, print_chat, "[Camouflage] You are not alive!")  
		return PLUGIN_HANDLED  
	}
	
	if ( money < CamoCost ) {
		client_print(id, print_chat, "[Camouflage] You need %d $ to buy a camouflage", get_cvar_num( "mp_camocost" ) )
		return PLUGIN_HANDLED
	}
	
	if ( HasCamo[id] == false ) {  
		
		cs_set_user_money( id, cs_get_user_money(id) - CamoCost )  
		client_print( id, print_chat, "[Camouflage] You bought a camouflage!" )  
		HasCamo[id] = true  
		
		if (team == CS_TEAM_CT) {  
			cs_set_user_model(id, TModels)   
			return PLUGIN_CONTINUE;     
		}  
		
		else if (team == CS_TEAM_T) {  
			cs_set_user_model(id, CTModels) 
			return PLUGIN_CONTINUE  
		}  
	}  
	
	else if (HasCamo[id] == true) {
		client_print( id, print_chat, "[Camouflage] You allready have a camouflage!" )
		return PLUGIN_CONTINUE
	}		
	return PLUGIN_HANDLED
}  

public statusvalue(id)
	{
	if ( ! get_cvar_num("amx_camouflage") )  
		return PLUGIN_HANDLED
	
	new target = read_data(2)
	if (!target)
		return PLUGIN_HANDLED
	
	new name1[32], name2[32]
	get_user_name(id, name1, 31) // aimer
	get_user_name(target, name2, 31) // aimed
	
	if (get_user_team(id) != get_user_team(target))
		{
		// ENEMY
	}
	else
		{
		//TEAM MATE
		if(HasCamo[target] == true)
			{
			set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 12.0)
			show_hudmessage(id, "DON't SHOOT %s", name2)			
		} 
		
	} 
	return PLUGIN_HANDLED	
}

public DeathEvent() {  
	
	if ( ! get_cvar_num("amx_camouflage") )  
		return PLUGIN_HANDLED  
	
	new id = read_data(2)  
	
	if ( HasCamo[id] == true ) { 
		set_task( 1.0, "reset_model", id ) 
	} 
	return PLUGIN_HANDLED  
} 

public ResetHud(id) {  
	
	if ( ! get_cvar_num("amx_camouflage") )  
		return PLUGIN_HANDLED  
	
	new CsTeams:team = cs_get_user_team(id)  
	
	if ( HasCamo[id] == true ) {  
		
		if (team == CS_TEAM_CT) {  
			cs_set_user_model(id, TModels)  
		}  
		
		else if (team == CS_TEAM_T) {  
			cs_set_user_model(id, CTModels) 
		}  
	}  
	return PLUGIN_HANDLED  
} 

public reset_model(id) { 
	cs_reset_user_model(id) 
	HasCamo[id] = false 
}

public cmd_camo(id) { 	// Admin cmd
	
	if (!(get_user_flags(id)&ADMIN_BAN)) { 
		console_print(id,"[Camouflage] You have no access to this command") 
		return PLUGIN_HANDLED 
	} 	
	
	if (read_argc() == 0) { 
		console_print(id,"[Camouflage] Usage: amx_camo <target>") 
		return PLUGIN_HANDLED 
	} 
	new user[32], AdminName[32], uid 
	read_argv(1,user,31) 
	get_user_name(id,AdminName,31)
	uid = find_player("bfl",user) 
	if (uid == 0) { 
		console_print(id,"[Camouflage] Player *%s* not found", user) 
		return PLUGIN_HANDLED 
	}	
	
	new CsTeams:team = cs_get_user_team(uid)  
	
	if ( HasCamo[uid] == false ) {  
		switch (get_cvar_num("amx_show_activity")) {
			case 2: client_print(0,print_chat,"ADMIN %s: Gave someone a Camouflage",AdminName)
			case 1: client_print(0,print_chat,"ADMIN: Gave someone a Camouflage") 
		} 
		client_print( uid, print_chat, "[Camouflage] You have gain a camouflage!" )  
		console_print(id,"[Camouflage] You gave *%s* a Camouflage", user) 
		HasCamo[uid] = true  
		
		if (team == CS_TEAM_CT) {  
			cs_set_user_model(uid, TModels)   
			return PLUGIN_CONTINUE;     
		}  
		
		else if (team == CS_TEAM_T) {  
			cs_set_user_model(uid, CTModels) 
			return PLUGIN_CONTINUE  
		}  
	}  
	
	else if (HasCamo[uid] == true) {
		client_print(id, print_console, "[Camouflage] *%s* allread ownes a Camouflage",user)
		return PLUGIN_HANDLED
	}   
	return PLUGIN_HANDLED  
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang2067\\ f0\\ fs16 \n\\ par }
*/

  
UWAGA !!!

W tej chwili widzisz tylko pierwszy post tego tematu. Aby zobaczyć więcej wiadomości lub napisać post musisz się zalogować lub zarejestrować.

Odpowiedz

Narzędzia wątku

Podobne wątki
Temat Forum
Przerobienie CFG...
Problemy z Counter Strike 1.6 Non Steam
przerobienie sma
Pluginy, dodatki, AMX, AMXX
przerobienie
Szukam pluginu AMX/AMXX
Przerobienie
Grafika związana z Counter Strike
Prośba o przerobienie.
Problem z pluginem AMX/AMXX
Prośba o przerobienie
Problem z pluginem AMX/AMXX
prosba o przerobienie
Pluginy, dodatki, AMX, AMXX
prosba o przerobienie..
Szukam pluginu AMX/AMXX
prosba o przerobienie
Szukam pluginu AMX/AMXX
prosba o przerobienie
Pluginy, dodatki, AMX, AMXX

Zasady Postowania
Nie możesz zakładać nowych tematów
Nie możesz pisać wiadomości
Nie możesz dodawać załączników
Nie możesz edytować swoich postów

BB Code jest Włączony
EmotikonyWłączony
[IMG] kod jest Włączony
HTML kod jest Wyłączony
Trackbacks are Włączony
Pingbacks are Włączony
Refbacks are Wyłączony


X Przeglądasz forum jako gość, zarejestruj się aby uzyskać pełen dostęp do wiaderkowego stuff'u ganja

zalogowani nie widzą reklam

Sieć serwerów HashJama
nr Nazwa IP:Port Sloty Typ Status
#1 HashJama #1 [FFA] | wiaderko.com 212.180.241.143:27064 25+1 NS
#2 HashJama #2 [SJM] | wiaderko.com 212.180.241.143:27442 15+1 NS
#3 HashJama #3 [SJM#2] | wiaderko.com 212.180.143.9:27218 15+1 NS
#4 HashJama #4 [TP] | wiaderko.com 212.180.143.9:27224 15+1 NS
#5 HashJama #5 [WC3FT] | wiaderko.com 212.180.143.9:27206 15+1 NS
#6 HashJama #6 [PokeMod] | wiaderko.com 212.180.143.9:27194 15+1 NS
#7 HashJama #7 [Diablo] | wiaderko.com 212.180.143.9:27200 16 NS
#8 HashJama #8 [WC3FT] | wiaderko.com 212.180.143.9:27212 16 Steam

Sieć serwerów HashJama sponsoruje Gradobicie.pl, HeadAdmin: add


Najpopularniejsze zapytania na forum
Chmura zapytań powered by mosh
webspell przerobienie forum steam na nonsteam przerobienie serwer ns przerobienie prosze o przerobienie pluginu programy na przerobienie na mp3 problemy z przerobieniem serwera steam na non steam przez total comander problem z przerobieniem serwa na non steam z apomoca total comander problem z przerobieniem servera steam na non steam mp3 na mp-3 przerobienie lastround przerobienie komendy na przerobienie non steam] gotowiec na przerobienie steam na non steam gamepad css przerobienie serwera steam na non-steam cs przerobienie steam na non steam cs 1.6 przerobienie na ns counter strike source przerobienie serwera na non steam counter strike source przerobienie servera na ns biblioteki do przerobienie serwera steam na non-steam biblioteczki na przerobienie serweru steam na non steam w cs przerobienie ze steama na non steam przerobienie zdjęcia przerobienie zdjecia na url przerobienie zdjecia przerobienie zdjec real przerobienie zdjec przerobienie z wav na mp3 przerobienie z steam na non steam przerobienie wav na mp3 przerobienie vac na ns przerobienie tla w cs 1.6 screensaver desktop fondo build personal converter Serwery CS 1.6 non-steam non steam

Powered by vBulletin ® =w= Edition
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Spolszczenie: vBHELP.pl - Polski Support vBulletin

Inne strony korporacji ;) wiaderko: Portal Counter Strike | Katalog Counter Strike | Forum Wielotematyczne | Free download | Free software download

Copyright © 2007-2008 Counter Strike wiaderko.com