Cerere Bonus

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
hopa ;x
Membru, skill +1
Membru, skill +1
Posts: 418
Joined: 22 Aug 2013, 18:15
Detinator Steam: Da
CS Status: Nici unu
Detinator server CS: FURIEN.HIGHTCS.RO
Has thanked: 38 times
Been thanked: 11 times
Contact:

20 Dec 2013, 22:46

Salut , as vrea si eu un plugin ..nu ii cunosc numele ,nimic despre el..doar o poza \
ma poate ajuta careva?
Image
Proiect-ul Meu !
http://www.OneGame.ro/forum -> Forum OneGame
https://onegame.ro/stats -> Statistici Servere

Furien.OneGame.Ro # Furien Mod Clasic
Image


http://bc.vc/lEQkuU6 -> Domenii Free
http://bc.vc/0hW0s43 -> Filme Online
Rapidserver
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

20 Dec 2013, 23:07

Ce e aia ? cand cumperi s'au ce?
User avatar
Adventx
Membru, skill +4
Membru, skill +4
Posts: 1785
Joined: 17 Sep 2013, 20:44
Detinator Steam: Da
Reputatie: Fost moderator ajutator
Has thanked: 125 times
Been thanked: 142 times
Contact:

20 Dec 2013, 23:38

Ceva la spawn iti apare un meniu de unde sa alegi Viteza, HP, Armura?
hopa ;x
Membru, skill +1
Membru, skill +1
Posts: 418
Joined: 22 Aug 2013, 18:15
Detinator Steam: Da
CS Status: Nici unu
Detinator server CS: FURIEN.HIGHTCS.RO
Has thanked: 38 times
Been thanked: 11 times
Contact:

21 Dec 2013, 10:26

nu , la fiecare spawn iti da bonusul acela.
Proiect-ul Meu !
http://www.OneGame.ro/forum -> Forum OneGame
https://onegame.ro/stats -> Statistici Servere

Furien.OneGame.Ro # Furien Mod Clasic
Image


http://bc.vc/lEQkuU6 -> Domenii Free
http://bc.vc/0hW0s43 -> Filme Online
User avatar
DaNNe.
Fost moderator
Fost moderator
Posts: 2808
Joined: 08 Nov 2013, 20:43
Detinator Steam: Da
CS Status: Activitate scăzută
SteamID: /id/FurienMaster
Reputatie: Nick anterior: DnD. Gold, Emrys
0.5/3
Fost moderator ajutator
Fost Membru Club eXtreamCS (doua luni)
Has thanked: 230 times
Been thanked: 128 times
Contact:

21 Dec 2013, 12:08

Try, l-am facut in post de pe telefon | Afiseaza codul
#include < amxmodx >
#include < cstrike >
#include < hamsandwich >
#include < fun >
#include < CC_ColorChat )

public plugin_init (     )
{
         register_plugin ( "Spawn Bonus", "1.0", "DaNe")
     RegisterHam(Ham_Spawn,
"player", "player_spawn", 1);
}

public player_spawn ( id )
{
       if ( get_user_team ( id ) == 2 )
        {
          set_user_health ( id, get_user_health( id ) +50 )
          set_user_armor ( id, get_user_armor ( id ) + 50 )
          set_user_maxspeed ( id, 251.0 )
          ColorChat( id, GREEN, "Pui tu mesajul" );
        }
}
Contact: Activitate scazuta.
User avatar
Adventx
Membru, skill +4
Membru, skill +4
Posts: 1785
Joined: 17 Sep 2013, 20:44
Detinator Steam: Da
Reputatie: Fost moderator ajutator
Has thanked: 125 times
Been thanked: 142 times
Contact:

21 Dec 2013, 12:54

Code: Select all

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <cstrike>
#include <fun>
#include <hamsandwich>

#define PLUGIN "Deathrun: Spawn Bonus"
#define VERSION "1.0"
#define AUTHOR "Adventx"

public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	RegisterHam(Ham_Spawn, "player", "hamPlayerSpawnPost", 1 )
}

public hamPlayerSpawnPost(id)
{
	if( is_user_alive( id ) )
	{
		if(cs_get_user_team(id) == CS_TEAM_CT )
		{
			set_user_health(id, get_user_health(id) +50) //Health Bonus
			set_user_armor(id, get_user_armor(id) +50) //Armor Bonus
			set_user_maxspeed(id, 251.0) // Set MaxSpeed
			ChatColor(id, "!g[Bonus] !nYou were given !t50 Extra Health, 50 Armor, and 251 Speed!")
		}
	}
}

stock ChatColor(const id, const input[], any:...)
{
        new count = 1, players[32]
        static msg[191]
        vformat(msg, 190, input, 3)
       
        replace_all(msg, 190, "!g", "^4") // Green Color
        replace_all(msg, 190, "!n", "^1") // Default Color
        replace_all(msg, 190, "!t", "^3") // Team Color
        replace_all(msg, 190, "!t2", "^0") // Team2 Color
       
        if (id) players[0] = id; else get_players(players, count, "ch")
        {
                for (new i = 0; i < count; i++)
                {
                        if (is_user_connected(players[i]))
                        {
                                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])
                                write_byte(players[i]);
                                write_string(msg);
                                message_end();
                        }
                }
        }
}
L-am facut si eu :D
hopa ;x
Membru, skill +1
Membru, skill +1
Posts: 418
Joined: 22 Aug 2013, 18:15
Detinator Steam: Da
CS Status: Nici unu
Detinator server CS: FURIEN.HIGHTCS.RO
Has thanked: 38 times
Been thanked: 11 times
Contact:

21 Dec 2013, 13:28

mersi boss . il pun acuma pe server :x
ai + 1
Proiect-ul Meu !
http://www.OneGame.ro/forum -> Forum OneGame
https://onegame.ro/stats -> Statistici Servere

Furien.OneGame.Ro # Furien Mod Clasic
Image


http://bc.vc/lEQkuU6 -> Domenii Free
http://bc.vc/0hW0s43 -> Filme Online
User avatar
DaNNe.
Fost moderator
Fost moderator
Posts: 2808
Joined: 08 Nov 2013, 20:43
Detinator Steam: Da
CS Status: Activitate scăzută
SteamID: /id/FurienMaster
Reputatie: Nick anterior: DnD. Gold, Emrys
0.5/3
Fost moderator ajutator
Fost Membru Club eXtreamCS (doua luni)
Has thanked: 230 times
Been thanked: 128 times
Contact:

21 Dec 2013, 13:35

adventx wrote:

Code: Select all

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <cstrike>
#include <fun>
#include <hamsandwich>

#define PLUGIN "Deathrun: Spawn Bonus"
#define VERSION "1.0"
#define AUTHOR "Adventx"

public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	RegisterHam(Ham_Spawn, "player", "hamPlayerSpawnPost", 1 )
}

public hamPlayerSpawnPost(id)
{
	if( is_user_alive( id ) )
	{
		if(cs_get_user_team(id) == CS_TEAM_CT )
		{
			set_user_health(id, get_user_health(id) +50) //Health Bonus
			set_user_armor(id, get_user_armor(id) +50) //Armor Bonus
			set_user_maxspeed(id, 251.0) // Set MaxSpeed
			ChatColor(id, "!g[Bonus] !nYou were given !t50 Extra Health, 50 Armor, and 251 Speed!")
		}
	}
}

stock ChatColor(const id, const input[], any:...)
{
        new count = 1, players[32]
        static msg[191]
        vformat(msg, 190, input, 3)
       
        replace_all(msg, 190, "!g", "^4") // Green Color
        replace_all(msg, 190, "!n", "^1") // Default Color
        replace_all(msg, 190, "!t", "^3") // Team Color
        replace_all(msg, 190, "!t2", "^0") // Team2 Color
       
        if (id) players[0] = id; else get_players(players, count, "ch")
        {
                for (new i = 0; i < count; i++)
                {
                        if (is_user_connected(players[i]))
                        {
                                message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])
                                write_byte(players[i]);
                                write_string(msg);
                                message_end();
                        }
                }
        }
}
L-am facut si eu :D
#define AUTHOR "Adventx" :-q
Copy paste de mai sus, ai adaugat stocku de color chat si ai schimbat autorul, in rest nimic. :-q :-q
Contact: Activitate scazuta.
User avatar
Adventx
Membru, skill +4
Membru, skill +4
Posts: 1785
Joined: 17 Sep 2013, 20:44
Detinator Steam: Da
Reputatie: Fost moderator ajutator
Has thanked: 125 times
Been thanked: 142 times
Contact:

21 Dec 2013, 13:37

PS: :)) inca eu primul te-am intrebat pe mess despre speed, pluginul e scris de mine de la 0
User avatar
DaNNe.
Fost moderator
Fost moderator
Posts: 2808
Joined: 08 Nov 2013, 20:43
Detinator Steam: Da
CS Status: Activitate scăzută
SteamID: /id/FurienMaster
Reputatie: Nick anterior: DnD. Gold, Emrys
0.5/3
Fost moderator ajutator
Fost Membru Club eXtreamCS (doua luni)
Has thanked: 230 times
Been thanked: 128 times
Contact:

21 Dec 2013, 13:39

adventx wrote:PS: :)) inca eu primul te-am intrebat pe mess despre speed, pluginul e scris de mine de la 0
Ceea ce ti-am explicat eu pe mess ziceai ca nu merge. Ai luat din pluginul de sus.
Contact: Activitate scazuta.
Post Reply

Return to “Cereri”

  • Information