[ ajuda] Tela Inicial
#1

Bom Gente To eu Aqui denovo Pedindo ajuda rsrs

Meu problema agora й que minha imagem inicial nao esta aparecendo para Todos os players Somente para dois ou tres primeiros que entrarem no servidor

e Tem como Tirar aquelas setinhas que fica la embaixo da tela na hora do login < > Spawn

pawn Код:
// OnPlayerConnect

    SetTimerEx("Intro1", 2000, false, "d", playerid);

// No Fim do GameMode

forward Intro1(playerid);
forward Intro2(playerid);
forward Intro3(playerid);
forward Intro4(playerid);
forward Intro5(playerid);
forward Intro6(playerid);
forward Intro7(playerid);

public Intro1(playerid){SetTimerEx("Intro2", 2000, false, "d", playerid);TextDrawShowForPlayer(playerid, Textdraw0);}
public Intro2(playerid){SetTimerEx("Intro3", 2000, false, "d", playerid);TextDrawShowForPlayer(playerid, Textdraw0);TextDrawShowForPlayer(playerid, Textdraw1);}
public Intro3(playerid){SetTimerEx("Intro4", 2000, false, "d", playerid);TextDrawShowForPlayer(playerid, Textdraw0);TextDrawShowForPlayer(playerid, Textdraw1);TextDrawShowForPlayer(playerid, Textdraw2);}
public Intro4(playerid){SetTimerEx("Intro5", 2000, false, "d", playerid);TextDrawShowForPlayer(playerid, Textdraw0);TextDrawShowForPlayer(playerid, Textdraw1);TextDrawShowForPlayer(playerid, Textdraw2);TextDrawShowForPlayer(playerid, Textdraw3);}
public Intro5(playerid){
SetTimerEx("Intro6", 2000, false, "d", playerid);
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);}
public Intro6(playerid)
{
    SetTimerEx("Intro7", 2000, false, "d", playerid);
    TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);
    TextDrawShowForPlayer(playerid, Textdraw2);
    TextDrawShowForPlayer(playerid, Textdraw3);
    TextDrawShowForPlayer(playerid, Textdraw4);
    TextDrawShowForPlayer(playerid, Textdraw5);
}
public Intro7(playerid){SetTimerEx("Login", 3000, false, "d", playerid);}
Obrigado ae mais uma vez
Reply
#2

pawn Код:
SpawnPlayer(playerid);
Reply
#3

usa um loop em GameModeInit
pawn Код:
for(new i; i < MAX_PLAYERS; i ++)
    {
        if(IsPlayerConnected(i))
        {
            TextDrawShowForPlayer(i, NomeText);
        }
    }
Reply
#4

Murilo se querer ser discreto, quantas linhas seu GM tem Oo?
Reply
#5

Para tirar as Setinhas nгo tem como, mas pode-se bular, para isso use:

https://sampwiki.blast.hk/wiki/TogglePlayerSpectating

pawn Код:
TogglePlayerSpectating(playerid, true); //Burla
TogglePlayerSpectating(playerid, false); //Volta o Player ao normal, Nгo se esqueзa de quando ele logar colocar isso para o Player nгo bugar!
Nгo entendi a sua outra dъvida...
Reply
#6

Quote:
Originally Posted by Arthenry
Посмотреть сообщение
Murilo se querer ser discreto, quantas linhas seu GM tem Oo?
Vinicius tem em torno de 10 mil linhas ....

Obrigado irei Testar a Loop e Burlar o Sistema hehe

#EDIT:

Coloquei a Loop Mas deu um erro que nao tinha visto antes rsrs

pawn Код:
for(new i; i < MAX_PLAYERS; i ++)
    {
        if(IsPlayerConnected(i))
        {
            TextDrawShowForPlayer(i, [COLOR="Red"]Intro1[/COLOR]);
        }
    }
Tenho que Definir a Primeiro Intro na Loop neh ?
Reply
#7

Definiu a Loop no GameModeint ?
Reply
#8

Sim coloquei a loop No GameModeint Mais da um Erro Estranho ...

pawn Код:
Compilando BCV.pwn...
C:\Documents and Settings\Murilo de sousa\Desktop\Brasil City Virtual RPG 0.3e\gamemodes\BCV.pwn(364) : error 017: undefined symbol "playerid"

Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply
#9

Quote:
Originally Posted by Murilo_sousa
Посмотреть сообщение
Sim coloquei a loop No GameModeint Mais da um Erro Estranho ...

pawn Код:
Compilando BCV.pwn...
C:\Documents and Settings\Murilo de sousa\Desktop\Brasil City Virtual RPG 0.3e\gamemodes\BCV.pwn(364) : error 017: undefined symbol "playerid"

Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Isso ae nгo tem nada haver meu caro! Esquece esse loop...

Nгo estб errado isso ae, agora o porque do erro jб nгo da para saber, dei uma simplificada nele:

pawn Код:
// OnPlayerConnect
SetTimerEx("Intro1", 2000, false, "d", playerid);

// No Fim do GameMode
forward Intro1(playerid);
forward Intro2(playerid);
forward Intro3(playerid);
forward Intro4(playerid);
forward Intro5(playerid);
forward Intro6(playerid);
forward Intro7(playerid);

public Intro1(playerid) SetTimerEx("Intro2", 2000, false, "d", playerid), TextDrawShowForPlayer(playerid, Textdraw0);
public Intro2(playerid) SetTimerEx("Intro3", 2000, false, "d", playerid), TextDrawShowForPlayer(playerid, Textdraw1);
public Intro3(playerid) SetTimerEx("Intro4", 2000, false, "d", playerid), TextDrawShowForPlayer(playerid, Textdraw2);
public Intro4(playerid) SetTimerEx("Intro5", 2000, false, "d", playerid), TextDrawShowForPlayer(playerid, Textdraw3);
public Intro5(playerid) SetTimerEx("Intro6", 2000, false, "d", playerid), TextDrawShowForPlayer(playerid, Textdraw4);
public Intro6(playerid) SetTimerEx("Intro7", 2000, false, "d", playerid), TextDrawShowForPlayer(playerid, Textdraw5);
public Intro7(playerid) SetTimerEx("Login", 3000, false, "d", playerid);
Nгo fiz para resolver, pois nгo tem erro, somente simplifiquei!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)