Cerere plugin resetscore

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
KLF
Membru, skill 0
Membru, skill 0
Posts: 22
Joined: 21 Dec 2013, 04:09
Detinator Steam: Da
Detinator server CS: Da
Location: Londra
Has thanked: 10 times
Contact:

21 Dec 2013, 11:55

Vreau si eu pluginul resetscore dar cand folosesti comanda sa nu apara nici un text in say, doar sa iti reseteze scorul.

Ofer 5 multumesc-uri.
Last edited by Raul on 21 Dec 2013, 11:59, edited 1 time in total.
Reason: Titlu modificat!
Rapidserver
User avatar
Sadic
Membru, skill +2
Membru, skill +2
Posts: 502
Joined: 17 Nov 2012, 21:56
Detinator Steam: Da
CS Status: hardestly!
Detinator server CS: Da
SteamID: sadic_pgl
Location: in the middle
Has thanked: 64 times
Been thanked: 105 times
Contact:

21 Dec 2013, 11:57

http://www.extreamcs.com/forum/pluginur ... 47083.html
amx_resetmessage 0 / 1 / 2
- 0 Dezactiveaza mesajele chat
- 1 Va aparea doar mesajul userului care a folosit comanda
- 2 Va aparea mesajul userului + mesaj tuturor caci x si-a resetat scorul
Citeşte-te pe tine însuţi!

YM!: sadic_pgl@yahoo.com / Steam: sadic_pgl
User avatar
Raul
Fost administrator
Fost administrator
Posts: 2340
Joined: 03 Feb 2012, 11:33
Detinator Steam: Da
SteamID: /id/raulll
Reputatie: Fost administrator
Location: Germany
Has thanked: 43 times
Been thanked: 120 times

21 Dec 2013, 11:58

Mutat in categoria corespunzatoare + titlu modificat.
KLF
Membru, skill 0
Membru, skill 0
Posts: 22
Joined: 21 Dec 2013, 04:09
Detinator Steam: Da
Detinator server CS: Da
Location: Londra
Has thanked: 10 times
Contact:

21 Dec 2013, 13:45

Nu merge.. vreau cand dai /rs sau /resetscore sa reseteze scorul dar sa nu apara nici un mesaj in chat, cel de mai sus nu functioneaza.
User avatar
Sadic
Membru, skill +2
Membru, skill +2
Posts: 502
Joined: 17 Nov 2012, 21:56
Detinator Steam: Da
CS Status: hardestly!
Detinator server CS: Da
SteamID: sadic_pgl
Location: in the middle
Has thanked: 64 times
Been thanked: 105 times
Contact:

21 Dec 2013, 15:51

Nu are cum sa nu mearga. Dupa ce ai realizat fiecare pas ai adaugat cvar-urile?:
amx_resetscore 1
amx_resetmessage 0
Citeşte-te pe tine însuţi!

YM!: sadic_pgl@yahoo.com / Steam: sadic_pgl
User avatar
anaconda cs
Membru, skill +3
Membru, skill +3
Posts: 1045
Joined: 13 Nov 2012, 06:39
Detinator Steam: Da
Detinator server CS: Dr.InDungi.Ro
SteamID: anaconda_indungi
Location: Iasi
Has thanked: 49 times
Been thanked: 45 times
Contact:

22 Dec 2013, 00:02

editat
~~~~~~~~~~~~~~
Last edited by anaconda cs on 22 Dec 2013, 11:32, edited 1 time in total.
Image
Image
Cosmin
Fost moderator
Fost moderator
Posts: 9366
Joined: 06 Jul 2013, 21:08
Detinator Steam: Da
Detinator server CS: Nu
Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn
Has thanked: 492 times
Been thanked: 546 times

22 Dec 2013, 00:07

| Afiseaza codul
#include <amxmodx>
#include <cstrike>
#include <fun>

public plugin_init() {
	register_plugin("Forbidden", "Unique", "x")
	register_clcmd("say /resetscore", "resetscore", ADMIN_ALL, "");
	register_clcmd("say_team /resetscore", "resetscore", ADMIN_ALL, "");
	register_clcmd("say /rs", "resetscore", ADMIN_ALL, "");
	register_clcmd("say_team /rs", "resetscore", ADMIN_ALL, "");
}

public resetscore(id, level, cid)
{
	if(!cmd_access(id, level, cid, 1) || !is_user_connected(id) || is_user_connecting(id))
		return PLUGIN_HANDLED;

	cs_set_user_deaths(id, 0);
	set_user_frags(id, 0);
	cs_set_user_deaths(id, 0);
	set_user_frags(id, 0);
	return PLUGIN_HANDLED;
}
User avatar
anaconda cs
Membru, skill +3
Membru, skill +3
Posts: 1045
Joined: 13 Nov 2012, 06:39
Detinator Steam: Da
Detinator server CS: Dr.InDungi.Ro
SteamID: anaconda_indungi
Location: Iasi
Has thanked: 49 times
Been thanked: 45 times
Contact:

22 Dec 2013, 00:13

pai si de unde stiu playerii ca li s-a resetat scorul ma :-j?
Image
Image
Cosmin
Fost moderator
Fost moderator
Posts: 9366
Joined: 06 Jul 2013, 21:08
Detinator Steam: Da
Detinator server CS: Nu
Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn
Has thanked: 492 times
Been thanked: 546 times

22 Dec 2013, 00:15

| Afiseaza codul
#include <amxmodx>
#include <cstrike>
#include <fun>

public plugin_init() {
	register_plugin("Forbidden", "Unique", "x")
	register_clcmd("say /resetscore", "resetscore");
	register_clcmd("say_team /resetscore", "resetscore");
	register_clcmd("say /rs", "resetscore");
	register_clcmd("say_team /rs", "resetscore");
}

public resetscore(id, level, cid)
{
	if(!is_user_connected(id) || is_user_connecting(id))
		return PLUGIN_HANDLED;

	cs_set_user_deaths(id, 0);
	set_user_frags(id, 0);
	cs_set_user_deaths(id, 0);
	set_user_frags(id, 0);
	return PLUGIN_HANDLED;
}
S-au ia asa,banal plugin e pe tot gugalul.
Post Reply

Return to “Cereri”

  • Information