TH

Queria Que Pudesse Escolher Onde Quer Morar, Pelo Site.

Por Themaper, 12 de jun. de 2011 em Archived

6
796
ThemaperT
12 de junho de 2011 às 03:23

Tfs 8.6, uso site : GESIOR.

ME AJUDEM PLESAE

12 de junho de 2011 às 04:15

acesse: htdocs/config/config.php

 

Procure:

$config['site']['newchar_towns'][0] = array(1,2);

$config['site']['newchar_towns'][1] = array(1);

 

 

// list of towns on ots

$towns_list[0] = array(1 => 'Trevos City', 2 => 'Xurnia'; // list of towns, id => 'name', $towns_list[0] - for world id 0

 

O que está em vermelho será a cidade que poderá escolher no site.

É só colocar o numero 2 ou 3 e quantas forem as cidades :D

 

Te ajudei? REP+

Editado Junho 12 por Pess0a

ThemaperT
12 de junho de 2011 às 04:23

tanks.

ou mano nao entendi muito bem olha

 

$config['site']['newchar_towns'][0] = array(2);

$config['site']['newchar_towns'][1] = array(1,2);

// sample, if all players should spawn in one city (city with ID 4): $config['site']['newchar_towns'] = array(4);

Editado Junho 12 por TrinksOT

12 de junho de 2011 às 04:30

De nada. Se tiver mais duvidas não exite em postar!

 

Me agradeça. me de REP+ :D Só clica nesse botão add.png no meu post lá :D

 

$config['site']['newchar_towns'][0] = array(2);

$config['site']['newchar_towns'][1] = array(1,2);

 

muda pra

 

$config['site']['newchar_towns'][0] = array(1,2);

$config['site']['newchar_towns'][1] = array(2);

 

Vai ter pra escolher entre a cidade 1 e 2 agora.

Editado Junho 12 por Pess0a

ThemaperT
12 de junho de 2011 às 05:08

ae brother , e se for pra 3 cidades? desculpa ta?

REEP + .

12 de junho de 2011 às 13:22

$config['site']['newchar_towns'][0] = array(1,2,3);

$config['site']['newchar_towns'][1] = array(2);

 

$towns_list[0] = array(1 => 'Trevos City', 2 => 'Xurnia', 3 => 'cidade 3'; // list of towns, id => 'name', $towns_list[0] - for world id 0