Raised This Month: $32 Target: $400
 8% 

[ZP] Tutorial para agregar un modo!


  
 
 
Thread Tools Display Modes
VenganZa
BANNED
Join Date: Aug 2009
Location: Forums.AlliedMods.Net!
Old 09-13-2009 , 14:45   Re: [ES][ZP] Tutorial para agregar un modo!
#11

jajajajaj si se me habia ido una llave despues de RETURN PLUGIN_HANDLED;

// zp_terminator [target]
public cmd_terminator(id, level, cid)
{
// Check for access flag
if (!cmd_access(id, level, cid, 2))
return PLUGIN_HANDLED;
}
// Retrieve arguments
static arg[32], player
read_argv(1, arg, sizeof arg - 1)
player = cmd_target(id, arg, CMDTARGET_ONLY_ALIVE | CMDTARGET_ALLOW_SELF)

// Invalid target
if (!player) return PLUGIN_HANDLED;

// Target not allowed to be survivor
if (!allowed_terminator(player))
{
client_print(id, print_console, "[ZP] %L", id, "CMD_NOT")
return PLUGIN_HANDLED;
} <-------- ESTA ME FALTABA JAJAJA
VenganZa is offline
Next
Senior Member
Join Date: Jul 2009
Location: Buenos Aires, Argentina
Old 09-13-2009 , 15:17   Re: [ES][ZP] Tutorial para agregar un modo!
#12

Error : 209 : invalid expression, assumed zero
y cuando lo quiero ver en amx mod studio me salta el error

An error occurre in the application.

saludos!
Next is offline
VenganZa
BANNED
Join Date: Aug 2009
Location: Forums.AlliedMods.Net!
Old 09-13-2009 , 15:19   Re: [ES][ZP] Tutorial para agregar un modo!
#13

PERO AHORA ME SALEN NUEVOS PROBLEMAS:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team

//// zombie_plague40.sma
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(2409) : error 029: invalid expression, assumed zero
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3857) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3857) : error 029: invalid expression, assumed zero
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3857) : error 017: undefined symbol "cmd_terminator"
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3865) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3865) : error 021: symbol already defined: "arg"
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3879) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3880) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(4435) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(6223) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(8414) : warning 204: symbol is assigned a value that is never used: "cvar_
terminatorchance"
//
// 4 Errors.
// Could not locate output file C:\Archivos de programa\valve\cstrike\addons\amx
modx\scripting\compiled\zombie_plague40.amx (compile failed).
//
// Compilation Time: 2,17 sec
// ----------------------------------------
Press enter to exit ...
VenganZa is offline
Troyano
Senior Member
Join Date: Aug 2009
Old 09-13-2009 , 15:21   Re: [ES][ZP] Tutorial para agregar un modo!
#14

Raddish muy bueno tu tuto +k
__________________
MSN:
[email protected]
[IMG]http://img27.**************/img27/9373/randomviolence.gif[/IMG]
Troyano is offline
Send a message via MSN to Troyano
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-13-2009 , 17:23   Re: [ES][ZP] Tutorial para agregar un modo!
#15

Quote:
Originally Posted by VenganZa View Post
PERO AHORA ME SALEN NUEVOS PROBLEMAS:
//AMXXPC compile.exe
// by the AMX Mod X Dev Team

//// zombie_plague40.sma
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(2409) : error 029: invalid expression, assumed zero
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3857) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3857) : error 029: invalid expression, assumed zero
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3857) : error 017: undefined symbol "cmd_terminator"
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3865) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3865) : error 021: symbol already defined: "arg"
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3879) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(3880) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(4435) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(6223) : warning 217: loose indentation
// C:\Archivos de programa\valve\cstrike\addons\amxmodx\scripti ng\zombie_plague4
0.sma(8414) : warning 204: symbol is assigned a value that is never used: "cvar_
terminatorchance"

//
// 4 Errors.
// Could not locate output file C:\Archivos de programa\valve\cstrike\addons\amx
modx\scripting\compiled\zombie_plague40.amx (compile failed).
//
// Compilation Time: 2,17 sec
// ----------------------------------------
Press enter to exit ...
Te olvidaste de cambiar un par de cosas, de wesker a terminator ;)
los loose identication es que ta mal el code, osea esta deforme Tiene que quedar en ilera algunas partes, deja la parte que te tira loose identication aca en php o sino, pone en un bloc denotas y acomodao ;)

Last edited by Raddish; 09-13-2009 at 17:25.
Raddish is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 09-13-2009 , 17:48   Re: [ES][ZP] Tutorial para agregar un modo!
#16

CTRL+I y listo, chau loose identation.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-13-2009 , 17:49   Re: [ES][ZP] Tutorial para agregar un modo!
#17

Wow, no sabia eso. Muchas gracias +K
Raddish is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 09-13-2009 , 17:50   Re: [ES][ZP] Tutorial para agregar un modo!
#18

Quote:
Originally Posted by Alucard^ View Post
CTRL+I y listo, chau loose identation.
Depende del editador.
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-13-2009 , 18:00   Re: [ES][ZP] Tutorial para agregar un modo!
#19

Me cago el code del zp eso lptm alucard xD, tengo q ir poniendo espacios ahora -.-

Quote:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Warning: Loose indentation on line 732BY ALUCARD
Warning: Loose indentation on line 2716BY ALUCARD
Warning: Loose indentation on line 2808BY ALUCARD
Warning: Loose indentation on line 2842BY ALUCARD
Warning: Loose indentation on line 2861BY ALUCARD
Warning: Loose indentation on line 2930BY ALUCARD
Warning: Loose indentation on line 2985BY ALUCARD
Warning: Loose indentation on line 3227BY ALUCARD
Warning: Loose indentation on line 3689BY ALUCARD
Warning: Loose indentation on line 3711BY ALUCARD
Warning: Loose indentation on line 4421BY ALUCARD
Warning: Loose indentation on line 4689BY ALUCARD
Warning: Loose indentation on line 4697BY ALUCARD
Warning: Loose indentation on line 4853BY ALUCARD
Warning: Loose indentation on line 4867BY ALUCARD
Warning: Loose indentation on line 5195BY ALUCARD
Warning: Loose indentation on line 5246BY ALUCARD
Warning: Loose indentation on line 5602BY ALUCARD
Warning: Loose indentation on line 5955BY ALUCARD
Warning: Loose indentation on line 6001BY ALUCARD
Warning: Loose indentation on line 6022BY ALUCARD
Warning: Loose indentation on line 6026BY ALUCARD
Warning: Loose indentation on line 6053BY ALUCARD
Warning: Loose indentation on line 6134BY ALUCARD
Warning: Loose indentation on line 6318BY ALUCARD
Warning: Loose indentation on line 6431BY ALUCARD
Warning: Loose indentation on line 6469BY ALUCARD
Warning: Loose indentation on line 6484BY ALUCARD
Warning: Loose indentation on line 6499BY ALUCARD
Warning: Loose indentation on line 6513BY ALUCARD
Warning: Loose indentation on line 6517BY ALUCARD
Warning: Loose indentation on line 6537BY ALUCARD
Warning: Loose indentation on line 6555BY ALUCARD
Warning: Loose indentation on line 6573BY ALUCARD
Warning: Loose indentation on line 6615BY ALUCARD
Warning: Loose indentation on line 6622BY ALUCARD
Warning: Loose indentation on line 6660BY ALUCARD
Warning: Loose indentation on line 6710BY ALUCARD
Warning: Loose indentation on line 6742BY ALUCARD
Warning: Loose indentation on line 6751BY ALUCARD
Warning: Loose indentation on line 6760BY ALUCARD
Warning: Loose indentation on line 6769BY ALUCARD
Warning: Loose indentation on line 6778BY ALUCARD
Warning: Loose indentation on line 6787BY ALUCARD
Warning: Loose indentation on line 6799BY ALUCARD
Warning: Loose indentation on line 6808BY ALUCARD
Warning: Loose indentation on line 6817BY ALUCARD
Warning: Loose indentation on line 6845BY ALUCARD
Warning: Loose indentation on line 6883BY ALUCARD
Warning: Loose indentation on line 6911BY ALUCARD
Warning: Loose indentation on line 6940BY ALUCARD
Warning: Loose indentation on line 6969BY ALUCARD
Warning: Loose indentation on line 6998BY ALUCARD
Warning: Loose indentation on line 7027BY ALUCARD
Warning: Loose indentation on line 7061BY ALUCARD
Warning: Loose indentation on line 7089 BY ALUCARD
Warning: Loose indentation on line 7117BY ALUCARD
Warning: Loose indentation on line 7342BY ALUCARD
Warning: Loose indentation on line 7489BY ALUCARD
Warning: Loose indentation on line 7606BY ALUCARD
Header size: 6412 bytes
Code size: 242016 bytes
Data size: 147300 bytes
Stack/heap size: 16384 bytes; max. usage is unknown, due to recursion
Total requirements: 412112 bytes

60 Warnings.
Done.
Raddish is offline
kenchi10
Senior Member
Join Date: Jul 2009
Location: Allied Modders
Old 09-13-2009 , 18:05   Re: [ES][ZP] Tutorial para agregar un modo!
#20

Ja, Bien Radish ja ta bueno el tuto
__________________
ASd
kenchi10 is offline
Send a message via MSN to kenchi10
 


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 07:16.


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