[FilterScript] [SIMPLES] Sistema GM Original
#1

Eh, eu sei muitos serve sгo pegados da internet mais quem fez sua propia gm pode enserir essa texts draws que irai passar elas ficaram o teu site + status do server + Dizendo que a gm e original, e um codigo muito simples so tenho o print do radar e o lugar do site,
Imagens:




Codigo Pawno:

pawn Код:
// Todos os creditos reservados por torres


//                     =======================================
//                     =======================================
//                     =======================================
//                                     ======
//                                     ======
//                                     ======
//                                     ======
//                                     ======
//                                     ======
//                                     ======
//                                     ======
//                                     ======
//                                     ======



#include <a_samp>

new Text:Textdrawdebaixodoradar;
new Text:SuperText;
new Text:StatusText;

public OnFilterScriptInit()
{
Textdrawdebaixodoradar= TextDrawCreate(1.0, 433.0, "Seu Site Aki"); // ~b~ < Azul /\ ~r~ < Vermelho
TextDrawAlignment(Textdrawdebaixodoradar,0);//Nгo mecher
TextDrawBackgroundColor(Textdrawdebaixodoradar,0x000000ff);//Nгo mecher
TextDrawFont(Textdrawdebaixodoradar,2);//Tipo de Letro (veja o *[2]mais abaixo)
 TextDrawLetterSize(Textdrawdebaixodoradar,0.2999, 1.4);//Nгo mecher
TextDrawBoxColor(Textdrawdebaixodoradar,0x00000050);//Nгo mecher
TextDrawColor(Textdrawdebaixodoradar,0xffffffff);//Nгo mecher
TextDrawSetOutline(Textdrawdebaixodoradar,1);//Nгo mecher
TextDrawSetProportional(Textdrawdebaixodoradar,1);//Nгo mecher
TextDrawSetShadow(Textdrawdebaixodoradar,1);//Nгo mecher


for(new i; i < MAX_PLAYERS; i ++)
    {
        if(IsPlayerConnected(i))
        {
            TextDrawShowForPlayer(i, Textdrawdebaixodoradar); // Nгo mecher
            TextDrawShowForPlayer(i, SuperText); // Nгo mecher
            TextDrawShowForPlayer(i, StatusText); // Nгo mecher
        }
    }

//Novo Text Draw
SuperText = TextDrawCreate(40 ,337 , "~r~[GM] ~b~Unica"); // ~b~ < Azul /\ ~r~ < Vermelho
TextDrawAlignment(SuperText,0);//Nгo mecher
TextDrawBackgroundColor(SuperText,0x000000ff);//Nгo mecher
TextDrawFont(SuperText,2);//Tipo de Letro (veja o *[2]mais abaixo)
TextDrawLetterSize(SuperText,0.2999, 1.4);//Nгo mecher
TextDrawBoxColor(SuperText,0x00000050);//Nгo mecher
TextDrawColor(SuperText,0xffffffff);//Nгo mecher
TextDrawSetOutline(SuperText,1);//Nгo mecher
TextDrawSetProportional(SuperText,1);//Nгo mecher
TextDrawSetShadow(SuperText,1);//Nгo mecher

// Fim NOvo Text

StatusText = TextDrawCreate(466 ,433.0, "~b~Status: ~r~Aberto");
TextDrawAlignment(StatusText,0);//Nгo mecher
TextDrawBackgroundColor(StatusText,0x000000ff);//Nгo mecher
TextDrawFont(StatusText,2);//Tipo de Letro (veja o *[2]mais abaixo)
TextDrawLetterSize(StatusText,0.2999, 1.4);//Nгo mecher
TextDrawBoxColor(StatusText,0x00000050);//Nгo mecher
TextDrawColor(StatusText,0xffffffff);//Nгo mecher
TextDrawSetOutline(StatusText,1);//Nгo mecher
TextDrawSetProportional(StatusText,1);//Nгo mecher
TextDrawSetShadow(StatusText,1);//Nгo mecher

    return 1;
}

//Nгo mecher nesse resto.

public OnFilterScriptExit()
{
    TextDrawHideForAll(Textdrawdebaixodoradar); // Excluir texto ao sair - Obs: Remover de todos players
    TextDrawDestroy(Textdrawdebaixodoradar); // Excluir texto ao sair - Obs: Somente Remover do Player
   
    TextDrawHideForAll(SuperText); // Excluir texto ao sair - Obs: Remover de todos players
    TextDrawDestroy(SuperText); // Excluir texto ao sair - Obs: Somente Remover do Player
   
    TextDrawHideForAll(StatusText); // Excluir texto ao sair - Obs: Remover de todos players
    TextDrawDestroy(StatusText); // Excluir texto ao sair - Obs: Somente Remover do Player
   
       return 1;
}

public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdrawdebaixodoradar); // Text Draw Abaixo do Radar - Obs: Conectando


TextDrawShowForPlayer(playerid, SuperText); // Super Text - Obs: Conectando

TextDrawShowForPlayer(playerid, StatusText); // Status Text - Obs: Conectando
    return 1;
}


//Eu retirei essa parte: TextDrawCreate(1.0, 433.0, "Aqui seu site*"); de DartakousLien.
Sou Novato entao nao sei se eu podia postar isso na area de Fs, Agradeзo. e podem me chamar de burros.
Reply
#2

Foi vocк quem fez? Se sim parabйns...
Talvez estarei usando.
Reply
#3

Quote:
Originally Posted by ThuuGLif3
Посмотреть сообщение
Foi vocк quem fez? Se sim parabйns...
Talvez estarei usando.
Foi, Assisti um tutoriais e acabei conseguindo. agora sei criar Text Draws em todo lugar da tela, e muito facil so basta querer.
Reply
#4

parabйns pela sua iniciativa,

agora sabe por experiкncia prуpria que estudando consegue.
Reply
#5

Quote:
Originally Posted by PT
Посмотреть сообщение
parabйns pela sua iniciativa,

agora sabe por experiкncia prуpria que estudando consegue.
agora eu vo aprender a me virar e ajudar os outros, nao vou ficar fazendo besteira igual fiz aquele dia, Espero qeu tenh gostado da fs.
Reply
#6

Quote:
Originally Posted by TorresPutado
Посмотреть сообщение
Codigo Pawno:
Fail kkkkk


Estudando vocк consegue.
Reply
#7

Tem uma parte retirada desse Tutorial... Falta Crйditos ae!

https://sampforum.blast.hk/showthread.php?tid=147555
Reply
#8

Boa iniciativa ...
Reply
#9

Quote:
Originally Posted by iHarzard
Посмотреть сообщение
Tem uma parte retirada desse Tutorial... Falta Crйditos ae!

https://sampforum.blast.hk/showthread.php?tid=147555
So usei essa parte:
pawn Код:
TextDrawCreate(1.0, 433.0, "Aqui seu site*");
Nгo esquenta vou dar #Edit
Reply
#10

Continue com estes sistemas simples, e vб aumentando a dificuldade aos poucos.

Dicas:

Idente seus cуdigos. Um cуdigo tгo pequeno devia estar super organizado.

@edit

Ia a dar +rep ao user, e retiraram a opзгo do -rep. LOL
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)