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

[ZP] Campo de fuerza


  
 
 
Thread Tools Display Modes
Author Message
Andreita
BANNED
Join Date: Apr 2012
Old 05-13-2012 , 02:49   [ZP] Campo de fuerza
#1

me guie con este tuto para crear la bomba campo de fuerza.

https://forums.alliedmods.net/showthread.php?t=126352.

El tema que al poner cada cosa en su lugar me salieron 7 errores.
Conte todas las llaves que abren y cierran y todas son el mismo numero, estube como
20 minutos contandola.


Los errores que me salen son estos.

HTML Code:
HTML Code:
Error: Undefined symbol "register_touch" on line 990
Error: Undefined symbol "cvar_bubblepush" on line 1201
Error: Undefined symbol "entity_set_model" on line 2755
Error: Undefined symbol "rgb" on line 2844
Warning: Expression has no effect on line 2844
Error: Expected token: ";", but found "]" on line 2844
Error: Invalid expression, assumed zero on line 2844
Error: Too many error messages on one line on line 2844
Les dejo las lineas de los errores.

Esta es la linea 990.
PHP Code:
PHP Code:
register_touch(entclas"player""entity_touch"
Esta es la linea 1201.
PHP Code:
PHP Code:
register_clcmd("BUBBLEBOMB""give_item_bubble"
Esta es la linea 2755
PHP Code:
PHP Code:
entity_set_model(entityw_model
Esta es Toda la linea 2844
PHP Code:
PHP Code:
// Give it a glow
fm_set_rendering(entitykRenderFxGlowShellrgb[0], rgb[1], rgb[2], kRenderNormal16)

// And a colored trail
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
write_byte(TE_BEAMFOLLOW// TE id
write_short(entity// entity
write_short(g_trailSpr// sprite
write_byte(10// life
write_byte(10// width
write_byte(rgb[0]) // r
write_byte(rgb[1]) // g
write_byte(rgb[2]) // b
write_byte(200// brightness
message_end()

// Set grenade type on the thrown grenade entity
set_pev(entityPEV_NADE_TYPENADE_TYPE_FLARE)

// Set flare color on the thrown grenade entity
set_pev(entityPEV_FLARE_COLORrgb
Si me podrian dar una mano se los agradeceria mucho.

Saludos.
Andreita is offline
Jo4akiiTox
Member
Join Date: Dec 2011
Old 05-13-2012 , 03:35   Re: [ZP] Campo de fuerza
#2

Una Pregunta fuera del tema qe zp usas?
Jo4akiiTox is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 05-13-2012 , 04:29   Re: [ZP] Campo de fuerza
#3

haciendo copy&paste no aprendes nada; #include <engine> ( asco de idea de usar eso en el zp )
__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
StickP0le
Senior Member
Join Date: Jan 2010
Location: cuantocabron.com
Old 05-13-2012 , 12:00   Re: [ZP] Campo de fuerza
#4

y con que modulo para vos es mejor hacer le campo?
__________________
Steam: stickp0le
StickP0le is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 05-13-2012 , 14:47   Re: [ZP] Campo de fuerza
#5

esta queriando hacerlo adentro del zp... con que nececidad de usar engine si tenes fakemeta =/
__________________

www.amxmodx-es.com

Steam: Luchokoldo
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
xLeoNNN
Veteran Member
Join Date: Sep 2010
Location: de_dust2
Old 05-13-2012 , 15:02   Re: [ZP] Campo de fuerza
#6

Quote:
Originally Posted by rak View Post
esta queriando hacerlo adentro del zp... con que nececidad de usar engine si tenes fakemeta =/
como que funciones se pueden reemplazar del campo de fuerza, de engine a fakemeta, por ejemplo ?
__________________
xLeoNNN is offline
Send a message via MSN to xLeoNNN
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 05-13-2012 , 15:08   Re: [ZP] Campo de fuerza
#7

Quote:
Originally Posted by rak View Post
esta queriando hacerlo adentro del zp... con que nececidad de usar engine si tenes fakemeta =/
register_touch


Quote:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <engine>
#include <fakemeta>
#include <hamsandwich>
#include <fun>
#include <xs>
#include <sqlx>
Mi zp es una mierda ? -.-.
__________________

Last edited by Destro-; 05-13-2012 at 15:13.
Destro- is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 05-13-2012 , 15:23   Re: [ZP] Campo de fuerza
#8

RegisterHam(Ham_Think, "grenade", "fw_ThinkGrenade"),

y despues uso otro touch o think

sigan usando engine en el zp q me da gracia
__________________

www.amxmodx-es.com

Steam: Luchokoldo

Last edited by rak; 05-13-2012 at 15:25.
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
Andreita
BANNED
Join Date: Apr 2012
Old 05-13-2012 , 15:32   Re: [ZP] Campo de fuerza
#9

Pueden ayudaarme? D:
Andreita is offline
StickP0le
Senior Member
Join Date: Jan 2010
Location: cuantocabron.com
Old 05-13-2012 , 15:52   Re: [ZP] Campo de fuerza
#10

agrega el include engine al comienzo, o si queres usar fakemetea reemplaza todas las funciones que te tiran undefined symbol por las de fakemeta
__________________
Steam: stickp0le
StickP0le 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 12:42.


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