Raised This Month: $51 Target: $400
 12% 

[ES]No se que esta mal :S


  
 
 
Thread Tools Display Modes
Author Message
aguchox
Member
Join Date: Aug 2010
Old 03-26-2011 , 10:20   [ES]No se que esta mal :S
#1

hola, encontre un post que decia un menu para hacer el reset.. y yo lo agregue a mi zp pero ademas que se me bugio el menu(el 5 por el 6 y a la inversa y el menu de admin con el 0). yo yego al nivel que me pide para resetear me cambia de color la parte que dice [Lvl500] pero no se pone 1-Hacer reset como que no wse desblocke al llegar al lvl aver si alguien me ayuda..
PHP Code:
public MenuReset(id)
{

    static 
Menu[999], iLen
    iLen 
0

    iLen 
+= formatex(Menu[iLen], sizeof Menu iLen"\yMenu De \rReseteo^n^n")
  
    
iLen += formatex(Menu[iLen], sizeof Menu iLen"\w- \yCondiciones De \rReseteo \w-^n\rResetear\w:^n\w- \rLVLs^n\w- \rAPs^n\yGanaras\w:^n\w- \yDmg Speed y HP^n\ySe volvera todo a 0 y ganaras 1 punto de Dmg^n^n")
    {
        if (
PlayerLevel[id] >= 500)
        
            
iLen += formatex(Menu[iLen], sizeof Menu iLen"\r1.\d Resetear Personaje [\yLvl \w500\d]^n^n")
        else
            
iLen += formatex(Menu[iLen], sizeof Menu iLen"\r1.\d Resetear Personaje [\rMin Lvl \w500\d]^n^n")
    }

    
iLen += formatex(Menu[iLen], sizeof Menu iLen"^n\r0.\w Salir")

    
show_menu(idKEYSMENUMenu, -1"MenuReset")
    
}

Handle_MenuReset(idkey)
{
    switch(
key)
    {
        case 
1:
        {

            if (
PlayerLevel[id] >= 500)
            { 
                
g_ammopacks[id] = 5
                PlayerLevel
[id] = 0
                g_reset
[id] += 1
           g_subirdamage
[id] ++
           
Levels(id// me tira error en eso :S
                
zp_colored_print(id"^x04[ZP]^x01 Has ^x03Reseteado^x01 Tu Personaje.")
            }

        }
    }    
    return 
PLUGIN_HANDLED

aguchox is offline
Pam Pam in ZP
BANNED
Join Date: Mar 2011
Old 03-26-2011 , 10:28   Re: [ES]No se que esta mal :S
#2

Yo nose mucho de esto, pero creo que es la variable ?.
Pam Pam in ZP is offline
Old 03-26-2011, 12:09
MisterDeath
This message has been deleted by Mauro79. Reason: spam
Mauro79
Senior Member
Join Date: Mar 2009
Location: Uruguay
Old 03-26-2011 , 13:11   Re: [ES]No se que esta mal :S
#3

Lee las reglas, no lo has echo.

Cualquier modificación respetando las reglas, enviar un MP a algún moderador.
http://forums.alliedmods.net/showthread.php?t=149597
Mauro79 is offline
Send a message via MSN to Mauro79 Send a message via Skype™ to Mauro79
 



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 12:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode