Plugin functionabil doar pe anumite harti[rezolvat!]

Cereri de pluginuri noi, skinuri in CS, etc.

Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com

Post Reply
EDwardddd.
Membru, skill +2
Membru, skill +2
Posts: 806
Joined: 18 Jun 2010, 10:30
Detinator Steam: Da
SteamID: edwarddwd
Reputatie: Membru Club eXtreamCS (trei luni)
Fost Moderator ajutator
Nume anterioare: Elk, eDward /R/
Has thanked: 16 times
Been thanked: 49 times

24 May 2013, 22:40

Stie cineva cum pot face un plugin sa functioneze doar pe anumite harti ?

Gen: sa mearga pe deathrun_arctic , iar pe deathrun_forest nu .. ceva de genu

Stie cineva? :)
RoyalServer
User avatar
CryWolf
Administrator
Administrator
Posts: 6505
Joined: 07 Aug 2008, 16:33
Detinator Steam: Da
Reputatie: Administrator
Fost Scripter
Manager CS2.eXtream.Ro
Fost Detinator ZM.eXtream.Ro
Fost manager CS.eXtream.Ro
Fost manager CSGO.eXtream.Ro
Fost manager global
Location: Botosani
Discord: crywolf1989
Has thanked: 202 times
Been thanked: 850 times
Contact:

26 May 2013, 10:51

Salut, creaza un folder maps in addons/amxmodx/configs iar acolo faci un fisier .ini per map iti dau si exemplu avem pluginul deathrun_xxx.amxx care vrem sa il rulam doar pe harta deathrun_antic acolo facem un nou .text document cu extensia .ini ca plugins.ini si il vom numi asa plugins-deathrun_antic.ini si adaugam in el

Code: Select all

deathrun_xxx.amxx
Iar acel plugin va rula doar pe harta respectiva!

2. Prin amxx stiu ca se poate doar prin prefixul hartii adica doar prin cs_ , de_ , s.a.m.d uitate in miscstats.sma sau in .sma-ul modului Zombie Escape daca esti interesat.
NU IMI MAI DA-TI PM CU CERERE AJUTOR/SAMD, FOLOSITI FORUMUL, CITESC MAJORITATEA TOPICURILOR.
www.dark-arena.com , SERVERE CS / CS2 / L4D AU REVENIT ONLINE.
www.diasporaiptv.ro - SERVICII PREMIUM IPTV

Image

Image
EDwardddd.
Membru, skill +2
Membru, skill +2
Posts: 806
Joined: 18 Jun 2010, 10:30
Detinator Steam: Da
SteamID: edwarddwd
Reputatie: Membru Club eXtreamCS (trei luni)
Fost Moderator ajutator
Nume anterioare: Elk, eDward /R/
Has thanked: 16 times
Been thanked: 49 times

26 May 2013, 11:00

CryWolf wrote:Salut, creaza un folder maps in addons/amxmodx/configs iar acolo faci un fisier .ini per map iti dau si exemplu avem pluginul deathrun_xxx.amxx care vrem sa il rulam doar pe harta deathrun_antic acolo facem un nou .text document cu extensia .ini ca plugins.ini si il vom numi asa plugins-deathrun_antic.ini si adaugam in el

Code: Select all

deathrun_xxx.amxx
Iar acel plugin va rula doar pe harta respectiva!

2. Prin amxx stiu ca se poate doar prin prefixul hartii adica doar prin cs_ , de_ , s.a.m.d uita-te in miscstats.sma sau in .sma-ul modului Zombie Escape daca esti interesat.
Multumesc :) !
compaq
Fost moderator
Fost moderator
Posts: 2598
Joined: 01 Dec 2008, 15:32
Detinator Steam: Da
Reputatie: Fost eXtream Mod
Fost contribuitor
Fost manager
Fost Scripter eXtreamCS
Has thanked: 15 times
Been thanked: 152 times

26 May 2013, 18:06

| Afiseaza codul
#include < amxmodx >

new g_Paused = 0;

public plugin_init()
{
	new szMapName[ 32 ];
	get_mapname( szMapName, charsmax( szMapName ) );

	if( equal( szMapName, "deathrun_arctic" ) )
	{
		if( g_Paused )
		{
			unpause( "a" );
		}
	}

	else if( equal( szMapName, "deathrun_forest" ) )
	{
		if( !g_Paused )
		{
			pause( "a" );
			g_Paused = 1;
		}
	}
}

// cod
EDwardddd.
Membru, skill +2
Membru, skill +2
Posts: 806
Joined: 18 Jun 2010, 10:30
Detinator Steam: Da
SteamID: edwarddwd
Reputatie: Membru Club eXtreamCS (trei luni)
Fost Moderator ajutator
Nume anterioare: Elk, eDward /R/
Has thanked: 16 times
Been thanked: 49 times

26 May 2013, 19:15

compaq wrote:
| Afiseaza codul
#include < amxmodx >

new g_Paused = 0;

public plugin_init()
{
	new szMapName[ 32 ];
	get_mapname( szMapName, charsmax( szMapName ) );

	if( equal( szMapName, "deathrun_arctic" ) )
	{
		if( g_Paused )
		{
			unpause( "a" );
		}
	}

	else if( equal( szMapName, "deathrun_forest" ) )
	{
		if( !g_Paused )
		{
			pause( "a" );
			g_Paused = 1;
		}
	}
}

// cod
E mai usoara totusi metoda care mi-a zis-o CryWolf , insa oricum multumesc compaq :) !
Cosmin
Fost moderator
Fost moderator
Posts: 9362
Joined: 06 Jul 2013, 22:08
Detinator Steam: Da
Detinator server CS: Nu
Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn
Has thanked: 492 times
Been thanked: 547 times

27 Aug 2013, 19:07

oo multumesc la aman2 crywolf si compaq si mie imi trebuie , metoda lu' criwolf e foarte interesanta
BoYkAaa
Membru, skill +1
Membru, skill +1
Posts: 197
Joined: 10 May 2015, 06:50
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

20 Sep 2015, 20:28

metoda cu fisieru . ini nu merge am facut folderu masp etc ce ai zis tu ca tot merge pluginu si pe restu de mape :)) si cu asta nu stiu cum sa il folosesc ca nu vrea doar pe o mapa vreau pe mai multe

Code: Select all

#include < amxmodx >

new g_Paused = 0;

public plugin_init()
{
	new szMapName[ 32 ];
	get_mapname( szMapName, charsmax( szMapName ) );

	if( equal( szMapName, "deathrun_arctic" ) )
	{
		if( g_Paused )
		{
			unpause( "a" );
		}
	}

	else if( equal( szMapName, "deathrun_forest" ) )
	{
		if( !g_Paused )
		{
			pause( "a" );
			g_Paused = 1;
		}
	}
}

// cod
Cosmin
Fost moderator
Fost moderator
Posts: 9362
Joined: 06 Jul 2013, 22:08
Detinator Steam: Da
Detinator server CS: Nu
Reputatie: Fost eXtream Mod
Fost Scripter eXtreamCS
Nume anterior: scosmynnnn
Has thanked: 492 times
Been thanked: 547 times

24 Sep 2015, 15:26

BoYkAaa posteaza o sursa pe care vrei sa-ti implementez codul ala cu mai multe harti..
BoYkAaa
Membru, skill +1
Membru, skill +1
Posts: 197
Joined: 10 May 2015, 06:50
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

25 Sep 2015, 07:25

pai nu am nici o sursa deasta am venit aci :D
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests