22 errores xd
#1
Hola no entiendo bien esto, solucione 4 errores que tenia y sigo sin entender por que me da estos errores.
Creo que no precache el model del knife de jason XD


Código:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

Error: Argument type mismatch (argument 2) on line 3120
Error: Argument type mismatch (argument 2) on line 3127
Error: Argument type mismatch (argument 2) on line 3136
Error: Argument type mismatch (argument 2) on line 3171
Error: Argument type mismatch (argument 2) on line 3315
Error: Argument type mismatch (argument 2) on line 3354
Error: Argument type mismatch (argument 2) on line 4353
Warning: Loose indentation on line 4575
Warning: Loose indentation on line 4578
Error: Argument type mismatch (argument 2) on line 4880
Error: Argument type mismatch (argument 2) on line 5015
Error: Argument type mismatch (argument 2) on line 5016
Error: Argument type mismatch (argument 2) on line 5039
Error: Invalid function or declaration on line 5190
Error: Invalid function or declaration on line 5194
Error: Invalid function or declaration on line 5197
Warning: Symbol is never used: "jasonhealth" on line 5204
Error: Symbol already defined: "get_pcvar_string" on line 5205
Error: Argument type mismatch (argument 2) on line 5209
Warning: Symbol is never used: "jasonweapon" on line 5216
Error: Invalid function or declaration on line 5216
Error: Invalid function or declaration on line 5219
Error: Invalid subscript (not an array or too many subscripts): "g_jasonround" on line 6064
Warning: Expression has no effect on line 6064
Error: Expected token: ";", but found "]" on line 6064
Error: Invalid expression, assumed zero on line 6064
Error: Too many error messages on one line on line 6064

Compilation aborted.
22 Errors.
Could not locate output file C:\Users\gg\Desktop\zombie_plague40.amx (compile failed).

eso creo que es pero lo veré xd

Insecure pacman pacman pacman pacman


Archivos adjuntos
.sma   Descargar AMXX / zombie_plague40.sma (Tamaño: 256.39 KB / Descargas: 7)
Zombie Plague Demolition 1.2.9
fix del sma 10%
Zombie Escape Niveles 1.0
en desarrollo
Responder
#2
(27/07/2018, 12:42 AM)RiSpEK-.S escribió: Hola no entiendo bien esto, solucione 4 errores que tenia y sigo sin entender por que me da estos errores.
Creo que no precache el model del knife de jason XD


Código:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

Error: Argument type mismatch (argument 2) on line 3120
Error: Argument type mismatch (argument 2) on line 3127
Error: Argument type mismatch (argument 2) on line 3136
Error: Argument type mismatch (argument 2) on line 3171
Error: Argument type mismatch (argument 2) on line 3315
Error: Argument type mismatch (argument 2) on line 3354
Error: Argument type mismatch (argument 2) on line 4353
Warning: Loose indentation on line 4575
Warning: Loose indentation on line 4578
Error: Argument type mismatch (argument 2) on line 4880
Error: Argument type mismatch (argument 2) on line 5015
Error: Argument type mismatch (argument 2) on line 5016
Error: Argument type mismatch (argument 2) on line 5039
Error: Invalid function or declaration on line 5190
Error: Invalid function or declaration on line 5194
Error: Invalid function or declaration on line 5197
Warning: Symbol is never used: "jasonhealth" on line 5204
Error: Symbol already defined: "get_pcvar_string" on line 5205
Error: Argument type mismatch (argument 2) on line 5209
Warning: Symbol is never used: "jasonweapon" on line 5216
Error: Invalid function or declaration on line 5216
Error: Invalid function or declaration on line 5219
Error: Invalid subscript (not an array or too many subscripts): "g_jasonround" on line 6064
Warning: Expression has no effect on line 6064
Error: Expected token: ";", but found "]" on line 6064
Error: Invalid expression, assumed zero on line 6064
Error: Too many error messages on one line on line 6064

Compilation aborted.
22 Errors.
Could not locate output file C:\Users\gg\Desktop\zombie_plague40.amx (compile failed).

eso creo que es pero lo veré xd

Insecure pacman pacman pacman pacman

xdjh
Zombie Plague Demolition 1.2.9
fix del sma 10%
Zombie Escape Niveles 1.0
en desarrollo
Responder
#3
Hola, tenés varias cosas mal ordenadas.. te falta tabulacion en algunos warning, un pedaso de código afuera de una funcion, registras una variable de un modo a un usuario?

Código PHP:
g_jasonround[id] = false 
>>>>>>

Código PHP:
g_jasonround false 

Esto no se en que parte lo quieres poner...Sacando esto se saca muchos errores

Código PHP:
// jason
        
g_jason[id] = true
        
        
// Get jason health setting
        
static jasonhealth
        jasonhealth 
get_pcvar_num(cvar_jasonhp)
        
        
// Set Health [0 = auto]
        
if (jasonhealth == 3000)
            
fm_set_user_health(idjasonhealth)
        
        
// Set Gravity
        
set_pev(idpev_gravityget_pcvar_float(cvar_jasongravity))
        
        
// Get jason weapon setting
        
static jasonweapon[32]
        
get_pcvar_string(cvar_jasonweaponjasonweaponsizeof jasonweapon 1)
        
        
// Strip jason from weapons and give him his own
        
fm_strip_user_weapons(id)
        
fm_give_item(id"weapon_knife")
        
fm_give_item(idjasonweapon)
        
        
// Turn off his flashlight
        
turn_off_flashlight(id)
        
        
// Give the survivor a bright light
        
if (get_pcvar_num(cvar_survaura)) set_pev(idpev_effectspev(idpev_effects) | EF_BRIGHTLIGHT)
        
        
// Survivor bots will also need nightvision to see in the dark
        
if (is_user_bot(id)) fm_set_bot_nvg(id1);
    } 

Código PHP:
new const model_vknife_jason[] = { "models/zombie_plague/v_machetejason.mdl" }
new const 
model_pknife_jason[] = { "models/zombie_plague/p_machetejason.mdl" 

Te falta precachear y cuando aparecer esta skin..

Te diria que te fijes bien las cosas que le vas modificando jaja
Responder
#4
(27/07/2018, 12:42 AM)RiSpEK-.S escribió: Hola no entiendo bien esto, solucione 4 errores que tenia y sigo sin entender por que me da estos errores.
Creo que no precache el model del knife de jason XD


Código:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

Error: Argument type mismatch (argument 2) on line 3120
Error: Argument type mismatch (argument 2) on line 3127
Error: Argument type mismatch (argument 2) on line 3136
Error: Argument type mismatch (argument 2) on line 3171
Error: Argument type mismatch (argument 2) on line 3315
Error: Argument type mismatch (argument 2) on line 3354
Error: Argument type mismatch (argument 2) on line 4353
Warning: Loose indentation on line 4575
Warning: Loose indentation on line 4578
Error: Argument type mismatch (argument 2) on line 4880
Error: Argument type mismatch (argument 2) on line 5015
Error: Argument type mismatch (argument 2) on line 5016
Error: Argument type mismatch (argument 2) on line 5039
Error: Invalid function or declaration on line 5190
Error: Invalid function or declaration on line 5194
Error: Invalid function or declaration on line 5197
Warning: Symbol is never used: "jasonhealth" on line 5204
Error: Symbol already defined: "get_pcvar_string" on line 5205
Error: Argument type mismatch (argument 2) on line 5209
Warning: Symbol is never used: "jasonweapon" on line 5216
Error: Invalid function or declaration on line 5216
Error: Invalid function or declaration on line 5219
Error: Invalid subscript (not an array or too many subscripts): "g_jasonround" on line 6064
Warning: Expression has no effect on line 6064
Error: Expected token: ";", but found "]" on line 6064
Error: Invalid expression, assumed zero on line 6064
Error: Too many error messages on one line on line 6064

Compilation aborted.
22 Errors.
Could not locate output file C:\Users\gg\Desktop\zombie_plague40.amx (compile failed).

eso creo que es pero lo veré xd

Insecure pacman pacman pacman pacman

Cerealspit Cerealspit Dafuq Dafuq Sección equivocada Genius
[Imagen: jrXxqRT.png]
*Maper Del Cstrike* - *Estudiante De Sistema*
(03/09/2018, 08:32 PM)Skylar escribió: Obviamente, no va a hablar con super pro para que le mueva el thread
(04/01/2019, 05:12 PM)Pan Bimbo (? escribió: QUE HICISTE QUE??????? YO QUERIA LA PLACA DE VIDEO PORQUE LA TIRASTE CTM
(15/01/2019, 04:08 AM)FreDDy escribió:
(15/01/2019, 03:45 AM)Hernandez escribió: Qué más dan las palabras si a donde vayas están en tetas protestando sin sentido

No todas salen en tetas y no todas protestan sin sentido. Estás generalizando algo que sólo unas pocas lo hacen a diferencia de las muchas que realmente tienen un motivo para protestar.
(17/01/2019, 12:34 PM)totopizza escribió: el orden de los factores no altera el producto xD
(23/01/2019, 01:10 AM)GoldenCosta escribió:
Cita:E visto que este ZP , ESTA AQUI EN EL FORO PERO NO ES EL ORIGINAL POR QUE? , LE FALTAN MILES DE COSAS ESTA BUGEADO , LE FALTAN CÓDIGOS NI SE IMAGINAN , BUENO EL MOD ESTE SE VENDE POR 70 DOLARES , ACEPTO PAYPAL Y EN PESOS CHILENOS $42.584
ya esta publicado.... y 70 us en arg son 2625,35 pesos... estas loco con esa guita neel mantiene el foro por 2 años
(23/01/2019, 01:17 AM)Skylar escribió:
(22/01/2019, 10:30 PM)el_juan_fail escribió:
(22/01/2019, 10:03 AM)Neeeeeeeeeel.- escribió: Por favor subir las cosas al foro y no links a blogs externos. Solamente en caso de que haya recursos que no se pudiesen subir por un tema de tamaño, poenr un link de descarga directo (tipo mega) de los recursos y subir los plugins y demás archivos livianos al foro.

deberia ponerle en un link mediante el mediafire o mega o link externo lo que sea pero no es bueno dejar cosa agregada sin descargar solo por el blog no se puede se puede bajar el recurso o que haya sido creado disculpa neeeeel. estaba leyendose las reglas u.uMario

Dijiste lo mismo que dijo Neeel!
(27/02/2019, 08:00 PM)Sugisaki escribió:
(27/02/2019, 05:37 PM)Pan Bimbo (? escribió:
(27/02/2019, 12:06 AM)luxor xD escribió: Hola, si precacheo algo en un plugin, no es necesario precachearlo en otro plugin?

Si yo cargo una caja en un camion, mi amigo puede cargar la MISMA caja en el camion?, y no porque ya esta cargada.
[R]ak escribió: Mis conocimientos aumentaron un 500% con este post
(14/03/2019, 10:26 PM)KrR10VnZl escribió: en Venezuela aprendes a ser desde bombas molotov hasta velas, es algo así como supervivencia al desnudo jaja
(18/04/2019, 11:04 PM)Jose88 escribió:
(18/04/2019, 09:55 PM)Hypnotize escribió: arriba marica

papa me va perdonar pero aquí no sale ningún download. solo sale esto

Código PHP:
PDNiños Ratas eviten sacar el autor jaja.
REMOVIDO POR TUTOR Y SLOWHACK
(21/04/2019, 09:38 AM)SHENK! =D escribió: ASDASD

Si nos organizamos cojemos todos.
(11/08/2019, 05:11 PM)Cr3470r escribió: Todo Software es crackeable ... No importa cuantas validaciones hagan, la ventaja siempre la tenemos nosotros ...
(28/07/2015, 09:34 PM)Nazi.- escribió: :ohgodwhy buen aporte

PD: situación sentimental: Sin internetOh god why

Sigue así Proud

(28/02/2020, 12:23 AM)Skylar escribió:
(27/02/2020, 11:28 PM)4evergaming escribió: Ya me puse como autor y lo subi a mi empresa


Abrazos

FIX
Responder
#5
Si no vas a aportar nada, para que comentas xD, dejame te reviso el codigo para ver que { te falto. Newspaper
Si no te gusta algo, cámbialo. Si no lo puedes cambiar, cambia la forma en que piensas sobre ello <3
Responder


Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)