Raised This Month: $ Target: $400
 0% 

[ES][ZP] Como podria darle deathmatch?


  
 
 
Thread Tools Display Modes
Author Message
DJHD!
Veteran Member
Join Date: Dec 2009
Location: Santiago, Chile
Old 09-24-2010 , 22:44   [ES][ZP] Como podria darle deathmatch?
#1

Buenas cree un modo similar a el multi, pero resulta que quiero que cuando

maten a los zombies revivan, y si llegan a infectar a un humano y si lo matan

reviva como zombie, intente pero no pude alguien me podria decirme como

hacerlo dentro de el zp? itente fuera y dentro de el zp.

Saludos.
__________________
Quote:
Originally Posted by XINLEI View Post
Porque rocccos trata de ser el metalicross que nunca va a poder ser.
DJHD! is offline
Send a message via MSN to DJHD!
XCristiaNX
Veteran Member
Join Date: Dec 2009
Old 09-24-2010 , 22:56   Re: [ES][ZP] Como podria darle deathmatch?
#2

PHP Code:
public fw_PlayerKilled(victimattackershouldgib)
{
    if( 
"tu_modo" && g_zombie[victim])
    {
        
ExecuteHamB(Ham_CS_RoundRespawnvictim)
        
zombieme(victim0,0,0)
    }

PD: No lo testie es solo una idea

Saludos
XCristiaNX is offline
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-24-2010 , 22:57   Re: [ES][ZP] Como podria darle deathmatch?
#3

no andaria turuturuturu
Raddish is offline
Exc3ll@N
Veteran Member
Join Date: Oct 2009
Location: Donde me lleve el viento
Old 09-24-2010 , 22:59   Re: [ES][ZP] Como podria darle deathmatch?
#4

donde se registra el modo trankilamente usas la cvar zp_deathmacht en 0 , 1 o 2
__________________
Haz lo que sientas y te haga feliz.
Exc3ll@N is offline
Send a message via MSN to Exc3ll@N
DJHD!
Veteran Member
Join Date: Dec 2009
Location: Santiago, Chile
Old 09-24-2010 , 22:59   Re: [ES][ZP] Como podria darle deathmatch?
#5

Quote:
Originally Posted by Raddish View Post
no andaria turuturuturu
Andas con ganas de hacer off?

tienes alguna idea que me des tu?.

Edit:

Quote:
Originally Posted by Exc3ll@N View Post
donde se registra el modo trankilamente usas la cvar zp_deathmacht en 0 , 1 o 2
Donde¿?
__________________
Quote:
Originally Posted by XINLEI View Post
Porque rocccos trata de ser el metalicross que nunca va a poder ser.
DJHD! is offline
Send a message via MSN to DJHD!
!Morte
Veteran Member
Join Date: May 2010
Old 09-24-2010 , 23:03   Re: [ES][ZP] Como podria darle deathmatch?
#6

Quote:
Originally Posted by DJHD! View Post
Edit:

Quote:
Originally Posted by Exc3ll@N View Post
donde se registra el modo trankilamente usas la cvar zp_deathmacht en 0 , 1 o 2
Donde¿?
Quote:
Originally Posted by Exc3ll@N View Post
donde se registra el modo trankilamente usas la cvar zp_deathmacht en 0 , 1 o 2
__________________
First Zombie Class
[ZP] Zombie Class: Houndeye Zombie
Quote:
Originally Posted by lucas_7_94 View Post
tenes que saber pawn antes de intentar hacer algo digno.
!Morte is offline
Send a message via MSN to !Morte Send a message via Skype™ to !Morte
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-24-2010 , 23:08   Re: [ES][ZP] Como podria darle deathmatch?
#7

Quote:
Originally Posted by DJHD! View Post
Andas con ganas de hacer off?

tienes alguna idea que me des tu?.
Me masturbo pensando en offtopic.

Bastantes.

Quote:
// Ham Player Spawn Post Forward
public fw_PlayerSpawn_Post(id)
{
// Not alive or didn't join a team yet
if (!is_user_alive(id) || !fm_get_user_team(id))
return;

// Remove previous tasks
remove_task(id+TASK_SPAWN)
remove_task(id+TASK_TEAM)
remove_task(id+TASK_MODEL)
remove_task(id+TASK_BLOOD)

// Spawn randomly?
do_random_spawn(id)

// Hide money?
set_task(0.2, "task_hide_money", id+TASK_SPAWN)

// Respawn player if he dies because of a worldspawn kill?
set_task(2.0, "respawn_player", id+TASK_SPAWN)

// Spawn as zombie?
if (g_respawn_as_zombie[id] && !g_newround)
{
reset_vars(id, 0) // reset player vars
zombieme(id, 0, 0, 0) // make him zombie right away
return;

}
Raddish is offline
DJHD!
Veteran Member
Join Date: Dec 2009
Location: Santiago, Chile
Old 09-24-2010 , 23:08   Re: [ES][ZP] Como podria darle deathmatch?
#8

Esque no entiendi a que se refiere.
__________________
Quote:
Originally Posted by XINLEI View Post
Porque rocccos trata de ser el metalicross que nunca va a poder ser.
DJHD! is offline
Send a message via MSN to DJHD!
XCristiaNX
Veteran Member
Join Date: Dec 2009
Old 09-24-2010 , 23:29   Re: [ES][ZP] Como podria darle deathmatch?
#9

en donde tenes tu modo le metes set_pcvar_num(cvar_deathmach, 1) o 2 o 3 no se

Saludos
XCristiaNX is offline
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-24-2010 , 23:41   Re: [ES][ZP] Como podria darle deathmatch?
#10

Quote:
Originally Posted by DJHD! View Post
Esque no entiendi a que se refiere.
// Spawn as zombie?
if (g_respawn_as_zombie[id] && !g_newround)
{
reset_vars(id, 0) // reset player vars
zombieme(id, 0, 0, 0) // make him zombie right away
return;

Eso significa que lo que pusiste antes no sirve
Raddish 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 21:09.


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