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

[ES][SJ] Como hago un cmd para reiniciar partido en sj?


  
 
 
Thread Tools Display Modes
Author Message
Hasler
BANNED
Join Date: Jul 2009
Location: Argentina, Rosario
Old 08-06-2009 , 23:59   [ES][SJ] Como hago un cmd para reiniciar partido en sj?
#1

Hola, una pregunta como hago un comando para que al ejecutarlo se reinicie el partido de soccerjam ?, desde ya muchisimas gracias ^^!

Last edited by Hasler; 08-07-2009 at 17:56.
Hasler is offline
algoasi
Member
Join Date: Nov 2008
Location: Pluton
Old 08-07-2009 , 10:08   Re: [ES][SJ] Como creo comando para reiniciar partido
#2

nunca e usado este mod.. pero intanta con sv_restart 1 xD

sino aplica este plugin

https://forums.alliedmods.net/showth...server_restart

ó este

http://forums.alliedmods.net/showthread.php?t=88557
__________________

Last edited by algoasi; 08-07-2009 at 10:12.
algoasi is offline
Send a message via MSN to algoasi
Kiske
Veteran Member
Join Date: May 2009
Old 08-07-2009 , 10:22   Re: [ES][SJ] Como creo comando para reiniciar partido
#3

Quote:
Originally Posted by algoasi View Post
nunca e usado este mod.. pero intanta con sv_restart 1 xD

sino aplica este plugin

https://forums.alliedmods.net/showth...server_restart

ó este

http://forums.alliedmods.net/showthread.php?t=88557
Se supone que el solo quiere qe se reinicie el Partido.
El sv_restart, tambien reinicia el Timelimit del mapa.
__________________

Kiske is offline
Send a message via Skype™ to Kiske
Zapdos1
BANNED
Join Date: Jul 2009
Location: Chile - La Serena
Old 08-07-2009 , 16:21   Re: [ES][SJ] Como creo comando para reiniciar partido
#4

mira aki te dejo el que yo uso,
tienes que poner en consola partido.cfg
y listo!!!
asi de fácil es
xDDD

y si lo quieres normal pones despues publico.cfg

asi de facil es XDDDD
Attached Files
File Type: cfg publico.cfg (1.5 KB, 118 views)
File Type: cfg partido.cfg (3.0 KB, 81 views)
Zapdos1 is offline
L//
Senior Member
Join Date: Aug 2008
Location: Not found
Old 08-07-2009 , 16:27   Re: [ES][SJ] Como creo comando para reiniciar partido
#5

Tenes que ejecutar una funcion que esta en el mismisimo soccerjam
__________________
L// is offline
Send a message via MSN to L//
Hasler
BANNED
Join Date: Jul 2009
Location: Argentina, Rosario
Old 08-07-2009 , 17:55   Re: [ES][SJ] como agrego cmd para reiniciar partido en sj
#6

Quote:
Originally Posted by L// View Post
Tenes que ejecutar una funcion que esta en el mismisimo soccerjam

es la de begincoutdown? pero no sè como hacerlo...
Hasler is offline
Hasler
BANNED
Join Date: Jul 2009
Location: Argentina, Rosario
Old 08-08-2009 , 00:34   Re: [ES][SJ] Como hago un cmd para reiniciar partido en sj?
#7

tiene algo que ver con esto no?, porfavor ayudame, nu te pido nada de otro mundo, xD solo para reiniciar el partido.. vi tambien en imperium games una guia pero nomàs mandaba el client_print y no lo reiniciaba, tampoco reconocia el begincountdown :S

PHP Code:
public BeginCountdown() {
    if(!
timer) {
        
timer COUNTDOWN_TIME
        cleanup
()
    }
    else {
        new 
output[32]
        
num_to_word(timer,output,31)
        
client_cmd(0,"spk vox/%s.wav",output)

        if(
timer > (COUNTDOWN_TIME 2))
            
set_hudmessage(250250250, -1.00.5511.01.01.00.52)
        else
            
set_hudmessage(255255255, -1.00.5511.01.01.00.52)

        if(
timer > (COUNTDOWN_TIME 2))
            
show_hudmessage(0"%L^n%i",LANG_PLAYER,"GAME_BEGINS_IN",timer)
        else
            
show_hudmessage(0"%i",timer)

        if(
timer == 1)
            
server_cmd("sv_restart 1")
        
timer--
        
set_task(0.9,"BeginCountdown",0)
    }

Hasler is offline
L//
Senior Member
Join Date: Aug 2008
Location: Not found
Old 08-08-2009 , 00:46   Re: [ES][SJ] Como hago un cmd para reiniciar partido en sj?
#8

Y si, tenes q llamar a esa funcion y listo
__________________
L// is offline
Send a message via MSN to L//
Hasler
BANNED
Join Date: Jul 2009
Location: Argentina, Rosario
Old 08-08-2009 , 00:48   Re: [ES][SJ] Como hago un cmd para reiniciar partido en sj?
#9

y como se supone que la llamo?, recien estoy aprendiendo..
Hasler is offline
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 08-08-2009 , 00:48   Re: [ES][SJ] Como hago un cmd para reiniciar partido en sj?
#10

no tenes que reiniciar la variable score tmb? para empezar un partido nuevo sin goles..
__________________
IneedHelp 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 10:26.


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