[Ajuda] Textdraw nгo aparece
#1

Eu criei um sistema de Patente mais nao esta aparecendo na tela alguem sabe se esta faltando alguma coisa?, me ajudem ae...

PHP код:
#include <a_samp>
//News
new Text:TextPatente;
public 
OnFilterScriptInit()
{
    
TextPatente TextDrawCreate(40.000000,322.000000,"]Patente: "); //Crie sua textdraw
    
TextDrawAlignment(TextPatente,0);
    
TextDrawBackgroundColor(TextPatente,0x000000ff);
    
TextDrawFont(TextPatente,2);
    
TextDrawLetterSize(TextPatente,0.199999,1.500000);
    
TextDrawColor(TextPatente,0x00ff00ff);
    
TextDrawSetProportional(TextPatente,1);
    
TextDrawSetShadow(TextPatente,1);
    
TextDrawSetOutline(TextPatente1);
    return 
1;
}
public 
OnPlayerSpawn(playerid)
{
    new 
str[50];
    if(
GetPlayerScore(playerid) >= 10)
    {
        
format(strsizeof(str), "~g~Patente: ~w~Novato");
        
TextDrawSetString(TextPatentestr);
    }
    if(
GetPlayerScore(playerid) >= 300)
    {
        
format(strsizeof(str), "~g~Patente: ~w~mediano");
        
TextDrawSetString(TextPatentestr);
    }
    if(
GetPlayerScore(playerid) >= 600)
    {
        
format(strsizeof(str), "~g~Patente: ~w~amador");
        
TextDrawSetString(TextPatentestr);
    }
    if(
GetPlayerScore(playerid) >= 1000)
    {
        
format(strsizeof(str), "~g~Patente: ~w~master");
        
TextDrawSetString(TextPatentestr);
    }
    
TextDrawShowForPlayer(playeridTextPatente);
    return 
1;

Reply


Messages In This Thread
Textdraw nгo aparece - by maxblaya01 - 29.07.2015, 00:48
Re: ME AJUDA AQUI - by LockedLucas - 29.07.2015, 00:51
Re: ME AJUDA AQUI - by Dayvison_ - 29.07.2015, 01:10
Re: ME AJUDA AQUI - by IgorLuiz - 29.07.2015, 02:02
Re: ME AJUDA AQUI - by maxblaya01 - 29.07.2015, 04:34
Re: ME AJUDA AQUI - by IgorLuiz - 29.07.2015, 04:51
Re: ME AJUDA AQUI - by maxblaya01 - 29.07.2015, 04:56
Re: ME AJUDA AQUI - by IgorLuiz - 29.07.2015, 05:29
Re: ME AJUDA AQUI - by maxblaya01 - 29.07.2015, 05:44
Re: ME AJUDA AQUI - by maxblaya01 - 29.07.2015, 15:42

Forum Jump:


Users browsing this thread: 1 Guest(s)