Ce plugin e asta?

Categoria cu cereri de pluginuri si nu numai.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Forum rules
Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Post Reply
User avatar
tre3fla
Membru eXtream
Membru eXtream
Posts: 5317
Joined: 27 May 2012, 11:15
Detinator Steam: Da
CS Status: Allah Akbar !
Detinator server CS: Nu
SteamID: /id/tre3fla_xxx
Has thanked: 14 times
Been thanked: 129 times

14 Jul 2012, 09:49

Acela este pluginul Happy Hour,pentru Modul Base Buileder,din cate vad serverul pe care ruleaza acel plugin este pe "credits"
Acel plugin,la anumite ore,setate prin cvar,creste numarul de credits ale jucatorilor.

Eu am gasit doar versiunea pentru Zombie Plaguemcu pachete de ammo...
http://forums.alliedmods.net/showthread.php?t=118036
In caz ca te ajuta cu ceva...sau gasesti pe cineva care sa til faca dupa pachete de ammo pe credits (in cazul in care sv. tau se bazeaza pe credits)
RoyalServer
User avatar
Rap^
Membru, skill +2
Membru, skill +2
Posts: 621
Joined: 01 Oct 2011, 00:25
Detinator Steam: Da
Reputatie: Fost Scripter eXtreamCS
Fost Super moderator
Location: Bucuresti
Has thanked: 16 times
Been thanked: 156 times

16 Jul 2012, 16:56

Daca pluginul de il ai tu face ceea ce trebuie sa faca si iti lipseste doar mesajul acela, da-mi un PM pe forum cu link de download sau da-mi-l pe mess.
Imagination is more important than knowledge.
Knowledge is limited - Imagination encircles the world.
User avatar
Rap^
Membru, skill +2
Membru, skill +2
Posts: 621
Joined: 01 Oct 2011, 00:25
Detinator Steam: Da
Reputatie: Fost Scripter eXtreamCS
Fost Super moderator
Location: Bucuresti
Has thanked: 16 times
Been thanked: 156 times

16 Jul 2012, 17:43

tenlimba wrote:Am si eu pluginul ala de "Happy Credit Hour" da eu vreau pluginul ala care face sa arate mesaju l ala ca in plugin nu arata. Si am cea mai noua versiuneaa pluginului.
Aici ai zis ca ai pluginul respectiv doar ca nu apare mesajul ala.
Daca ceea ce iti trebuie tie este doar adaugarea mesajului in plugin, te pot ajuta.
Imagination is more important than knowledge.
Knowledge is limited - Imagination encircles the world.
User avatar
J3FF
Membru, skill +1
Membru, skill +1
Posts: 472
Joined: 27 Oct 2007, 20:02
Detinator Steam: Nu
CS Status: ON and Ready 2 PLAY
Detinator server CS: Nu
Location: SiBiU
Has thanked: 25 times
Been thanked: 39 times

16 Jul 2012, 17:46

Chestia e ca acest plugin spameaza chatul , adica trimite la inceputul oricarei runde mesaj in chat cu aceasta informatie

In imagine ramane permanent intre ora X pana la ora X (care le setezi din cvar)
Il aveam si eu :) | Afiseaza codul
/*
---------------------------------------------------------
   #  #  #    #===    ###    ##    #
  #    ##     #===   #      #  #    #
   #   #      #===    ###    ##    #
---------------------------------------------------------
Happy Credit Hour 1.0

If you modify the code, please DO NOT change the author!
---------------------------------------------------------
Contacts:
e-mail: [email protected]
skype: veco_kn
---------------------------------------------------------
Changes log:
 -> v 1.0 = First release!
---------------------------------------------------------
Don't forget to visit http://www.amxmodxbg.org :)
---------------------------------------------------------
*/

#include <amxmodx>
#include <vzbb_mod>
#include <fun>
#include <colorchat>

new cvar_hch_start,cvar_hch_end, is_hch_start
public plugin_init() {
	register_plugin("VZBB : Happy Credit Hour", "1.0", "<VeCo>")
	
	cvar_hch_start = register_cvar("hch_start","16")
	cvar_hch_end = register_cvar("hch_end","20")
	
	register_event("DeathMsg","hook_death","a")
}

public hook_death()
{
	static hour_str[3],get_hour, killer,victim, get_start,get_end
	
	get_time("%H",hour_str,2)
	
	get_hour = str_to_num(hour_str)
	
	get_start = get_pcvar_num(cvar_hch_start)
	get_end = get_pcvar_num(cvar_hch_end)
	if(get_start < get_end ? (get_start <= get_hour && get_hour < get_end) : (get_start <= get_hour || get_hour < get_end))
	{
		if(!is_hch_start)
		{
			is_hch_start = true
			ColorChat(0,GREEN,"[RecLaMa]^x03 E TIMPUL PENTRU^x04 A DUBLA CREDITELE^x01.")
			ColorChat(0,GREEN,"[RecLaMa]^x03 In acest timp vei primi^x04 DE DOUA ORI MAI MULTE CREDITE^x01.")
			ColorChat(0,GREEN,"[RecLaMa]^x03 In acest timp vei primi^x04 DE DOUA ORI MAI MULTE CREDITE^x01.")
			ColorChat(0,GREEN,"[RecLaMa]^x03 E TIMPUL PENTRU^x04 A DUBLA CREDITELE^x01.")
		}
	} else {
		is_hch_start = false
	}
	
	if(!is_hch_start) return
	
	killer = read_data(1)
	victim = read_data(2)
	
	if(!is_user_connected(killer) || get_user_team(killer) == get_user_team(victim)) return
	
	set_user_credits(killer,get_user_credits(killer) + (is_user_zombie(killer) ? 3 : 2))
}
Unii ma mai stiu de e t n a d

Image
Post Reply

Return to “Cereri”

  • Information