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

[ES][ZP] Ammo Pack y Comando Respawn (SOLUCIONADO)


  
 
 
Thread Tools Display Modes
Author Message
XCristiaNX
Veteran Member
Join Date: Dec 2009
Old 01-08-2010 , 12:06   [ES][ZP] Ammo Pack y Comando Respawn (SOLUCIONADO)
#1

Buenos dias...tenia algunas dudas sobre esto...empiezo con 0 ammo pack y queria modificarlo a lo normal "5" busque el code en el main y no lo encontre busque en el foro y tampoco vi nada...alguien sabe en q parte del main esta?...
Y con el tema del respawn...yo modifique el allowed_respawn a esto

PHP Code:
// Checks if a player is allowed to respawn
allowed_respawn(id)
{
    static 
team
    team 
fm_get_user_team(id)
    
    if (
g_endround || g_sniperround || g_nemround || g_survround  || g_swarmround || g_plagueround || g_soldierround || team == CS_TEAM_SPECTATOR || team == CS_TEAM_UNASSIGNED || !is_user_connected(id) || !is_user_alive(id))
        return 
true;
    
    return 
false;

y ahora cuando revivo a alguien aparece el comando de admin q dice q lo revivi pero sigue muerto y no lo revivi...y no se si es un error, me falta modificar algo, o no lo toma con los bots...si alguien sabe algo de estas cosas le agradeceria la ayuda ^^

Last edited by XCristiaNX; 01-22-2010 at 13:42.
XCristiaNX is offline
SylvertCs
BANNED
Join Date: Sep 2009
Location: San Nicolas-Buenos Aires
Old 01-08-2010 , 12:22   Re: [ES][ZP] Ammo Pack y Comando Respawn
#2

hay un comando
creo q era zp_start_ammopacks y la cantidad
o zp_startammopacks
SylvertCs is offline
Send a message via MSN to SylvertCs
vazmar
Veteran Member
Join Date: Apr 2009
Old 01-08-2010 , 12:25   Re: [ES][ZP] Ammo Pack y Comando Respawn
#3

busca if (resetall) y mira
EDIT: y el error del respawn, es que primero returneas en true y dps en false..
primero returnea en false y dps en true ^^

Last edited by vazmar; 01-08-2010 at 12:28.
vazmar is offline
axelgrox
BANNED
Join Date: Mar 2009
Location: Argentina [Tucuman]
Old 01-08-2010 , 12:28   Re: [ES][ZP] Ammo Pack y Comando Respawn
#4

x que le llama main?? no entiendo eso U.u
axelgrox is offline
Send a message via MSN to axelgrox Send a message via Skype™ to axelgrox
ecurbelo
BANNED
Join Date: Dec 2009
Location: Matando Trolls (Haslers)
Old 01-08-2010 , 12:32   Re: [ES][ZP] Ammo Pack y Comando Respawn
#5

Quote:
Originally Posted by axelgrox View Post
x que le llama main?? no entiendo eso U.u
Porque es deforme, le llama main al zombieplague =/.
ecurbelo is offline
vazmar
Veteran Member
Join Date: Apr 2009
Old 01-08-2010 , 12:38   Re: [ES][ZP] Ammo Pack y Comando Respawn
#6

Me imagino q dijo main... porq quiso decir q busco el code d donde dice con cuantos ammo packs empezas.. yo q se..
sino esta drogado
vazmar is offline
XCristiaNX
Veteran Member
Join Date: Dec 2009
Old 01-08-2010 , 12:45   Re: [ES][ZP] Ammo Pack y Comando Respawn
#7

jaja si a eso le dije vazmar...es q me acostumbre no se xq a decirle main pero bue si esta mal no lo digo mas...ya pruebo y les aviso...

EDIT: Los ammos ya esta...ahora el respawn me quedo asi

PHP Code:
// Checks if a player is allowed to respawn
allowed_respawn(id)
{
    static 
team
    team 
fm_get_user_team(id)
    
    if (!
g_endround || !g_sniperround || !g_nemround || !g_survround  || !g_swarmround || !g_plagueround || !g_soldierround || team != CS_TEAM_SPECTATOR || team != CS_TEAM_UNASSIGNED || is_user_connected(id) || is_user_alive(id))
        return 
false;
    
    return 
true;

Osea lo q yo quiero es con el comando ese de admin poder revivir en todos los modos...o si estan de spec o si estan muertos (obvio)

Como tendria q dejar el code?

Last edited by XCristiaNX; 01-08-2010 at 12:56.
XCristiaNX 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 18:56.


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