[Ajuda] Como Muda Esta Tela?
#1

Galera Queria Saber Como Eu Posso Mudar Esta Tela Que Fica Atraz do Login, Aonde Tem As Ruas, Queria Colocar Outro Local Ai Nesta Parte de Traz, Vejam a Print :

http://i.imgur.com/SB6WYZo.png

ME AJUDEM OBRIGADO
Reply
#2

Eu nгo entendo o que vocк quer
Reply
#3

Mudar o Local Que Esta Atraz da Tela de Login
Reply
#4

Passa teu OnPlayerConnect.
Reply
#5

https://sampwiki.blast.hk/wiki/AddPlayerClass
Reply
#6

Quote:
Originally Posted by Hunter_Xtreme
View Post
Isso nгo mudarб o local amigo.
Reply
#7

Code:
public OnPlayerConnect(playerid)
{

    CreatePlayerObject(playerid, 8168, 55.97, -1532.31, 6.07,   0.00, 0.00, 8.00);
	CreatePlayerObject(playerid, 966, 56.05, -1528.62, 3.93,   0.00, 0.00, 262.00);
	CreatePlayerObject(playerid, 966, 56.05, -1535.86, 3.93,   0.00, 0.00, 82.00);

	Cancela[playerid][0] = CreatePlayerObject(playerid, 968, 56.05, -1528.62, 4.67,   0.00, 270.00, 262.00);
	Cancela[playerid][1] = CreatePlayerObject(playerid, 968, 56.05, -1535.82, 4.71,   0.00, 90.00, 262.00);
	Pedagio[playerid] = false;



    RemovePlayerAttachedObject(playerid, 4);
    TextDrawShowForPlayer(playerid, Entrada[playerid]);
    DisablePlayerCheckpoint(playerid);
    KillTimer(timer[playerid]);
    FloodAlert[playerid] = 0; FloodTimer[playerid] = 0;
	SendClientMessage(playerid, ColorFlood, "Este server tem o Anti-Flood do {FFFF00}MrLucasOBGS{24B1DB}!");
    if(PlayerInfo[playerid][pCargo] == 0)
    {
    	BugSpawn[playerid] = 1;
    }
    new connecting_ip[32+1];
    GetPlayerIp(playerid,connecting_ip,32);
    new num_players_on_ip = GetNumberOfPlayersOnThisIP(connecting_ip);

    if(num_players_on_ip > MAX_CONNECTIONS_FROM_IP) {
        printf("MAXIPs: Connecting player(%d) exceeded %d IP connections from %s.", playerid, MAX_CONNECTIONS_FROM_IP, connecting_ip);
        Ban(playerid);
        return 1;
    }
    FilaAtendimentoText[playerid] = TextDrawCreate(500 ,150 , "_");
	TextDrawFont(FilaAtendimentoText[playerid] , 1);
	TextDrawLetterSize(FilaAtendimentoText[playerid] , 0.399999, 1.300000);
	TextDrawColor(FilaAtendimentoText[playerid] , 0xc4ff00FF);
	TextDrawSetOutline(FilaAtendimentoText[playerid] , 1);
	TextDrawSetProportional(FilaAtendimentoText[playerid] , true);
	TextDrawSetShadow(FilaAtendimentoText[playerid] , 1);
    TextDrawHideForPlayer(playerid,FilaAtendimentoText[playerid]);

	TempoAtendimento2Text[playerid] = TextDrawCreate(500 ,165 , "_");
	TextDrawFont(TempoAtendimento2Text[playerid] , 1);
	TextDrawLetterSize(TempoAtendimento2Text[playerid] , 0.399999, 1.300000);
	TextDrawColor(TempoAtendimento2Text[playerid] , 0xc4ff00FF);
	TextDrawSetOutline(TempoAtendimento2Text[playerid] , 1);
	TextDrawSetProportional(TempoAtendimento2Text[playerid] , true);
	TextDrawSetShadow(TempoAtendimento2Text[playerid] , 1);
    TextDrawHideForPlayer(playerid,TempoAtendimento2Text[playerid]);
    FilaAtendimento[playerid] = 999;
    TempoAtendimento2[playerid] = 0;
Reply
#8

Vai precisar usar essas duas funзхes
https://sampwiki.blast.hk/wiki/SetPlayerCameraPos + https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
e usa-las na public OnPlayerRequestClass
Reply
#9

Procura algo com 'CameraLook' ou 'SetCamera', se achar passa.

Mandei voce pegar a OnPlayerConnect porque na maioria dos casos isso estб ai, mais no seu nгo.
Reply
#10

Code:
gNews[playerid] = 1; gFam[playerid] = 1;			Controle(playerid, 0);
			RegistrationStep[playerid] = 1;
			ClearChatbox(playerid, 8);
			//PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.00);
			SetPlayerCameraPos(playerid, 1427.597, -1751.993, 86.024);
			SetPlayerCameraLookAt(playerid, 1431.131, -1747.288, 79.938);
			SetPlayerPos(playerid, 1409.3607,-1713.2329,30.7422);
			SetPlayerInterior(playerid, 0);
			PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
			SetPlayerVirtualWorld(playerid,playerid+1);
			ShowPlayerDialog(playerid,9,DIALOG_STYLE_MSGBOX,"Selecione seu Sexo:","{FFFFFF}Seja Bem Vindo(a)\n{00EE00}Brasil {FFD700}Gold {00B2EE}Night{FFFFFF}.\n\n			  Visite Nosso Forum:\n			  www.{FFD700}brasilgoldnigh{FFFFFF}.forumeiros.com\n\nVocк й 'Homem' ou 'Mulher' ?\n ","Homem","Mulher");
			PlayerPlaySound(playerid, 1131, 0.0, 0.0, 0.0);
	    }
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)