Va salut extreamcs .
Doresc si eu un plugin care odata pe runda sa se aleaga un player random din cei prezenti pe server
Acest playeri sa primeasca un smoke si 5 $
Si sa apara in chat : [HNS] RoL a fost ales playerul suprem .
Iar mie sa imi apara si mesaj de mai sus si inca unul sub : [HNS] Ai fost ales player suprem ai +1 Smoke & 5 $ !
Va rog daca imi faceti pluginul sa puneti la smoke cu get !! nu cu set .
Cerere plugin random
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 .
Accesează link-ul pentru a putea vedea regulile forumului
Daca doriti sa vi se modifice un plugin, va rugam postati aici .
- RoL
- Membru, skill +1
- Posts: 434
- Joined: 19 Jul 2013, 13:19
- Detinator Steam: Da
- Detinator server CS: DA
- SteamID: rolcs97
- Has thanked: 47 times
- Been thanked: 28 times
- Contact:
Server: HNS.CSBLACKDEVIL.COM
Mod: 500 GRAVITY + LVLMODE !
Owner : RoL
Multe altele pe server ! Ajuta-ma sa-l populez ..
http://www.extreamcs.com/forum/mesaj166 ... o_id=46686
Mod: 500 GRAVITY + LVLMODE !
Owner : RoL
Multe altele pe server ! Ajuta-ma sa-l populez ..
http://www.extreamcs.com/forum/mesaj166 ... o_id=46686
-
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff - Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
- Contact:
Code: Select all
#include < amxmodx >
#include < fun >
#include < cstrike >
#define PLUGIN ""
#define VERSION ""
#pragma semicolon 1
public plugin_init( )
{
register_plugin( PLUGIN, VERSION, "Simao" );
register_logevent( "EV_RoundStart", 2, "1=Round_Start" );
}
public EV_RoundStart( )
{
new iPlayers[ 32 ], iNum;
get_players( iPlayers, iNum, "ac" );
new randomPlayer = iPlayers[ random( iNum ) ];
if( is_user_alive( randomPlayer ) )
{
static szName[ 32 ];
get_user_name( randomPlayer, szName, sizeof( szName ) -1 );
client_print( 0, print_chat, "[HNS] %s a fost ales playerul suprem .", szName );
client_print( randomPlayer, print_chat, "[HNS] Ai fost ales player suprem ai +1 Smoke & 5 $ !" );
give_item( randomPlayer, "weapon_smokegrenade" );
cs_set_user_money( randomPlayer, cs_get_user_money( randomPlayer ) + 5 );
}
}
Retras
- RoL
- Membru, skill +1
- Posts: 434
- Joined: 19 Jul 2013, 13:19
- Detinator Steam: Da
- Detinator server CS: DA
- SteamID: rolcs97
- Has thanked: 47 times
- Been thanked: 28 times
- Contact:
Apreciez efortul Simao pluginul merge insa
Imi poti face sa fie mesajele din chat colorate ?
Si sa poti face sa se aleaga playerul suprem dupa 10 secunde de cand incepe runda ?
Ti-as fi foarte recunoscator .
Imi poti face sa fie mesajele din chat colorate ?
Si sa poti face sa se aleaga playerul suprem dupa 10 secunde de cand incepe runda ?
Ti-as fi foarte recunoscator .
Server: HNS.CSBLACKDEVIL.COM
Mod: 500 GRAVITY + LVLMODE !
Owner : RoL
Multe altele pe server ! Ajuta-ma sa-l populez ..
http://www.extreamcs.com/forum/mesaj166 ... o_id=46686
Mod: 500 GRAVITY + LVLMODE !
Owner : RoL
Multe altele pe server ! Ajuta-ma sa-l populez ..
http://www.extreamcs.com/forum/mesaj166 ... o_id=46686
- -Turbo-
- Membru, skill +4
- Posts: 1664
- Joined: 11 Nov 2012, 01:28
- Detinator Steam: Da
- CS Status: Bored !
- Detinator server CS: Da
- SteamID: kingforbidden
- Reputatie: Utilizator neserios ( tepar )
Restrictie moderator
Ban scos ( achitat )
Nume anterior: Turbo19973 - Location: Botosani
- Has thanked: 49 times
- Been thanked: 212 times
- YONTU
- Scripter eXtreamCS
- Posts: 2466
- Joined: 10 May 2013, 14:25
- Detinator Steam: Nu
- CS Status: Everyone is looking at ur shoes
- Reputatie: Moderator ajutator
Fost scripter eXtreamCS - Location: Gura Humorului
- Has thanked: 256 times
- Been thanked: 288 times
- Contact:
Merge \:d/ !Simao wrote:Netestat.Code: Select all
#include < amxmodx > #include < fun > #include < cstrike > #define PLUGIN "" #define VERSION "" #pragma semicolon 1 public plugin_init( ) { register_plugin( PLUGIN, VERSION, "Simao" ); register_logevent( "EV_RoundStart", 2, "1=Round_Start" ); } public EV_RoundStart( ) { new iPlayers[ 32 ], iNum; get_players( iPlayers, iNum, "ac" ); new randomPlayer = iPlayers[ random( iNum ) ]; if( is_user_alive( randomPlayer ) ) { static szName[ 32 ]; get_user_name( randomPlayer, szName, sizeof( szName ) -1 ); client_print( 0, print_chat, "[HNS] %s a fost ales playerul suprem .", szName ); client_print( randomPlayer, print_chat, "[HNS] Ai fost ales player suprem ai +1 Smoke & 5 $ !" ); give_item( randomPlayer, "weapon_smokegrenade" ); cs_set_user_money( randomPlayer, cs_get_user_money( randomPlayer ) + 5 ); } }
„Peste douăzeci de ani vei fi dezamăgit din cauza lucrurilor pe care nu le-ai făcut, nu din cauza celor pe care le-ai făcut.” - Mark Twain
„Asa e si in viata, hotii castiga, prostii care invata pierd.” - Mihai Nemeș
Bio.LeagueCs.Ro - Biohazard v4.4 Xmas Edition
discord: IonutC#5114
„Asa e si in viata, hotii castiga, prostii care invata pierd.” - Mihai Nemeș
Bio.LeagueCs.Ro - Biohazard v4.4 Xmas Edition
discord: IonutC#5114
Experinta in: Java/Spring boot/Angular/C/C++/C#/Javascript/Python/HTML/CSS/Pawn/SQL
Ai nevoie de ajutorul meu? Ma poti gasi doar la adresa de discord de mai sus.
Ai nevoie de ajutorul meu? Ma poti gasi doar la adresa de discord de mai sus.
- RoL
- Membru, skill +1
- Posts: 434
- Joined: 19 Jul 2013, 13:19
- Detinator Steam: Da
- Detinator server CS: DA
- SteamID: rolcs97
- Has thanked: 47 times
- Been thanked: 28 times
- Contact:
Io nu stiu cum iti merge tie ionutz daca da erori la compilare ?/:)
Server: HNS.CSBLACKDEVIL.COM
Mod: 500 GRAVITY + LVLMODE !
Owner : RoL
Multe altele pe server ! Ajuta-ma sa-l populez ..
http://www.extreamcs.com/forum/mesaj166 ... o_id=46686
Mod: 500 GRAVITY + LVLMODE !
Owner : RoL
Multe altele pe server ! Ajuta-ma sa-l populez ..
http://www.extreamcs.com/forum/mesaj166 ... o_id=46686
- -Turbo-
- Membru, skill +4
- Posts: 1664
- Joined: 11 Nov 2012, 01:28
- Detinator Steam: Da
- CS Status: Bored !
- Detinator server CS: Da
- SteamID: kingforbidden
- Reputatie: Utilizator neserios ( tepar )
Restrictie moderator
Ban scos ( achitat )
Nume anterior: Turbo19973 - Location: Botosani
- Has thanked: 49 times
- Been thanked: 212 times
- RoL
- Membru, skill +1
- Posts: 434
- Joined: 19 Jul 2013, 13:19
- Detinator Steam: Da
- Detinator server CS: DA
- SteamID: rolcs97
- Has thanked: 47 times
- Been thanked: 28 times
- Contact:
Merge dar nu mi-ai facut sa se aleaga dupa 10 secunde :D
Fa-mi te rog .
Fa-mi te rog .
Server: HNS.CSBLACKDEVIL.COM
Mod: 500 GRAVITY + LVLMODE !
Owner : RoL
Multe altele pe server ! Ajuta-ma sa-l populez ..
http://www.extreamcs.com/forum/mesaj166 ... o_id=46686
Mod: 500 GRAVITY + LVLMODE !
Owner : RoL
Multe altele pe server ! Ajuta-ma sa-l populez ..
http://www.extreamcs.com/forum/mesaj166 ... o_id=46686
- -Turbo-
- Membru, skill +4
- Posts: 1664
- Joined: 11 Nov 2012, 01:28
- Detinator Steam: Da
- CS Status: Bored !
- Detinator server CS: Da
- SteamID: kingforbidden
- Reputatie: Utilizator neserios ( tepar )
Restrictie moderator
Ban scos ( achitat )
Nume anterior: Turbo19973 - Location: Botosani
- Has thanked: 49 times
- Been thanked: 212 times
- RoL
- Membru, skill +1
- Posts: 434
- Joined: 19 Jul 2013, 13:19
- Detinator Steam: Da
- Detinator server CS: DA
- SteamID: rolcs97
- Has thanked: 47 times
- Been thanked: 28 times
- Contact:
Mersi dar vezi ca imi da setsmoke nu getsmoke .
Da-mi te rog sa imi dea +1 smoke nu set .
Da-mi te rog sa imi dea +1 smoke nu set .
Server: HNS.CSBLACKDEVIL.COM
Mod: 500 GRAVITY + LVLMODE !
Owner : RoL
Multe altele pe server ! Ajuta-ma sa-l populez ..
http://www.extreamcs.com/forum/mesaj166 ... o_id=46686
Mod: 500 GRAVITY + LVLMODE !
Owner : RoL
Multe altele pe server ! Ajuta-ma sa-l populez ..
http://www.extreamcs.com/forum/mesaj166 ... o_id=46686
- -Turbo-
- Membru, skill +4
- Posts: 1664
- Joined: 11 Nov 2012, 01:28
- Detinator Steam: Da
- CS Status: Bored !
- Detinator server CS: Da
- SteamID: kingforbidden
- Reputatie: Utilizator neserios ( tepar )
Restrictie moderator
Ban scos ( achitat )
Nume anterior: Turbo19973 - Location: Botosani
- Has thanked: 49 times
- Been thanked: 212 times