Raised This Month: $ Target: $400
 0% 

[AYU][ZP]Error con Reset


  
 
 
Thread Tools Display Modes
Author Message
MegaNecro
Junior Member
Join Date: Jul 2013
Old 08-26-2013 , 19:19   [AYU][ZP]Error con Reset
#1

Estos son los errores.

Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// zombie_plague40.sma
// C:\Program Files\Counter-Strike\cstrike\addons\amxmodx\scripting\include\mess
age_const.inc(91) : error 010: invalid function or declaration
// C:\Program Files\Counter-Strike\cstrike\addons\amxmodx\scripting\include\mess
age_const.inc(101) : error 010: invalid function or declaration
// C:\Program Files\Counter-Strike\cstrike\addons\amxmodx\scripting\zombie_plagu
e40.sma(8548) : warning 217: loose indentation
// C:\Program Files\Counter-Strike\cstrike\addons\amxmodx\scripting\zombie_plagu
e40.sma(8548) : error 029: invalid expression, assumed zero
// C:\Program Files\Counter-Strike\cstrike\addons\amxmodx\scripting\zombie_plagu
e40.sma(8548) : error 017: undefined symbol "menu_reset"
// C:\Program Files\Counter-Strike\cstrike\addons\amxmodx\scripting\zombie_plagu
e40.sma(8551) : error 017: undefined symbol "key"
// C:\Program Files\Counter-Strike\cstrike\addons\amxmodx\scripting\zombie_plagu
e40.sma(8553) : error 017: undefined symbol "key"
// C:\Program Files\Counter-Strike\cstrike\addons\amxmodx\scripting\zombie_plagu
e40.sma(8565) : error 017: undefined symbol "key"
// C:\Program Files\Counter-Strike\cstrike\addons\amxmodx\scripting\zombie_plagu
e40.sma(8584) : error 001: expected token: "}", but found "-end of file-"
//
// 8 Errors.
// Could not locate output file C:\Program Files\Counter-Strike\cstrike\addons\a
mxmodx\scripting\compiled\zombie_plague40.amx (compile failed).
//
// Compilation Time: 2.43 sec
// ----------------------------------------

Press enter to exit ...
PHP Code:
//Resets
public show_menu_reset(id

    static 
menu[800], lenlvl 
    lvl 
350 g_level[id
    
len 
     
    len 
+= formatex(menu[len], charsmax(menu) - len"\y%L^n^n\r- \wRequisitos^n\r- Nivel:\y350^n^n"id"MENU_RESET_TITLE"// otra vez lo del lang 
     
    
if (g_level[id] >= 350
        
len += formatex(menu[len], charsmax(menu) - len"\r1.\w Resetear Personaje^n^n^n^n"
         
    else 
        
len += formatex(menu[len], charsmax(menu) - len"\r1.\d Resetear Personaje - Te Faltan %d levels^n^n^n^n"lvl
         
     
    
len += formatex(menu[len], charsmax(menu) - len"\r0.\w %L"id"MENU_EXIT"
     
     
    
show_menu(idKEYSMENUmenu, -1"Menu Reset"
    
//Resets2
public menu_reset(idkey

     
    if (
key >= 1
    { 
        if (
key != MENU_KEY_EXIT
            
show_menu_reset(id
         
        return 
PLUGIN_HANDLED
    } 
     
    if (
g_reset[id] >= 10
    { 
        
zp_colored_print(id"^x03[^x04ZP^x03]^x01 Llegastes al level maximo de resets"
        return 
PLUGIN_HANDLED
    } 
     
    switch (
key
    { 
        case 
0
        { 
            if (
g_level[id] == 350
            { 
                
g_level[id] = 
                g_reset
[id]++ 
                
g_ammopacks[id] = 50 
                zp_colored_print
(id"^x03[^x04ZP^x03]^x01 Acabas de resetear, ahora tenes^x03 %d reset!"g_reset[id]) 
                
WPN_AUTO_ON 
                g_zombieclassnext
[id] = -
            

            else 
                
zp_colored_print(id"^x03[^x04ZP^x03]^x01 Para resetear necesitas ser level: 25"
        } 
    } 
    return 
PLUGIN_HANDLED 

Utilizo ZP 4.2.
__________________
MegaNecro is offline
Matians
Veteran Member
Join Date: Nov 2010
Location: ME QUIEREN ROBAR
Old 08-26-2013 , 19:20   Re: [AYU][ZP]Error con Reset
#2

Te diste cuenta que public show_menu_reset nunca cierra o copiaste mal?
__________________
Quote:
Originally Posted by YakumoHiratsuhi View Post
@DiegoCS
No sé talvez solo sea yo, pero tu me caes mal campeón.


JAJAJAJAJAJAJAJAJA

Quote:
Originally Posted by meTaLiCroSS View Post
Con 12 años quien no habla mierda detras de un PC, esperate a que te diga algo en persona jajajajaj VIVO DE AHI NO SALE JAJAJA
Matians is offline
MegaNecro
Junior Member
Join Date: Jul 2013
Old 08-26-2013 , 19:25   Re: [AYU][ZP]Error con Reset
#3

Quote:
Originally Posted by Matians View Post
Te diste cuenta que public show_menu_reset nunca cierra o copiaste mal?
No me habia dado cuenta,pero aun quedan estos errores.
Code:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team


//// zombie_plague40.sma
// C:\Program Files\Counter-Strike\cstrike\addons\amxmodx\scripting\include\mess
age_const.inc(91) : error 010: invalid function or declaration
// C:\Program Files\Counter-Strike\cstrike\addons\amxmodx\scripting\include\mess
age_const.inc(101) : error 010: invalid function or declaration
//
// 2 Errors.
// Could not locate output file C:\Program Files\Counter-Strike\cstrike\addons\a
mxmodx\scripting\compiled\zombie_plague40.amx (compile failed).
//
// Compilation Time: 2.31 sec
// ----------------------------------------

Press enter to exit ...
__________________
MegaNecro is offline
DiegoCS
Senior Member
Join Date: Mar 2013
Old 08-26-2013 , 19:27   Re: [AYU][ZP]Error con Reset
#4

líneas ?
DiegoCS is offline
MegaNecro
Junior Member
Join Date: Jul 2013
Old 08-26-2013 , 19:30   Re: [AYU][ZP]Error con Reset
#5

Quote:
Originally Posted by DiegoCS View Post
líneas ?
PHP Code:
/* Used with get_msg_argtype() and set_msg_arg_ */
enum
{
    
ARG_BYTE 1,       /* int */
    
ARG_CHAR,           /* int */
    
ARG_SHORT,          /* int */
    
ARG_LONG,           /* int */
    
ARG_ANGLE,          /* float */
    
ARG_COORD,          /* float */
    
ARG_STRING,         /* string */
    
ARG_ENTITY,         /* int */

Aqui me tira error en las Include message_const.inc
__________________

Last edited by MegaNecro; 08-26-2013 at 19:47.
MegaNecro is offline
DiegoCS
Senior Member
Join Date: Mar 2013
Old 08-26-2013 , 19:33   Re: [AYU][ZP]Error con Reset
#6

PHP Code:
/* Used with get_msg_argtype() and set_msg_arg_ */
enum
{
    
ARG_BYTE 1,       /* int */
    
ARG_CHAR,           /* int */
    
ARG_SHORT,          /* int */
    
ARG_LONG,           /* int */
    
ARG_ANGLE,          /* float */
    
ARG_COORD,          /* float */
    
ARG_STRING,         /* string */
    
ARG_ENTITY         /* int */


Last edited by DiegoCS; 08-26-2013 at 21:04.
DiegoCS is offline
Matians
Veteran Member
Join Date: Nov 2010
Location: ME QUIEREN ROBAR
Old 08-26-2013 , 19:36   Re: [AYU][ZP]Error con Reset
#7

Soy yo, o ademas de eso no ven que ARG_ENTITY es el ultimo y tiene "," una coma que no debería ir.
__________________
Quote:
Originally Posted by YakumoHiratsuhi View Post
@DiegoCS
No sé talvez solo sea yo, pero tu me caes mal campeón.


JAJAJAJAJAJAJAJAJA

Quote:
Originally Posted by meTaLiCroSS View Post
Con 12 años quien no habla mierda detras de un PC, esperate a que te diga algo en persona jajajajaj VIVO DE AHI NO SALE JAJAJA
Matians is offline
MegaNecro
Junior Member
Join Date: Jul 2013
Old 08-26-2013 , 19:47   Re: [AYU][ZP]Error con Reset
#8

Quote:
Originally Posted by Matians View Post
Soy yo, o ademas de eso no ven que ARG_ENTITY es el ultimo y tiene "," una coma que no debería ir.
Sigue igual.
PHP Code:
/* Used with get_msg_argtype() and set_msg_arg_ */
enum //Aqui me tira error
{
    
ARG_BYTE 1,       /* int */
    
ARG_CHAR,           /* int */
    
ARG_SHORT,          /* int */
    
ARG_LONG,           /* int */
    
ARG_ANGLE,          /* float */
    
ARG_COORD,          /* float */
    
ARG_STRING,         /* string */
    
ARG_ENTITY         /* int */

__________________

Last edited by MegaNecro; 08-26-2013 at 19:48.
MegaNecro is offline
DiegoCS
Senior Member
Join Date: Mar 2013
Old 08-26-2013 , 21:04   Re: [AYU][ZP]Error con Reset
#9

modificaste el .inc ?
DiegoCS is offline
MegaNecro
Junior Member
Join Date: Jul 2013
Old 08-26-2013 , 22:09   Re: [AYU][ZP]Error con Reset
#10

No lo modifique
__________________
MegaNecro is offline
 



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 11:53.


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