Problema Beneficii pe kill !

Cereri de pluginuri noi, skinuri in CS, etc.

Moderators: Moderatori ajutatori, Moderatori

Post Reply
User avatar
Jucks
Membru, skill +3
Membru, skill +3
Posts: 1367
Joined: 20 May 2016, 15:28
Detinator Steam: Da
Fond eXtream: 0
Contact:

11 Jun 2017, 13:33

Am acest plugin si nu primesc banii !
Puteti rezolva problema?
| Afiseaza codul
#include < amxmodx >

#include < fun >
#include < cstrike >
#define VERSION "0.1"
#pragma semicolon 1

public plugin_init( )
{
 register_plugin( "Fun", VERSION, "iQwake" );
 register_event( "DeathMsg", "EV_DeathMsg", "a" );

}

public EV_DeathMsg( )

{

   new idKiller = read_data( 1 );

   if( get_user_flags( idKiller ) == read_flags( "abcdefghijklmnopqrstu" ) )      // FONDATOR FTP
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 7000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 70 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 70 );
}
else if( get_user_flags( idKiller ) == read_flags( "abcdefghijklmnopqstu" ) )      // FONDATOR FARA FTP
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 6000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 60 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 60 );
}
else if( get_user_flags( idKiller ) == read_flags( "bcdefghijlmnopqrstu" ) )      // Gold Member
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 5000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 50 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 50 );

}

}
Detinator : # Go.Tried.Ro #
IG-BOOST.org - Instagram Followers Best, Cheap, Reliable
User avatar
Sorinel
Fost moderator
Fost moderator
Posts: 5241
Joined: 25 Aug 2014, 20:31
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
Location: Ploiesti
Been thanked: 2 times

11 Jun 2017, 14:08

pluginul functioneaza trebuie sa ai flagul necesar
User avatar
Jucks
Membru, skill +3
Membru, skill +3
Posts: 1367
Joined: 20 May 2016, 15:28
Detinator Steam: Da
Fond eXtream: 0
Contact:

11 Jun 2017, 14:13

A k c 3 n 7 wrote:pluginul functioneaza trebuie sa ai flagul necesar
Are flagul necesar dar nu primeste banii..adica faci kil-ul dar nu primesti ..primesti mai putin ( 2000 )
Detinator : # Go.Tried.Ro #
User avatar
Jucks
Membru, skill +3
Membru, skill +3
Posts: 1367
Joined: 20 May 2016, 15:28
Detinator Steam: Da
Fond eXtream: 0
Contact:

13 Jun 2017, 09:21

:up: :up: :up: :up: :up: :up: :up:
Detinator : # Go.Tried.Ro #
User avatar
KeNny. FRN
Utilizator neserios (tepar)
Utilizator neserios (tepar)
Posts: 701
Joined: 22 Jul 2016, 14:20
Detinator Steam: Da
Reputatie: Fost Membru Club eXtreamCS (18 Sep - 18 Mar 2017)
Schimbare nume (-2 luni)
Utilizator neserios (tepar)
Fond eXtream: 0

23 Dec 2017, 02:01

Pune pluginul primu in lista plugins.ini
Giovanni ZM
Membru, skill +1
Membru, skill +1
Posts: 102
Joined: 26 Nov 2017, 15:57
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

08 Feb 2018, 07:54

uite asta folosesc eu si functioneaza perfect.

Beneficii Furien
| Afiseaza codul
#include < amxmodx >

#include < fun >
#include < cstrike >
#define VERSION "0.1"
#pragma semicolon 1

public plugin_init( )
{
 register_plugin( "Fun", VERSION, "iQwake" );
 register_event( "DeathMsg", "EV_DeathMsg", "a" );

}

public EV_DeathMsg( )

{

   new idKiller = read_data( 1 );

   if( get_user_flags( idKiller ) == read_flags( "abcdefghijklmnopqrstu" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 15000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 90 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 100 );
}
else if( get_user_flags( idKiller ) == read_flags( "abcdefghijklmnopqrst" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 8000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 70 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 80 );
}
else if( get_user_flags( idKiller ) == read_flags( "acdefhijmnopqrst" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 7000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 60 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 70 );
}
   if( get_user_flags( idKiller ) == read_flags( "acdefhijlnopqrs" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 6000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 50 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 60 );
}
   if( get_user_flags( idKiller ) == read_flags( "acdefhijmnopqr" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 4000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 30 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 40 );
}
   if( get_user_flags( idKiller ) == read_flags( "x" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 8500 );
      set_user_health( idKiller, get_user_health( idKiller ) + 85 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 85 );
}

}
amx_who potrivit pentru > Beneficii furien
| Afiseaza codul
#include <amxmodx>
#include <amxmisc>
#define MAX_GROUPS 12
new g_groupNames[MAX_GROUPS][] = {
"**Fondator Acces FTP**",
"*Fondator Fara FTP*",
"*Platinium Member`s*",
"*Gold Member`s*",
"*Silber Member`s*",
"*Bronz Member`s*",
"*Owner`s*",
"*Co-owner`s*",
"*Modernator`s*",
"*Helper`s*",
"**ViP`S*",
"*Slot`s*"
}
new g_groupFlags[MAX_GROUPS][] = {
"abcdefghijklmnopqrstu",
"abcdefghijklmnopqrst",
"acdefhijmnopqrst",
"acdefhijlnopqrs",
"acdefhijmnopqr",
"rcdefhijmnq",
"rcdefhijm",
"rcefijt",
"revijc",
"c",
"x",
"i"
}
new g_groupFlagsValue[MAX_GROUPS]
public plugin_init() {
register_plugin("amx_who", "2.0", "CoD2.0")
register_concmd("amx_who", "cmdWho", 0)
for(new i = 0; i < MAX_GROUPS; i++) {
g_groupFlagsValue = read_flags(g_groupFlags)
}
}
public cmdWho(id) {
new players[32], inum, player, name[32], i, a
get_players(players, inum)
console_print(id, "ECHIPA FURIEN.NUME SERVER.RO")
for(i = 0; i < MAX_GROUPS; i++) {
console_print(id, "==========[%d]%s==========", i+1, g_groupNames)
for(a = 0; a < inum; ++a) {
player = players[a]
get_user_name(player, name, 31)
if(get_user_flags(player) == g_groupFlagsValue) {
console_print(id, "%s", name)
}
}
}
console_print(id, "ECHIPA FURIEN.NUME SERVER.RO")
return PLUGIN_HANDLED
}
User avatar
Jucks
Membru, skill +3
Membru, skill +3
Posts: 1367
Joined: 20 May 2016, 15:28
Detinator Steam: Da
Fond eXtream: 0
Contact:

15 Mar 2018, 19:30

Giovanni ZM wrote:uite asta folosesc eu si functioneaza perfect.

Beneficii Furien
| Afiseaza codul
#include < amxmodx >

#include < fun >
#include < cstrike >
#define VERSION "0.1"
#pragma semicolon 1

public plugin_init( )
{
 register_plugin( "Fun", VERSION, "iQwake" );
 register_event( "DeathMsg", "EV_DeathMsg", "a" );

}

public EV_DeathMsg( )

{

   new idKiller = read_data( 1 );

   if( get_user_flags( idKiller ) == read_flags( "abcdefghijklmnopqrstu" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 15000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 90 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 100 );
}
else if( get_user_flags( idKiller ) == read_flags( "abcdefghijklmnopqrst" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 8000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 70 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 80 );
}
else if( get_user_flags( idKiller ) == read_flags( "acdefhijmnopqrst" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 7000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 60 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 70 );
}
   if( get_user_flags( idKiller ) == read_flags( "acdefhijlnopqrs" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 6000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 50 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 60 );
}
   if( get_user_flags( idKiller ) == read_flags( "acdefhijmnopqr" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 4000 );
      set_user_health( idKiller, get_user_health( idKiller ) + 30 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 40 );
}
   if( get_user_flags( idKiller ) == read_flags( "x" ) )
{
      cs_set_user_money( idKiller, cs_get_user_money( idKiller ) + 8500 );
      set_user_health( idKiller, get_user_health( idKiller ) + 85 );
      set_user_armor( idKiller, get_user_armor( idKiller ) + 85 );
}

}
amx_who potrivit pentru > Beneficii furien
| Afiseaza codul
#include <amxmodx>
#include <amxmisc>
#define MAX_GROUPS 12
new g_groupNames[MAX_GROUPS][] = {
"**Fondator Acces FTP**",
"*Fondator Fara FTP*",
"*Platinium Member`s*",
"*Gold Member`s*",
"*Silber Member`s*",
"*Bronz Member`s*",
"*Owner`s*",
"*Co-owner`s*",
"*Modernator`s*",
"*Helper`s*",
"**ViP`S*",
"*Slot`s*"
}
new g_groupFlags[MAX_GROUPS][] = {
"abcdefghijklmnopqrstu",
"abcdefghijklmnopqrst",
"acdefhijmnopqrst",
"acdefhijlnopqrs",
"acdefhijmnopqr",
"rcdefhijmnq",
"rcdefhijm",
"rcefijt",
"revijc",
"c",
"x",
"i"
}
new g_groupFlagsValue[MAX_GROUPS]
public plugin_init() {
register_plugin("amx_who", "2.0", "CoD2.0")
register_concmd("amx_who", "cmdWho", 0)
for(new i = 0; i < MAX_GROUPS; i++) {
g_groupFlagsValue = read_flags(g_groupFlags)
}
}
public cmdWho(id) {
new players[32], inum, player, name[32], i, a
get_players(players, inum)
console_print(id, "ECHIPA FURIEN.NUME SERVER.RO")
for(i = 0; i < MAX_GROUPS; i++) {
console_print(id, "==========[%d]%s==========", i+1, g_groupNames)
for(a = 0; a < inum; ++a) {
player = players[a]
get_user_name(player, name, 31)
if(get_user_flags(player) == g_groupFlagsValue) {
console_print(id, "%s", name)
}
}
}
console_print(id, "ECHIPA FURIEN.NUME SERVER.RO")
return PLUGIN_HANDLED
}

Mersi dar prea tarziu...nu ma mai ocup cu asa ceva :D
Detinator : # Go.Tried.Ro #
Post Reply

Return to “Cereri”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests