AlliedModders
XFactor Servers

[ES] El new rank style no me abre el motd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jeepers
BANNED
Karma: Neutral
Old 11-07-2009 , 08:08   [ES] El new rank style no me abre el motd
Reply With Quote #1

Porque un tarado pidio que borraran un post para que nadie lo tenga (Raddish) ahi tienen o sea no deberian permitir eso.

Me ayudan? No habre el MOTD!.

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <csstats>
#include <zombieplague>

#define PLUGIN "New style rank"
#define VERSION "1.0"
#define AUTHOR "Alka"

public plugin_init() {
    
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
register_clcmd("say /rank""cmdShowRank");
}

public 
cmdShowRank(id)
{    
    static 
stats[8], stats2[4], body[8]
    new 
rank_pos get_user_stats(idstatsbody);
    new 
max_rank get_statsnum();
    new 
name[33]
    
get_user_name(idname32)
    
    
get_user_stats2(idstats2);
    
    static 
host_name[32];
    
get_cvar_string("hostname"host_name31);
    
    static 
motd[1501], len;
    
    
len format(motd1500,"<body bgcolor=#000000><font color=#87cefa><pre>");
    
len += format(motd[len], 1500-len,"<center><img src=^"http://picturinga.com.ar/images/sinttulo1.png^"></center></img>");
    
len += format(motd[len], 1500-len,"<center><h4><font color=^"blue^"> %s </font></h4></center>"host_name);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Nombre :</B> <font color=^"white^">%s / %d</color></left>^n"name);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Ranking :</B> <font color=^"white^">%d / %d</color></left>^n"rank_posmax_rank);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Matados :</B> <font color=^"white^"> %d</color></left>^n"stats[0]);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Muertes :</B> <font color=^"white^"> %d</color></left>^n"stats[1]);
    
    
show_motd(idmotd"Rank!");
    
    return 
0;

Jeepers is offline
gladius
Veteran Member
Karma: Neutral
Location: Stgo, Chile
Old 11-07-2009 , 14:50   Re: [ES] El new rank style no me abre el motd
Reply With Quote #2

me doy cuenta que en el thread de raddish varios lo necesitaban, lo posteare

PHP Code:
#include <amxmodx>
#include <csstats>
#include <zombieplague>

#define PLUGIN "New style rank"
#define VERSION "1.0"
#define AUTHOR "Alka"

public plugin_init() {
    
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
register_clcmd("say /rank""cmdShowRank");
    
register_clcmd("viewrank""cmdShowRank");
}

public 
cmdShowRank(id)
{    
    static 
stats[8], body[8];
    new 
rank_pos get_user_stats(idstatsbody);
    new 
max_rank get_statsnum();
    new 
name[33];
    
get_user_name(idname32);
    
    static 
host_name[32];
    
get_cvar_string("hostname"host_name31);
    
    static 
motd[1501], len;
    
    
len format(motd1500,"<body bgcolor=#000000><font color=#87cefa><pre>");
    
len += format(motd[len], 1500-len,"<center><img src=^"http://picturinga.com.ar/images/sinttulo1.png^"></center></img>");
    
len += format(motd[len], 1500-len,"<center><h4><font color=^"blue^"> %s </font></h4></center>"host_name);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Nombre :</B> <font color=^"white^"> %s</color></left>^n"name);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Ranking :</B> <font color=^"white^">%d / %d</color></left>^n"rank_posmax_rank);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Zombies Matados :</B> <font color=^"white^"> %d</color></left>^n"stats[0]);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Muertes :</B> <font color=^"white^"> %d</color></left>^n"stats[1]);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Ammo Packs :</B> <font color=^"white^"> %d</color></left>^n"zp_get_user_ammo_packs(id));
    
    
show_motd(idmotd"Zombie Plague Niveles Rank!");
    
    return 
0;

es el mismo que le puse a raddish
__________________
Proyects
StarWars Battle [99.8%] (I
need to fix some bugs)
Assassination [6%]




gladius is online now
Raddish
Veteran Member
Karma: Neutral
Location: Argentina, Buenos Aires
Old 11-07-2009 , 16:32   Re: [ES] El new rank style no me abre el motd
Reply With Quote #3

Por copiar y pegar jeepers aparte lo hiciste apropoisto. se ve que sos muy envidioso que te cuesta modificar por tus propias razones tu propio "new rank style" no te vas a morir por modificarlo vos solo
__________________
Raddish is offline
Send a message via MSN to Raddish Send a message via Skype™ to Raddish
Alucard^
AMXX Moderator: Others
Karma: Neutral
Location: Argentina
Old 11-07-2009 , 18:32   Re: [ES] El new rank style no me abre el motd
Reply With Quote #4

Quote:
Originally Posted by Raddish View Post
Por copiar y pegar jeepers aparte lo hiciste apropoisto. se ve que sos muy envidioso que te cuesta modificar por tus propias razones tu propio "new rank style" no te vas a morir por modificarlo vos solo
Pero raddish entonces en ese caso por que vos pediste ayuda de la misma forma? al final lo termino modificando gladius :/
__________________
Alucard^ is offline
capostrike93
Veteran Member
Karma: Neutral
Location: adios
Old 11-07-2009 , 18:34   Re: [ES] El new rank style no me abre el motd
Reply With Quote #5

Quote:
Originally Posted by Raddish View Post
Por copiar y pegar jeepers aparte lo hiciste apropoisto. se ve que sos muy envidioso que te cuesta modificar por tus propias razones tu propio "new rank style" no te vas a morir por modificarlo vos solo

al que se le deveria cuestionar seria a ti, el envidioso fuiste tu si no te diste cuenta :/ y ni si quiera lo modificaste tu al final xDD
__________________
capostrike93 is offline
Jeepers
BANNED
Karma: Neutral
Old 11-07-2009 , 21:38   Re: [ES] El new rank style no me abre el motd
Reply With Quote #6

Gracias.

@Raddish. Envidioso? Jaja me das risa. Nadie te quiere robar nada tranquilo sweaty. Si el plugin no lo hiciste vos.
Jeepers is offline
Raddish
Veteran Member
Karma: Neutral
Location: Argentina, Buenos Aires
Old 11-07-2009 , 21:50   Re: [ES] El new rank style no me abre el motd
Reply With Quote #7

no lo hice yo lo modifique, pero posteaste hasta con la imagen que yo hice y las modificaciones que yo hice que te cuesta hacerlo por vos mismo

no esta editado eso no :S?

pd:gladius todabia no se que le modificaste yo modifique y agregue esto..

PHP Code:
len format(motd1500,"<body bgcolor=#000000><font color=#87cefa><pre>");
    
len += format(motd[len], 1500-len,"<center><img src=^"http://picturinga.com.ar/images/sinttulo1.png^"></center></img>");
    
len += format(motd[len], 1500-len,"<center><h4><font color=^"blue^"> %s </font></h4></center>"host_name);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Nombre :</B> <font color=^"white^"> %s</color></left>^n"name);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Ranking :</B> <font color=^"white^">%d / %d</color></left>^n"rank_posmax_rank);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Zombies Matados :</B> <font color=^"white^"> %d</color></left>^n"stats[0]);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Muertes :</B> <font color=^"white^"> %d</color></left>^n"stats[1]);
    
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Ammo Packs :</B> <font color=^"white^"> %d</color></left>^n"zp_get_user_ammo_packs(id));
    
    
show_motd(idmotd"Zombie Plague Niveles Rank!");
    
    return 
0;

we.. MyPlague no me pidas mas ayuda -.-
__________________
Raddish is offline
Send a message via MSN to Raddish Send a message via Skype™ to Raddish
Old 11-07-2009, 21:53
Jeepers
This message has been deleted by Alucard^. Reason: Posts innecesarios.
Old 11-07-2009, 21:57
Raddish
This message has been deleted by Alucard^. Reason: Posts innecesarios.
Old 11-07-2009, 22:52
axelgrox
This message has been deleted by Alucard^. Reason: Posts innecesarios.
fechu
Senior Member
Karma: Neutral
Location: aliedmod
Old 11-07-2009 , 22:59   Re: [ES] El new rank style no me abre el motd
Reply With Quote #8

jaja una pregunta para que es este rank?
__________________
100 % educado?
aprendiendo para hacer scrip
pronto mi primer plugin echo por mi :O


fechu is offline
Jeepers
BANNED
Karma: Neutral
Old 11-07-2009 , 23:09   Re: [ES] El new rank style no me abre el motd
Reply With Quote #9

Quote:
Originally Posted by fechu View Post
jaja una pregunta para que es este rank?
len = format(motd, 1500,"<body bgcolor=#000000><font color=#87cefa><pre>");
len += format(motd[len], 1500-len,"<center><img src=^"http://picturinga.com.ar/images/sinttulo1.png^"></center></img>");
len += format(motd[len], 1500-len,"<center><h4><font color=^"blue^"> %s </font></h4></center>", host_name);
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Nombre :</B> <font color=^"white^">%s / %d</color></left>^n", name);
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Ranking :</B> <font color=^"white^">%d / %d</color></left>^n", rank_pos, max_rank);
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Matados :</B> <font color=^"white^"> %d</color></left>^n", stats[0]);
len += format(motd[len], 1500-len,"<left><font color=^"red^"><B>Muertes :</B> <font color=^"white^"> %d</color></left>^n", stats[1]);
Jeepers is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:31.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Theme made by Freecode Sponsored by Layered Technologies