SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 02/07/2013, 10:50 PM   #1
MaTeuS_FeLiPe
Little Clucker
 
Join Date: Aug 2012
Location: Minas Gerais
Posts: 38
Reputation: -3
Default TextDraws PlayHarD

Galera venho aqui no forum pedir uma ajuda.

Queria colocar isso no meu GM,Mais não esta aparecendo.

Que aparecesetudo ali.

Alguem mim ajuda '-' Irei colocar no /creditos quem solucionar isso.

MaTeuS_FeLiPe is offline   Reply With Quote
Old 02/07/2013, 10:52 PM   #2
Rapha3L
Big Clucker
 
Rapha3L's Avatar
 
Join Date: Jun 2013
Location: Aveiro, Portugal
Posts: 100
Reputation: 3
Default Re: TextDraws PlayHarD

Já pensou em procurar as defines e o texto dessa textdraw e copiar para o seu ?
Rapha3L is offline   Reply With Quote
Old 02/07/2013, 10:53 PM   #3
MaTeuS_FeLiPe
Little Clucker
 
Join Date: Aug 2012
Location: Minas Gerais
Posts: 38
Reputation: -3
Default Re: TextDraws PlayHarD

sim ja fis isso..
MaTeuS_FeLiPe is offline   Reply With Quote
Old 02/07/2013, 10:55 PM   #4
Rapha3L
Big Clucker
 
Rapha3L's Avatar
 
Join Date: Jun 2013
Location: Aveiro, Portugal
Posts: 100
Reputation: 3
Default Re: TextDraws PlayHarD

Continua sem aparecer ?
Se sim, mande o código desse gamemode e eu já vejo isso.
Rapha3L is offline   Reply With Quote
Old 02/07/2013, 10:55 PM   #5
ProKillerpa
High-roller
 
ProKillerpa's Avatar
 
Join Date: May 2013
Location: Rio Grande do Sul
Posts: 1,208
Reputation: 142
Default Re: TextDraws PlayHarD

Segue código.

pawn Code:
#include <a_samp>
#pragma tabsize 0

new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:txtTimeDisp;
new hour, minute;
new horadkn[32];
forward UpdateTime();
//--------------------------------------------------
public UpdateTime()
{
gettime(hour, minute);
format(horadkn,32,"%02d:%02d",hour,minute);
TextDrawSetString(txtTimeDisp,horadkn);

    SetWorldTime(hour);

    new x=0;
    while(x!=MAX_PLAYERS) {
        if(IsPlayerConnected(x) && GetPlayerState(x) != PLAYER_STATE_NONE) {
            SetPlayerTime(x,hour,minute);
         }
         x++;
    }
}

//--------------------------------------------------
public OnFilterScriptInit()
{
   

    Textdraw0 = TextDrawCreate(541.000000, 405.000000, "Lunaticos");
    TextDrawBackgroundColor(Textdraw0, 0xF6AD00AA);
    TextDrawFont(Textdraw0, 1);
    TextDrawLetterSize(Textdraw0, 0.559998, 2.599998);
    TextDrawColor(Textdraw0, 0xF6AD00AA);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);

    Textdraw1 = TextDrawCreate(584.000000, 408.000000, "Brasil");
    TextDrawBackgroundColor(Textdraw1, 0xFFFF00AA);
    TextDrawFont(Textdraw1, 1);
    TextDrawLetterSize(Textdraw1, 0.509998, 2.299998);
    TextDrawColor(Textdraw1, 0xFFFF00AA);
    TextDrawSetOutline(Textdraw1, 1);
    TextDrawSetProportional(Textdraw1, 1);

    Textdraw2 = TextDrawCreate(518.000000, 425.000000, "");
    TextDrawBackgroundColor(Textdraw2, 255);
    TextDrawFont(Textdraw2, 1);
    TextDrawLetterSize(Textdraw2, 0.209999, 1.100000);
    TextDrawColor(Textdraw2, -1);
    TextDrawSetOutline(Textdraw2, 1);
    TextDrawSetProportional(Textdraw2, 1);


   
    txtTimeDisp = TextDrawCreate(558.000000, 436.000000,"00:00");
    TextDrawBackgroundColor(txtTimeDisp, 255);
    TextDrawFont(txtTimeDisp, 1);
    TextDrawLetterSize(txtTimeDisp, 0.209999, 1.000000);
    TextDrawColor(txtTimeDisp, -1);
    TextDrawSetOutline(txtTimeDisp, 0);
    TextDrawSetProportional(txtTimeDisp, 1);
    TextDrawSetShadow(txtTimeDisp, 1);

    UpdateTime();
    SetTimer("UpdateTime",1000 * 60,1);
    return 1;
}
//--------------------------------------------------

public OnPlayerDeath(playerid, killerid, reason)
{
    TextDrawHideForPlayer(playerid,txtTimeDisp);
    return 1;
}

//--------------------------------------------------
//--------------------------------------------------

public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid,txtTimeDisp);
    TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);
    TextDrawShowForPlayer(playerid, Textdraw2);
    TextDrawShowForPlayer(playerid, Textdraw3);
    gettime(hour, minute);
    SetPlayerTime(playerid,hour,minute);

    return 1;
}

//--------------------------------------------------
public OnFilterScriptExit()
{
    TextDrawHideForAll(Textdraw0);
    TextDrawDestroy(Textdraw0);
    TextDrawHideForAll(Textdraw1);
    TextDrawDestroy(Textdraw1);
    TextDrawHideForAll(Textdraw2);
    TextDrawDestroy(Textdraw2);
    TextDrawHideForAll(Textdraw3);
    TextDrawDestroy(Textdraw3);
    return 1;
}

public OnPlayerConnect(playerid)
{
    gettime(hour, minute);
    SetPlayerTime(playerid,hour,minute);
    TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);
    TextDrawShowForPlayer(playerid, Textdraw2);
    TextDrawShowForPlayer(playerid, Textdraw3);
    return 1;
}
__________________
Precisando de algum Script/Sistema?
Chama discord: ProKillerPa#7113
ProKillerpa is offline   Reply With Quote
Old 02/07/2013, 11:18 PM   #6
MaTeuS_FeLiPe
Little Clucker
 
Join Date: Aug 2012
Location: Minas Gerais
Posts: 38
Reputation: -3
Default Re: TextDraws PlayHarD

Quote:
Originally Posted by ProKillerpa View Post
Segue código.

pawn Code:
#include <a_samp>
#pragma tabsize 0

new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:txtTimeDisp;
new hour, minute;
new horadkn[32];
forward UpdateTime();
//--------------------------------------------------
public UpdateTime()
{
gettime(hour, minute);
format(horadkn,32,"%02d:%02d",hour,minute);
TextDrawSetString(txtTimeDisp,horadkn);

    SetWorldTime(hour);

    new x=0;
    while(x!=MAX_PLAYERS) {
        if(IsPlayerConnected(x) && GetPlayerState(x) != PLAYER_STATE_NONE) {
            SetPlayerTime(x,hour,minute);
         }
         x++;
    }
}

//--------------------------------------------------
public OnFilterScriptInit()
{
   

    Textdraw0 = TextDrawCreate(541.000000, 405.000000, "Lunaticos");
    TextDrawBackgroundColor(Textdraw0, 0xF6AD00AA);
    TextDrawFont(Textdraw0, 1);
    TextDrawLetterSize(Textdraw0, 0.559998, 2.599998);
    TextDrawColor(Textdraw0, 0xF6AD00AA);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);

    Textdraw1 = TextDrawCreate(584.000000, 408.000000, "Brasil");
    TextDrawBackgroundColor(Textdraw1, 0xFFFF00AA);
    TextDrawFont(Textdraw1, 1);
    TextDrawLetterSize(Textdraw1, 0.509998, 2.299998);
    TextDrawColor(Textdraw1, 0xFFFF00AA);
    TextDrawSetOutline(Textdraw1, 1);
    TextDrawSetProportional(Textdraw1, 1);

    Textdraw2 = TextDrawCreate(518.000000, 425.000000, "");
    TextDrawBackgroundColor(Textdraw2, 255);
    TextDrawFont(Textdraw2, 1);
    TextDrawLetterSize(Textdraw2, 0.209999, 1.100000);
    TextDrawColor(Textdraw2, -1);
    TextDrawSetOutline(Textdraw2, 1);
    TextDrawSetProportional(Textdraw2, 1);


   
    txtTimeDisp = TextDrawCreate(558.000000, 436.000000,"00:00");
    TextDrawBackgroundColor(txtTimeDisp, 255);
    TextDrawFont(txtTimeDisp, 1);
    TextDrawLetterSize(txtTimeDisp, 0.209999, 1.000000);
    TextDrawColor(txtTimeDisp, -1);
    TextDrawSetOutline(txtTimeDisp, 0);
    TextDrawSetProportional(txtTimeDisp, 1);
    TextDrawSetShadow(txtTimeDisp, 1);

    UpdateTime();
    SetTimer("UpdateTime",1000 * 60,1);
    return 1;
}
//--------------------------------------------------

public OnPlayerDeath(playerid, killerid, reason)
{
    TextDrawHideForPlayer(playerid,txtTimeDisp);
    return 1;
}

//--------------------------------------------------
//--------------------------------------------------

public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid,txtTimeDisp);
    TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);
    TextDrawShowForPlayer(playerid, Textdraw2);
    TextDrawShowForPlayer(playerid, Textdraw3);
    gettime(hour, minute);
    SetPlayerTime(playerid,hour,minute);

    return 1;
}

//--------------------------------------------------
public OnFilterScriptExit()
{
    TextDrawHideForAll(Textdraw0);
    TextDrawDestroy(Textdraw0);
    TextDrawHideForAll(Textdraw1);
    TextDrawDestroy(Textdraw1);
    TextDrawHideForAll(Textdraw2);
    TextDrawDestroy(Textdraw2);
    TextDrawHideForAll(Textdraw3);
    TextDrawDestroy(Textdraw3);
    return 1;
}

public OnPlayerConnect(playerid)
{
    gettime(hour, minute);
    SetPlayerTime(playerid,hour,minute);
    TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);
    TextDrawShowForPlayer(playerid, Textdraw2);
    TextDrawShowForPlayer(playerid, Textdraw3);
    return 1;
}

Code:
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(577) : error 021: symbol already defined: "hour"
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(577) : error 021: symbol already defined: "minute"

D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17870) : error 021: symbol already defined: "SetTimer"

D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17876) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17901) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17909) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17917) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17927) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17946) : error 010: invalid function or declaration

D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17955) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17964) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17973) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17982) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(17991) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18027) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18036) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18046) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18056) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18066) 
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18066) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18076) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18086) : error 010: invalid function or declaration

D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18096) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18108) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18121) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18134) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC.pwn(18142) : error 010: invalid function or declaration
MaTeuS_FeLiPe is offline   Reply With Quote
Old 02/07/2013, 11:22 PM   #7
MaTeuS_FeLiPe
Little Clucker
 
Join Date: Aug 2012
Location: Minas Gerais
Posts: 38
Reputation: -3
Default Re: TextDraws PlayHarD

DEU ESSE ERROS::

D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(577) : error 021: symbol already defined: "hour"
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(577) : error 021: symbol already defined: "minute"

D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17870) : error 021: symbol already defined: "SetTimer"

D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17876) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17901) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17909) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17917) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17927) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17946) : error 010: invalid function or declaration

D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17955) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17964) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17973) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17982) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(17991) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18027) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18036) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18046) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18056) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18066)
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18066) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18076) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18086) : error 010: invalid function or declaration

D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18096) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(1810 : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18121) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18134) : error 010: invalid function or declaration
D:\Documentos\Desktop\GAMEMOIDE\BPC\Gamemodes\BPC. pwn(18142) : error 010: invalid function or declaration
MaTeuS_FeLiPe is offline   Reply With Quote
Old 02/07/2013, 11:25 PM   #8
ProKillerpa
High-roller
 
ProKillerpa's Avatar
 
Join Date: May 2013
Location: Rio Grande do Sul
Posts: 1,208
Reputation: 142
Default Re: TextDraws PlayHarD

PHP Code:
#include <a_samp>
#pragma tabsize 0

new Text:Textdraw0;
new 
Text:Textdraw1;
new 
Text:Textdraw2;
new 
Text:Textdraw3;
new 
Text:txtTimeDisp;
new 
hourminute;
new 
horadkn[32];
forward UpdateTime();
//--------------------------------------------------
public UpdateTime()
{
gettime(hourminute);
format(horadkn,32,"%02d:%02d",hour,minute);
TextDrawSetString(txtTimeDisp,horadkn);

       
SetWorldTime(hour);

    new 
x=0;
    while(
x!=MAX_PLAYERS) {
        if(
IsPlayerConnected(x) && GetPlayerState(x) != PLAYER_STATE_NONE) {
            
SetPlayerTime(x,hour,minute);
         }
         
x++;
    }
}

//--------------------------------------------------
public OnFilterScriptInit()
{
    

     
Textdraw0 TextDrawCreate(541.000000405.000000"Base");
    
TextDrawBackgroundColor(Textdraw0255);
    
TextDrawFont(Textdraw01);
    
TextDrawLetterSize(Textdraw00.5599982.599998);
    
TextDrawColor(Textdraw0, -7601921);
    
TextDrawSetOutline(Textdraw01);
    
TextDrawSetProportional(Textdraw01);

    
Textdraw1 TextDrawCreate(584.000000408.000000"Oi");
    
TextDrawBackgroundColor(Textdraw1255);
    
TextDrawFont(Textdraw11);
    
TextDrawLetterSize(Textdraw10.5099982.299998);
    
TextDrawColor(Textdraw1, -1);
    
TextDrawSetOutline(Textdraw11);
    
TextDrawSetProportional(Textdraw11);

    
Textdraw2 TextDrawCreate(518.000000425.000000"www.baseoi.forumeiros.com");
    
TextDrawBackgroundColor(Textdraw2255);
    
TextDrawFont(Textdraw21);
    
TextDrawLetterSize(Textdraw20.2099991.100000);
    
TextDrawColor(Textdraw2, -1);
    
TextDrawSetOutline(Textdraw21);
    
TextDrawSetProportional(Textdraw21);


    
     
txtTimeDisp TextDrawCreate(558.000000436.000000,"00:00");
     
TextDrawBackgroundColor(txtTimeDisp255);
    
TextDrawFont(txtTimeDisp1);
    
TextDrawLetterSize(txtTimeDisp0.2099991.000000);
    
TextDrawColor(txtTimeDisp, -1);
    
TextDrawSetOutline(txtTimeDisp0);
    
TextDrawSetProportional(txtTimeDisp1);
    
TextDrawSetShadow(txtTimeDisp1);

    
UpdateTime();
    
SetTimer("UpdateTime",1000 60,1);

    for(new 
iMAX_PLAYERS++)
    {
        if(
IsPlayerConnected(i))
        {
            
TextDrawShowForPlayer(iTextdraw0);
            
TextDrawShowForPlayer(iTextdraw1);
            
TextDrawShowForPlayer(iTextdraw2);
            
TextDrawShowForPlayer(iTextdraw3);
        }
    }
    return 
1;
}
//--------------------------------------------------

public OnPlayerDeath(playeridkilleridreason)
{
    
TextDrawHideForPlayer(playerid,txtTimeDisp);
     return 
1;
}

//--------------------------------------------------
//--------------------------------------------------

public OnPlayerSpawn(playerid)
{
    
TextDrawShowForPlayer(playerid,txtTimeDisp);

    
gettime(hourminute);
    
SetPlayerTime(playerid,hour,minute);

    return 
1;
}

//--------------------------------------------------
public OnFilterScriptExit()
{
    
TextDrawHideForAll(Textdraw0);
    
TextDrawDestroy(Textdraw0);
    
TextDrawHideForAll(Textdraw1);
    
TextDrawDestroy(Textdraw1);
    
TextDrawHideForAll(Textdraw2);
    
TextDrawDestroy(Textdraw2);
    
TextDrawHideForAll(Textdraw3);
    
TextDrawDestroy(Textdraw3);
    return 
1;
}

public 
OnPlayerConnect(playerid)
{
    
gettime(hourminute);
    
SetPlayerTime(playerid,hour,minute);
    
TextDrawShowForPlayer(playeridTextdraw0);
    
TextDrawShowForPlayer(playeridTextdraw1);
    
TextDrawShowForPlayer(playeridTextdraw2);
    
TextDrawShowForPlayer(playeridTextdraw3);
    return 
1;

__________________
Precisando de algum Script/Sistema?
Chama discord: ProKillerPa#7113
ProKillerpa is offline   Reply With Quote
Old 02/07/2013, 11:29 PM   #9
MaTeuS_FeLiPe
Little Clucker
 
Join Date: Aug 2012
Location: Minas Gerais
Posts: 38
Reputation: -3
Default Re: TextDraws PlayHarD

JA ARUMEI OS ERROS MAS QUERIA TIPO O PLAY HARD'-'
MaTeuS_FeLiPe is offline   Reply With Quote
Old 03/07/2013, 01:02 AM   #10
Standby
Huge Clucker
 
Standby's Avatar
 
Join Date: Jun 2013
Posts: 238
Reputation: 6
Default Re: TextDraws PlayHarD

então ta ai depois você arruma o resto só dexei do geito que você pediu ¬¬


ta ae cara so o text de cima o resto você tenta fazer to sem tempo manin
pawn Code:
new Text:Textdraw0;
new Text:Textdraw1;
public OnGameModeInit()
{
Textdraw0 = TextDrawCreate(283.000000, 401.000000, "Forum");
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 3);
    TextDrawLetterSize(Textdraw0, 0.380000, 2.500000);
    TextDrawColor(Textdraw0, -1);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
    TextDrawSetSelectable(Textdraw0, 1);

    Textdraw1 = TextDrawCreate(283.000000, 366.000000, "Brasil~r~Live~w~HarD");
    TextDrawBackgroundColor(Textdraw1, 255);
    TextDrawFont(Textdraw1, 3);
    TextDrawLetterSize(Textdraw1, 0.559999, 4.299998);
    TextDrawColor(Textdraw1, -1);
    TextDrawSetOutline(Textdraw1, 1);
    TextDrawSetProportional(Textdraw1, 1);
    TextDrawSetSelectable(Textdraw1, 1);

    for(new i; i < MAX_PLAYERS; i ++)
    {
        if(IsPlayerConnected(i))
        {
            TextDrawShowForPlayer(i, Textdraw0);
            TextDrawShowForPlayer(i, Textdraw1);
        }
    }

    return 1;
}

public OnGameModeExit()
{
TextDrawHideForAll(Textdraw0);
    TextDrawDestroy(Textdraw0);
    TextDrawHideForAll(Textdraw1);
    TextDrawDestroy(Textdraw1);

    return 1;
}


public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);
    return 1;
}
Standby is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] PlayHard Radio - My second filterscript. PlayHard Filterscripts 9 14/07/2012 12:49 AM
[Include] PlayHard's Freezer PlayHard Includes 15 31/12/2011 09:51 PM
PlayHard Freeroam. PlayHard General 5 08/12/2011 06:51 PM
[FilterScript] PlayHard Sprunk PlayHard Filterscripts 3 02/12/2011 11:43 AM


All times are GMT. The time now is 05:39 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.