[AJUDA]Spawn Bug
#1

Ae .. meu spawn nгo consigo trocar .. tou com o Gm do Muca 1.6 todo editado por min..

Eu entro no sv . nem me mecho e do /save
.. ai quando eu vou procurar no gm as coordenadas . Nгo acho! Entгo existe algum modo de mudar? Ou alguem tem as coodernadas?
Reply
#2

Procura no GM,
Код:
public SetPlayerSpawn(playerid)
e troque .

reputation =p
Reply
#3

Quote:
Originally Posted by Gabriel Duarte
Посмотреть сообщение
Procura no GM,
Код:
public SetPlayerSpawn(playerid)
e troque .

reputation =p
Que eu saiba, SetPlayerSpawn nгo existe O.o.
O certo й:

PHP код:
public OnPlayerSpawn(playerid
Reply
#4

Quote:
Originally Posted by Gabriel Duarte
Посмотреть сообщение
Procura no GM,
Код:
public SetPlayerSpawn(playerid)
e troque .

reputation =p
Han ? Nгo ajudou em nada.

#TOPIC

As coordendas ficam salvas neste arquivo: Meus Documentos\GTA San Andreas User Files\SAMP\savedpositions.txt

Vocк deve ir na public OnPlayerSpawn(playerid) e entгo procurar o que estб colocar o jogador em tal posiзгo e trocar os parametros. A funзгo que 'seta' a posiзгo do jogador й SetPlayerPos.
Reply
#5

proicura ai man deve ter isso ai [CODE]if(dialogid == skinnovato)
{
if(response){
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, sizeof(aname));
format(file, sizeof(file), PASTA_CONTAS, aname);
dini_Set(file, "Skin", "212");
SetPlayerSkin(playerid, dini_Int(file, "Skin"));
dini_FloatSet(file,"CasaX",Float:10.0000); // aqui
dini_FloatSet(file,"CasaY",Float:1219.0000); // aqui
dini_FloatSet(file,"CasaZ",Float:19.3453); // aqui
dini_IntSet(file, "novato", 2);[CODE]

espero ter ajudado
Reply
#6

ele sabe pegar pelo que entendi so nao sabe trocar, para trocar so ir la.
Reply
#7

Quote:
Originally Posted by DJ Bruninho
Посмотреть сообщение
Que eu saiba, SetPlayerSpawn nгo existe O.o.
O certo й:

PHP код:
public OnPlayerSpawn(playerid
OnPlayerSpawn nao tem nada .. Olha!

Код:
public OnPlayerSpawn(playerid)
{
PlayerInfo[playerid][SpawnAngle] = 0.0; //so when you leave and another player comes, the camera will start from start
PlayerInfo[playerid][SpawnDance] = true; //to not execute to much timers
KillTimer( PlayerInfo[playerid][SpawnTimer] ); //to kill it, since its useless now
PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0); // (blank sound) to shut the music up
SetCameraBehindPlayer(playerid); //to prevent some bugs
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
TextDrawShowForPlayer(playerid, Relogio);
TextDrawShowForPlayer(playerid, tc);
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0); //
GangZoneShowForPlayer(playerid,favela,0xFF0000AA);
GangZoneShowForPlayer(playerid, areadmlv, 0xFF000096);
GangZoneShowForPlayer(playerid, AreaPesca, 0x00FFFFAA);
GangZoneShowForPlayer(playerid, Acaca, 0x9D4F00AA);
GangZoneShowForPlayer(playerid, AreaCar, 0x000000AA);
GangZoneShowForPlayer(playerid, AreaDes, 0x000000AA);
GangZoneShowForPlayer(playerid, AreaDrogas, 0xFF8040AA);
gmod[playerid] = 0;
noevento[playerid] = 0;
nogame[playerid] = 0;
Logarprof(playerid);
autoescola[playerid] = 0;
prefls[playerid] = 0;
prefsf[playerid] = 0;
preflv[playerid] = 0;
nobarls[playerid] = 0;
nobarsf[playerid] = 0;
nobarlv[playerid] = 0;
nobarfc[playerid] = 0;
nautlls[playerid] = 0;
algemado[playerid] = 0;
sequestro[playerid] = 0;
vercmds[playerid]=0;
dini_IntSet(file, "convitent", 0);
dini_IntSet(file, "Entrevista", 0);
dini_IntSet(file, "MN", 0);
//fim
if(NaFaculdade[playerid] == 1){
new Float:X,Float:Y,Float:Z;
Reply
#8

Tente em SetPlayerSpawn ai vc acha de que vc qr mudar e troque la as coord.
Reply
#9

Quote:
Originally Posted by Gabriel Duarte
Посмотреть сообщение
Tente em SetPlayerSpawn ai vc acha de que vc qr mudar e troque la as coord.
tabem nao foi!

E o de cima tbm nao foi.. mudei as coords e nada =/

OPA! O De CIma foi! vlw galer
Reply
#10

mano add msn q te explico melhor la. Ta na assinatura =p
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)