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

[ZP] Velocidad de zombies


  
 
 
Thread Tools Display Modes
Xen0n
BANNED
Join Date: Nov 2011
Old 01-31-2012 , 14:32   Re: [ZP] Velocidad de zombies
#11

El error

<262> : warning 209: function "fw_PlayerPreThink" should return a value

<272> : error 078: function uses both "return" and "return <value>"

<379> : warning 204: symbol is assigned a value that is never used: "BackSpeed1"

<379> : warning 204: symbol is assigned a value that is never used: "BackSpeed2"

PD: lo único que no puse es la ubicación de el archivo por que no lo vi necesario y no tener que copiar tanto
PD2: aun así me gustaría tambien que medijeran como poder copiar los errores cuando se compila algo por favor

Last edited by Xen0n; 01-31-2012 at 15:00.
Xen0n is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 01-31-2012 , 14:33   Re: [ZP] Velocidad de zombies
#12

Code:
public fw_PlayerPreThink(id) {     // Not alive     if (!is_user_alive(id))         return HAM_HANDLED;         // Set Player MaxSpeed     if (g_FrozeN[id])     {         set_pev(id, pev_velocity, Float:{0.0,0.0,0.0}) // stop motion         set_pev(id, pev_maxspeed, 1.0) // prevent from moving     }             return FMRES_OVERRIDE }
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Xen0n
BANNED
Join Date: Nov 2011
Old 01-31-2012 , 15:00   Re: [ZP] Velocidad de zombies
#13

usted soluciono las dos primeras paretes del error pero siguen los siguientes errores

<379> : warning 204: symbol is assigned a value that is never used: "BackSpeed1"

<379> : warning 204: symbol is assigned a value that is never used: "BackSpeed2"
Xen0n is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 01-31-2012 , 15:03   Re: [ZP] Velocidad de zombies
#14

no son errores , son warnings , proba primero el plugin si funciona , si funciona despues te saco los warnings.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Xen0n
BANNED
Join Date: Nov 2011
Old 01-31-2012 , 15:26   Re: [ZP] Velocidad de zombies
#15

vale funciona ahora perfecto muchas gracias ya si pudieras solucionar esos warnings perfecto

Last edited by Xen0n; 01-31-2012 at 15:26.
Xen0n is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 01-31-2012 , 15:42   Re: [ZP] Velocidad de zombies
#16

Quote:
Originally Posted by Xen0n View Post
vale funciona ahora perfecto muchas gracias ya si pudieras solucionar esos warnings perfecto
Borrá estas 4 lineas:
PHP Code:
new BackSpeed1
new BackSpeed2
BackSpeed1 
register_cvar("zp_ng_back_spd_h""240.0"// The Speed that Victim Recieve when is Human and g_FrozeN is false
BackSpeed2 register_cvar("zp_ng_back_spd_z""230.0"// The Speed that Victim Recieve when is Zombie and g_FrozeN is false 
__________________

Last edited by Neeeeeeeeeel.-; 01-31-2012 at 15:44.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Xen0n
BANNED
Join Date: Nov 2011
Old 01-31-2012 , 15:49   Re: [ZP] Velocidad de zombies
#17

pero si quita eso alamejor no funciona algo no?
Xen0n is offline
XINLEI
me too
Join Date: Jun 2011
Location: Colombian Coffee storage
Old 01-31-2012 , 15:56   Re: [ZP] Velocidad de zombies
#18

Quote:
Originally Posted by Xen0n View Post
pero si quita eso alamejor no funciona algo no?
¿Ha oido de palabras como Fe o confianza en su miserable vida?

Apliquelas.

Last edited by XINLEI; 01-31-2012 at 15:57.
XINLEI is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 01-31-2012 , 15:57   Re: [ZP] Velocidad de zombies
#19

No ya que antes lo estabas utilizando en el prethink, pero lucas lo cambió y no usó esas pcvars, lo que dicen los warnings es que le asignas un valor a las variables BackSpeed1 y BackSpeed2 que NUNCA usas en el plugin, en resumen están al pedo. Borralas.

Quote:
Originally Posted by XINLEI View Post
¿Ha oido de palabras como Fe o confianza en su miserable vida?

Apliquelas.
jajaja no seas malo pobre pibe :B
__________________

Last edited by Neeeeeeeeeel.-; 01-31-2012 at 15:57.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Xen0n
BANNED
Join Date: Nov 2011
Old 01-31-2012 , 16:01   Re: [ZP] Velocidad de zombies
#20

no si confiar confío ustedes son gente muy profesional en esto de la programación de counter pero solo quería saberlo. y aun que se equivoquen es mejor ayudar y equivocarse que no ayudar
Xen0n 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 13:04.


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