It is currently 15 Feb 2019 21:46



Forum rules


Accesează link-ul pentru a putea vedea regulile forumului

Daca doriti sa vi se modifice un plugin, va rugam postati aici .



Reply to topic  [ 15 posts ]  Go to page 1, 2  Next
 Cerere plugin steam bonus 
Author Message
Membru, skill 0
Membru, skill 0

Joined: 18 Oct 2015 11:23
Posts: 40
Location: La Deea !
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: Blue.*** Reclama ***.Ro
SteamID: cipryan69
Fond eXtream: 0
Plugin Cerut: steam bonus
Descriere (adica ce face el mai exact): Salut, as dori si eu un plugin pentru cei ce utilizeaza steam.
Sa apara un hud pe mijloc cand se conecteaza cu "Beneficiezi de un bonus pentru ca folosesti steam ) ceva gen mesaju, daca stiti sa va exprimati mai bine puneti un mesaj oarecare dar sa aiba legatura cu ce am spus eu acolo.
Sa apara in meniu armele Ak47 , M4a1, Famas ( toate aceste 3 arme sa contina deagle si grenazi )
Si sa ii aiba si 100 armor
multumesc
Serverul ruleaza (HLDS/ReHLDS): rehlds
Versiune AMX Mod X: -
Modul Serverului: -

_________________
Connect Blue.Evils.Ro
Site personal
Image


Last edited by Rainq on 01 Feb 2019 19:21, edited 1 time in total.

Editat dupa model



12 Oct 2017 21:22
Profile multumesc YIM WWW
Fost moderator
Fost moderator
User avatar

Joined: 13 Mar 2016 18:53
Posts: 949
Location: PIER 69 MOBS
Detinator Steam: Da
SteamID: fuckth3valv3t3am
Reputatie: Fost super moderator
Fond eXtream: 0
cereri-pluginuri/cerere-plugin-steam-free-vip-t346142.html


12 Oct 2017 21:23
Profile multumesc YIM
Membru, skill 0
Membru, skill 0

Joined: 18 Oct 2015 11:23
Posts: 40
Location: La Deea !
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: Blue.*** Reclama ***.Ro
SteamID: cipryan69
Fond eXtream: 0
Nu stiu sa scot hp-ul, daca ma poti ajuta iti voi multumi.

_________________
Connect Blue.Evils.Ro
Site personal
Image


12 Oct 2017 21:48
Profile multumesc YIM WWW
Fost moderator
Fost moderator
User avatar

Joined: 13 Mar 2016 18:53
Posts: 949
Location: PIER 69 MOBS
Detinator Steam: Da
SteamID: fuckth3valv3t3am
Reputatie: Fost super moderator
Fond eXtream: 0
N-am testat.
CLICK | Afiseaza codul
#include amxmodx
#include amxmisc
#include cstrike
#include fun
#include hamsandwich
#include ColorChat

public plugin_init() {

RegisterHam(Ham_Spawn, "player", "PlayerPostSpawn", 1);
}

public PlayerPostSpawn(id)
{
if (!is_user_connected(id) || !is_user_steam(id))
return HAM_HANDLED;

new MENU = menu_create ( "\ySTEAM BONUS \wMENU", "BONUS" );

menu_additem ( MENU, "ARME", "1", 0 );

menu_setprop ( MENU, MPROP_EXIT, MEXIT_ALL );

menu_display ( id, MENU, 0 );
return HAM_IGNORED;
}

public BONUS(id,MENU,item)
{
if (!is_user_alive(id) || !is_user_steam(id))
return PLUGIN_HANDLED;

if (item == MENU_EXIT)
return PLUGIN_HANDLED;

new data [6], iName [64];
new access, callback;

menu_item_getinfo ( MENU, item, access, data,5, iName, 63, callback);

new key = str_to_num(data);

switch(key)
{
case 1:
{
ARME(id);
ColorChat (id, GREEN, "^1[^4Steam Bonus^1] Ai ales ^4ARME^1!");
}
}
menu_destroy ( MENU );
return PLUGIN_HANDLED;
}

public ARME(id)
{

new menu = menu_create ("\rMENIU ARME", "ALEGE");
menu_additem(menu, "\yM4A1", "1");
menu_additem(menu, "\yAK-47", "2");
menu_additem(menu, "\wAWP", "3");

menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0 );

return 1;
}

public ALEGE(id, menu, item)
{
if(item == MENU_EXIT)
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}

new data [6], szName [64];
new access, callback;
menu_item_getinfo (menu, item, access, data,charsmax (data), szName,charsmax (szName), callback);
new key = str_to_num (data);

new name[32]
get_user_name(id, name, 31);

switch (key)
{
case 1:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
give_item(id, "weapon_m4a1");
cs_set_user_bpammo(id, CSW_M4A1, 90);
cs_set_user_bpammo(id, CSW_DEAGLE, 70);
}
}

case 2:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
give_item(id, "weapon_ak47");
cs_set_user_bpammo(id, CSW_AK47, 90);
cs_set_user_bpammo(id, CSW_DEAGLE, 70);
}
}
case 3:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
give_item(id, "weapon_awp");
cs_set_user_bpammo(id, CSW_AWP, 90);
cs_set_user_bpammo(id, CSW_DEAGLE, 70);
}
}
}

menu_destroy(menu);
return PLUGIN_HANDLED;
}

stock bool:is_user_steam(id)
{
static dp_pointer
if(dp_pointer || (dp_pointer = get_cvar_pointer("dp_r_id_provider")))
{
server_cmd("dp_clientinfo %d", id)
server_exec()
return (get_pcvar_num(dp_pointer) == 2) ? true : false
}
return false
}


12 Oct 2017 22:33
Profile multumesc YIM
Membru, skill 0
Membru, skill 0

Joined: 18 Oct 2015 11:23
Posts: 40
Location: La Deea !
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: Blue.*** Reclama ***.Ro
SteamID: cipryan69
Fond eXtream: 0
Este bun, dar am nevoie de cateva modificari.. As dori sa nu mai apara in chat cand alegi arme, sa apara doar ce alegi adica m4a1, ak47 .. sa zica ceva gen ai ales m4a1..

_________________
Connect Blue.Evils.Ro
Site personal
Image


13 Oct 2017 10:57
Profile multumesc YIM WWW
Fost moderator
Fost moderator
User avatar

Joined: 25 Aug 2014 20:31
Posts: 6165
Location: Ploiesti
Detinator Steam: Da
CS Status: All i ever wanted was a Roley Roley
SteamID: Jandarmeria
Reputatie: Fost Membru Club eXtreamCS ( o luna )
Fost eXtream Mod
Fost Intermediar
Nume anterior: Christmas, A k c 3 n 7
Fond eXtream: 0
| Afiseaza codul
#include amxmodx
#include amxmisc
#include cstrike
#include fun
#include hamsandwich
#include ColorChat

#pragma tabsize 0

public plugin_init() {

RegisterHam(Ham_Spawn, "player", "PlayerPostSpawn", 1);
}

public PlayerPostSpawn(id)
{
if (!is_user_connected(id) || !is_user_steam(id))
return HAM_HANDLED;

new MENU = menu_create ( "\ySTEAM BONUS \wMENU", "BONUS" );

menu_additem ( MENU, "ARME", "1", 0 );

menu_setprop ( MENU, MPROP_EXIT, MEXIT_ALL );

menu_display ( id, MENU, 0 );
return HAM_IGNORED;
}

public BONUS(id,MENU,item)
{
if (!is_user_alive(id) || !is_user_steam(id))
return PLUGIN_HANDLED;

if (item == MENU_EXIT)
return PLUGIN_HANDLED;

new data [6], iName [64];
new access, callback;

menu_item_getinfo ( MENU, item, access, data,5, iName, 63, callback);

new key = str_to_num(data);

switch(key)
{
case 1:
{
ARME(id);
ColorChat (id, GREEN, "^1[^4Steam Bonus^1] Ai ales ^4ARME^1!");
}
}
menu_destroy ( MENU );
return PLUGIN_HANDLED;
}

public ARME(id)
{

new menu = menu_create ("\rMENIU ARME", "ALEGE");
menu_additem(menu, "\yM4A1", "1");
menu_additem(menu, "\yAK-47", "2");
menu_additem(menu, "\wAWP", "3");

menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0 );

return 1;
}

public ALEGE(id, menu, item)
{
if(item == MENU_EXIT)
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}

new data [6], szName [64];
new access, callback;
menu_item_getinfo (menu, item, access, data,charsmax (data), szName,charsmax (szName), callback);
new key = str_to_num (data);

new name[32]
get_user_name(id, name, 31);

switch (key)
{
case 1:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
give_item(id, "weapon_m4a1");
cs_set_user_bpammo(id, CSW_M4A1, 90);
cs_set_user_bpammo(id, CSW_DEAGLE, 70);

ColorChat(id, GREEN, "^x03 Ai ales ^x04 M4A1 + DEAGLE")
}
}

case 2:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
give_item(id, "weapon_ak47");
cs_set_user_bpammo(id, CSW_AK47, 90);
cs_set_user_bpammo(id, CSW_DEAGLE, 70);

ColorChat(id, GREEN, "^x03 Ai ales ^x04 AK47 + DEAGLE")
}
}
case 3:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
give_item(id, "weapon_awp");
cs_set_user_bpammo(id, CSW_AWP, 90);
cs_set_user_bpammo(id, CSW_DEAGLE, 70);

ColorChat(id, GREEN, "^x03 Ai ales ^x04 AWP + DEAGLE")
}
}
}

menu_destroy(menu);
return PLUGIN_HANDLED;
}

stock bool:is_user_steam(id)
{
static dp_pointer
if(dp_pointer || (dp_pointer = get_cvar_pointer("dp_r_id_provider")))
{
server_cmd("dp_clientinfo %d", id)
server_exec()
return (get_pcvar_num(dp_pointer) == 2) ? true : false
}
return false
}

_________________
ImageImage

Lista intermediari
Nu ezita sa ma contactezi la 112 pentru interventii speciale: S.I.A.S
REGULI GENERALE
REGULILE SECTIUNII ANUNTURI



13 Oct 2017 13:44
Profile multumesc
Membru, skill 0
Membru, skill 0

Joined: 18 Oct 2015 11:23
Posts: 40
Location: La Deea !
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com...!
Detinator server CS: Blue.*** Reclama ***.Ro
SteamID: cipryan69
Fond eXtream: 0
Mersi mult

_________________
Connect Blue.Evils.Ro
Site personal
Image


13 Oct 2017 19:55
Profile multumesc YIM WWW
Membru, skill 0
Membru, skill 0

Joined: 16 Aug 2009 20:28
Posts: 79
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com!
Fond eXtream: 0
Sorinel wrote:
| Afiseaza codul
#include amxmodx
#include amxmisc
#include cstrike
#include fun
#include hamsandwich
#include ColorChat

#pragma tabsize 0

public plugin_init() {

RegisterHam(Ham_Spawn, "player", "PlayerPostSpawn", 1);
}

public PlayerPostSpawn(id)
{
if (!is_user_connected(id) || !is_user_steam(id))
return HAM_HANDLED;

new MENU = menu_create ( "\ySTEAM BONUS \wMENU", "BONUS" );

menu_additem ( MENU, "ARME", "1", 0 );

menu_setprop ( MENU, MPROP_EXIT, MEXIT_ALL );

menu_display ( id, MENU, 0 );
return HAM_IGNORED;
}

public BONUS(id,MENU,item)
{
if (!is_user_alive(id) || !is_user_steam(id))
return PLUGIN_HANDLED;

if (item == MENU_EXIT)
return PLUGIN_HANDLED;

new data [6], iName [64];
new access, callback;

menu_item_getinfo ( MENU, item, access, data,5, iName, 63, callback);

new key = str_to_num(data);

switch(key)
{
case 1:
{
ARME(id);
ColorChat (id, GREEN, "^1[^4Steam Bonus^1] Ai ales ^4ARME^1!");
}
}
menu_destroy ( MENU );
return PLUGIN_HANDLED;
}

public ARME(id)
{

new menu = menu_create ("\rMENIU ARME", "ALEGE");
menu_additem(menu, "\yM4A1", "1");
menu_additem(menu, "\yAK-47", "2");
menu_additem(menu, "\wAWP", "3");

menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0 );

return 1;
}

public ALEGE(id, menu, item)
{
if(item == MENU_EXIT)
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}

new data [6], szName [64];
new access, callback;
menu_item_getinfo (menu, item, access, data,charsmax (data), szName,charsmax (szName), callback);
new key = str_to_num (data);

new name[32]
get_user_name(id, name, 31);

switch (key)
{
case 1:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
give_item(id, "weapon_m4a1");
cs_set_user_bpammo(id, CSW_M4A1, 90);
cs_set_user_bpammo(id, CSW_DEAGLE, 70);

ColorChat(id, GREEN, "^x03 Ai ales ^x04 M4A1 + DEAGLE")
}
}

case 2:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
give_item(id, "weapon_ak47");
cs_set_user_bpammo(id, CSW_AK47, 90);
cs_set_user_bpammo(id, CSW_DEAGLE, 70);

ColorChat(id, GREEN, "^x03 Ai ales ^x04 AK47 + DEAGLE")
}
}
case 3:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
give_item(id, "weapon_awp");
cs_set_user_bpammo(id, CSW_AWP, 90);
cs_set_user_bpammo(id, CSW_DEAGLE, 70);

ColorChat(id, GREEN, "^x03 Ai ales ^x04 AWP + DEAGLE")
}
}
}

menu_destroy(menu);
return PLUGIN_HANDLED;
}

stock bool:is_user_steam(id)
{
static dp_pointer
if(dp_pointer || (dp_pointer = get_cvar_pointer("dp_r_id_provider")))
{
server_cmd("dp_clientinfo %d", id)
server_exec()
return (get_pcvar_num(dp_pointer) == 2) ? true : false
}
return false
}



Salut
Exista posibilitatea ca la pluginul asta sa fie in loc de AWP , FAMAS la CT si GALIL la T ?


01 Feb 2019 19:03
Profile multumesc
Fost moderator
Fost moderator
User avatar

Joined: 25 Aug 2014 20:31
Posts: 6165
Location: Ploiesti
Detinator Steam: Da
CS Status: All i ever wanted was a Roley Roley
SteamID: Jandarmeria
Reputatie: Fost Membru Club eXtreamCS ( o luna )
Fost eXtream Mod
Fost Intermediar
Nume anterior: Christmas, A k c 3 n 7
Fond eXtream: 0
| Afiseaza codul
#include amxmodx
#include amxmisc
#include cstrike
#include fun
#include hamsandwich
#include ColorChat

#pragma tabsize 0

public plugin_init() {

RegisterHam(Ham_Spawn, "player", "PlayerPostSpawn", 1);
}

public PlayerPostSpawn(id)
{
if (!is_user_connected(id) || !is_user_steam(id))
return HAM_HANDLED;

new MENU = menu_create ( "\ySTEAM BONUS \wMENU", "BONUS" );

menu_additem ( MENU, "ARME", "1", 0 );

menu_setprop ( MENU, MPROP_EXIT, MEXIT_ALL );

menu_display ( id, MENU, 0 );
return HAM_IGNORED;
}

public BONUS(id,MENU,item)
{
if (!is_user_alive(id) || !is_user_steam(id))
return PLUGIN_HANDLED;

if (item == MENU_EXIT)
return PLUGIN_HANDLED;

new data [6], iName [64];
new access, callback;

menu_item_getinfo ( MENU, item, access, data,5, iName, 63, callback);

new key = str_to_num(data);

switch(key)
{
case 1:
{
ARME(id);
ColorChat (id, GREEN, "^1[^4Steam Bonus^1] Ai ales ^4ARME^1!");
}
}
menu_destroy ( MENU );
return PLUGIN_HANDLED;
}

public ARME(id)
{

new menu = menu_create ("\rMENIU ARME", "ALEGE");
menu_additem(menu, "\yM4A1", "1");
menu_additem(menu, "\yAK-47", "2");
menu_additem(menu, "\wAWP", "3");

menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0 );

return 1;
}

public ALEGE(id, menu, item)
{
if(item == MENU_EXIT)
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}

new data [6], szName [64];
new access, callback;
menu_item_getinfo (menu, item, access, data,charsmax (data), szName,charsmax (szName), callback);
new key = str_to_num (data);

new name[32]
get_user_name(id, name, 31);

switch (key)
{
case 1:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
give_item(id, "weapon_m4a1");
cs_set_user_bpammo(id, CSW_M4A1, 90);
cs_set_user_bpammo(id, CSW_DEAGLE, 70);

ColorChat(id, GREEN, "^x03 Ai ales ^x04 M4A1 + DEAGLE")
}
}

case 2:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
give_item(id, "weapon_knife");
give_item(id, "weapon_deagle");
give_item(id, "weapon_ak47");
cs_set_user_bpammo(id, CSW_AK47, 90);
cs_set_user_bpammo(id, CSW_DEAGLE, 70);

ColorChat(id, GREEN, "^x03 Ai ales ^x04 AK47 + DEAGLE")
}
}
case 3:
{
if( is_user_alive( id ) )
{
strip_user_weapons(id);
// give_item(id, "weapon_knife");
// give_item(id, "weapon_deagle");
// give_item(id, "weapon_awp");
// cs_set_user_bpammo(id, CSW_AWP, 90);
// cs_set_user_bpammo(id, CSW_DEAGLE, 70);

if(!(cs_get_user_team(id) == CS_TEAM_T))
return PLUGIN_HANDLED

give_item(id, "weapon_galil")
cs_set_user_bpammo(id, CSW_GALIL, 30)
ColorChat(id, GREEN, "^x03 Ai ales ^x04 GALIL !")
return PLUGIN_CONTINUE

if(!(cs_get_user_team(id) == CS_TEAM_CT))
return PLUGIN_HANDLED

give_item(id, "weapon_galil")
cs_set_user_bpammo(id, CSW_FAMAS, 30)
ColorChat(id, GREEN, "^x03 Ai ales ^x04 FAMAS ! !")
return PLUGIN_CONTINUE
}
}
}

menu_destroy(menu);
return PLUGIN_HANDLED;
}

stock bool:is_user_steam(id)
{
static dp_pointer
if(dp_pointer || (dp_pointer = get_cvar_pointer("dp_r_id_provider")))
{
server_cmd("dp_clientinfo %d", id)
server_exec()
return (get_pcvar_num(dp_pointer) == 2) ? true : false
}
return false
}

_________________
ImageImage

Lista intermediari
Nu ezita sa ma contactezi la 112 pentru interventii speciale: S.I.A.S
REGULI GENERALE
REGULILE SECTIUNII ANUNTURI



01 Feb 2019 19:12
Profile multumesc
Membru, skill 0
Membru, skill 0

Joined: 16 Aug 2009 20:28
Posts: 79
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com!
Fond eXtream: 0
WoW cat de repede ai raspuns , felicitari Man
Man iti multumesc din suflet !

Man mai am o mare rugaminte , plzzz poti adauga si 2. Echipament , adica :
1.Arme sa contina

1.m4A1
2. AK-47
3. Famas / Galil



2. Echipament sa contina

1. Grenade
2. Armura



Ma poti ajuta plzzzz ?


Last edited by R0tty on 01 Feb 2019 20:28, edited 4 times in total.



01 Feb 2019 19:45
Profile multumesc
Membru, skill 0
Membru, skill 0

Joined: 16 Aug 2009 20:28
Posts: 79
Detinator Steam: Da
CS Status: Citesc forumul eXtreamCS.com!
Fond eXtream: 0
Man la tero ia galil si la CT nu se mai vede nici o arma


01 Feb 2019 20:16
Profile multumesc
Membru, skill +4
Membru, skill +4
User avatar

Joined: 24 Aug 2011 11:24
Posts: 1894
Location: |<()|)
Detinator Steam: Da
CS Status: HLDS Builder
Detinator server CS: liber de contract
SteamID: riseofevo
Reputatie: Fost Scripter eXtreamCS
Nume anterior: Adryyy
Fond eXtream: 0
omule,ai făcut cerere,ți s-a răspuns acolo,nu mai spama


01 Feb 2019 20:35
Profile multumesc ICQ YIM
Display posts from previous:  Sort by  
Reply to topic   [ 15 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: aEEk.#, Duracell2k19, Jucks, Lux0R^ and 108 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  

În cazul în care aveți probleme cu contul trimiteți un email sau mesaj la servicii_extream[arond]yahoo[punct]com

Powered by phpBB® Forum Software © phpBB Group