SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 19/11/2011, 01:28 AM   #1
[Red]Maninho
Huge Clucker
 
[Red]Maninho's Avatar
 
Join Date: Jun 2011
Posts: 350
Reputation: 2
Default [Ajuda] Bug No TextDrawn

Ola Pessoal, Estou Aki Denovo!

Meu TextDrawn Bugou, Nao Sei Oque Ta Dando, Tem Algo Imteronpendo
Quando Eu Logo No Server, Que Aparece Negocio De Escolher SKIN o TextDrawn Aparece
Depois Que Escolho, Ele Desaparece, Nao Sei Oque Esta Acontecendo, Ja Mudei Meu Sistema De Players Online
e Mesmo Assim, Ta Dando a Mesma Coisa

PHP Code:
OngamemodeInt 

OnlinE 
TextDrawCreate(34.000000320.000000,"~r~Red~b~Bull ~w~1 ~g~Online"); 
TextDrawAlignment(OnlinE,0); 
TextDrawBackgroundColor(OnlinE255); 
TextDrawFont(OnlinE1); 
TextDrawLetterSize(OnlinE0.4100001.600000); 
TextDrawColor(OnlinE, -1); 
TextDrawSetOutline(OnlinE1); 
TextDrawSetProportional(OnlinE1); 
TextDrawSetShadow(OnlinE,1); 

for(new 
iMAX_PLAYERS++) 

if(
IsPlayerConnected(i)) 

TextDrawShowForPlayer(i,OnlinE); 



forward PlayerOn(playerid); 
SetTimer("PlayerOn"8001); 

public 
PlayerOn(playerid

new 
Playersnoservidor 0
new 
string[128]; 
for(new 
0GetMaxPlayers(); i++) 

if (
IsPlayerConnected(i)) 

Playersnoservidor++; 


format(string,sizeof(string),"~r~Red~b~Bull ~w~%i ~g~Online"Playersnoservidor); 
TextDrawSetString(OnlinEstring); 


public 
OnPlayerConnect(playerid

TextDrawShowForPlayer(playeridOnlinE); 
[Red]Maninho is offline   Reply With Quote
Old 19/11/2011, 01:34 AM   #2
NandoTroll
Big Clucker
 
NandoTroll's Avatar
 
Join Date: Nov 2011
Posts: 50
Reputation: 1
Default Re: [Ajuda] Bug No TextDrawn

Poste sua public OnPlayerSpawn.
NandoTroll is offline   Reply With Quote
Old 19/11/2011, 01:50 AM   #3
[Red]Maninho
Huge Clucker
 
[Red]Maninho's Avatar
 
Join Date: Jun 2011
Posts: 350
Reputation: 2
Default Respuesta: [Ajuda] Bug No TextDrawn

PHP Code:
public OnPlayerSpawn(playerid)
{
//Arara
if(Info[playerid][Arara]) { SetPlayerAttachedObject(playerid,01907910.319503, -0.089340, -0.1855760.0000000.0000000.0000001.0000001.0000001.000000 ); }
//Fim
if(dini_Isset("skins.ini",PlayerName(playerid))) SetPlayerSkin(playerid,dini_Int("skins.ini",PlayerName(playerid)));
emcasa[playerid] = 0;
new 
aname[MAX_PLAYER_NAME];
GetPlayerName(playeridanameMAX_PLAYER_NAME);
format(filesizeof(file), PASTA_CONTASaname);
TextDrawHideForPlayer(playeridtopblack);
TextDrawHideForPlayer(playeridbottomblack);
TextDrawHideForPlayer(playeriddrogas1);
TextDrawHideForPlayer(playeriddrogas2);
TextDrawShowForPlayer(playeridgText2[playerid]);
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid11840.00.00.0); //
GangZoneShowForPlayer(playerid,favela,0xFF0000AA);
GangZoneShowForPlayer(playeridareadmlv0xFF000096);
//bottttttttttttt=============================
//if(IsPlayerNPC(playerid))
//{
//new npcname[MAX_PLAYER_NAME];
//GetPlayerName(playerid, npcname, sizeof(npcname));
//if(!strcmp(npcname,"Samanta",true)) {
//SetPlayerColor(playerid,0x800080AA);
//SetPlayerSkin(playerid,11);
//GivePlayerWeapon(playerid,24,99999);
//}
//if(!strcmp(npcname,"Pimentel",true)) {
//SetPlayerColor(playerid,0x008000AA);
//SetPlayerSkin(playerid,113);
//GivePlayerWeapon(playerid,24,99999);
//}
///if(!strcmp(npcname,"Ronildo",true)) {
//SetPlayerColor(playerid,0x00FF00AA);
//SetPlayerSkin(playerid,70);
//}
//return 1;
//}
//variavel
//Carros Tunados Spawn
new vehicleid;
if (
vehicleid == Maninho2)
{
AddVehicleComponent(Maninho2,1010);
AddVehicleComponent(Maninho2,1087);
AddVehicleComponent(Maninho2,1039);
AddVehicleComponent(Maninho2,1146);
AddVehicleComponent(Maninho2,1148);
AddVehicleComponent(Maninho2,1172);
AddVehicleComponent(Maninho2,1098);
ChangeVehiclePaintjob(Maninho2,1);
ChangeVehicleColor(Maninho2,1,1);
}
//FIm Carros Tunados Spawn
gmod[playerid] = 0;
noevento[playerid] = 0;
GPS_Spawned[playerid] = 1;
nogame[playerid] = 0;
Logarprof(playerid);
autoescola[playerid] = 0;
prefls[playerid] = 0;
prefsf[playerid] = 0;
preflv[playerid] = 0;
nobarls[playerid] = 0;
nobarsf[playerid] = 0;
nobarlv[playerid] = 0;
nobarfc[playerid] = 0;
nautlls[playerid] = 0;
algemado[playerid] = 0;
sequestro[playerid] = 0;
vercmds[playerid]=0;
verpms[playerid]=0;
dini_IntSet(file"convitent"0);
dini_IntSet(file"Entrevista"0);
dini_IntSet(file"MN"0);
//fim
if(NaFaculdade[playerid] == 1){
new 
Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
PlayerPlaySound(playerid,1076,X,Y,Z);
SetPlayerHealth(playerid,999999);
SetPlayerPos(playerid,1494.4003,1304.2990,1093.2891);
SetPlayerInterior(playerid3);
TogglePlayerControllable(playerid1);
}
if(
pAdmin[playerid] == 0){
admin[playerid] = 0;
dini_IntSet(file"aAdmin"0);
}
if(
dini_Int(file"Procurado") == 1){
Procurados[playerid]= 1;
}
if(
dini_Int(file"Procurado") == 0){
Procurados[playerid]= 0;
}
if(
pAdmin[playerid] == ){
admin[playerid] = 1;
}
if(
pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == || pAdmin[playerid] == 5){
admin[playerid] = 1;
dini_IntSet(file"aAdmin"1);
}
if(
dini_Int(file"VIP") == 1){
vip[playerid] = 1;
SetPlayerMapIcon(playerid11568.0254,-1896.3612,13.5605230); //Bar Vip LS
SetPlayerMapIcon(playerid2, -2155.2612,645.3902,52.3672230); //Bar Vip SF
SetPlayerMapIcon(playerid32489.9238,2063.7310,10.8203230); //Bar VIP LV
SendClientMessage(playeridverdel"[Info-RedBull] Você é Um Jogador VIP, Aproveite!");
SendClientMessage(playeridverdel"[Info-RedBull] Veja Os Seus Comando Usando /comandosvip");
}
if(
dini_Int(file"VIP") == 0){
vip[playerid] = 0;
}
if(
dini_Int(file"Lutas") == 1){
SetPlayerFightingStyle (playeridFIGHT_STYLE_ELBOW);
}
if(
dini_Int(file"Lutas") == 2){
SetPlayerFightingStyle (playeridFIGHT_STYLE_BOXING);
}
if(
dini_Int(file"Lutas") == 3){
SetPlayerFightingStyle(playeridFIGHT_STYLE_GRABKICK);
}
if(
dini_Int(file"Lutas") == 4){
SetPlayerFightingStyle (playeridFIGHT_STYLE_KNEEHEAD);
}
if(
dini_Int(file"Lutas") == 5){
SetPlayerFightingStyle (playeridFIGHT_STYLE_KUNGFU);
}
if(
dini_Int(file"Lutas") == 6){
SetPlayerFightingStyle (playeridFIGHT_STYLE_NORMAL);
}
if(
dini_Int(file,"novato") == 1){
new 
string22[256];
new 
ip2[128];
GetPlayerIp(playerid,ip2,128);
format(string22sizeof(string22), "{FF0000}| Seu nick: {00CC00}%s  {FF0000}» Seu ID: %d |"aname,playerid);
SendClientMessage(playerid0x0080FFAAstring22);
ShowPlayerDialog(playeridRegrasDIALOG_STYLE_MSGBOX"Leia Com Atenção""~> Você Nascerá Em Los Santos\n~> Voce Pode Ter 2 Casas\n~> A 1° é Degraça e a 2° Voce Paga\n~> Estuce Na Biblioteca: /biblioteca\n~> Troque Sua Skin Usando /gps\n~> Pegue Sua Carteira De Trabalho No /gps\n~> Concorda?.""Concordo""Discordo");
SendClientMessage(playerid0x99FFFFAA"[Info-RedBull] Veja a Ajuda Fila Para Ser Atendido Por 1 Admin {00CC00}/ajudafila");
SendClientMessage(playerid0x99FFFFAA"[Info-RedBull] Se Nao Tiver Admin OnlineDigite: {00CC00}/comandos, /ajuda ");
SendClientMessage(playerid0x99FFFFAA"[Info-RedBull] Voce Nasceu Com Level 10 e 10 Mil, Ganhe Mais e Tenha Uma Boa Profissao");
SendClientMessage(playerid0x99FFFFAA"[Info-RedBull] Voce Tera Direito a 2 Casas Com 2 Veiculos a 1° é Gratis!");
}
if(
dini_Int(file"Preso") == 1){
SetPlayerPos(playerid263.8820,77.4002,1001.0391);
SetPlayerInterior(playerid6);
SetPlayerHealth(playerid,99999);
ResetPlayerWeapons(playerid);
TogglePlayerControllable(playerid1);
SendClientMessage(playeridmsgdm"[Info-RedBull] Você está preso. Para ser solto, contrate um advogado ou pague a fiança /fianca");
preso[playerid] = 1;
dini_IntSet(file2"ofmaconha"0);
dini_IntSet(file2"ofcocaina"0);
dini_IntSet(file2"ofcrack"0);
dini_IntSet(file"usoudroga"0);
dini_IntSet(file"tmaconha"0);
dini_IntSet(file"tcrack"0);
dini_IntSet(file"tcocaina"0);
dini_IntSet(file"Maconha"0);
dini_IntSet(file"Crack"0);
dini_IntSet(file"Cocaina"0);
}
return 
1;

[Red]Maninho is offline   Reply With Quote
Old 19/11/2011, 01:59 AM   #4
NandoTroll
Big Clucker
 
NandoTroll's Avatar
 
Join Date: Nov 2011
Posts: 50
Reputation: 1
Default Re: [Ajuda] Bug No TextDrawn

vc ta usando mtas texdrawns em OnPlayerSpawn tenta colocar todas para carregar juntas
Code:
public OnPlayerSpawn(playerid) 
{
TextDrawShowForPlayer(playerid, OnlinE);
//Arara 
if(Info[playerid][Arara]) { SetPlayerAttachedObject(playerid,0, 19079, 1, 0.319503, -0.089340, -0.185576, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); } 
//Fim 
if(dini_Isset("skins.ini",PlayerName(playerid))) SetPlayerSkin(playerid,dini_Int("skins.ini",PlayerName(playerid))); 
emcasa[playerid] = 0; 
new aname[MAX_PLAYER_NAME]; 
GetPlayerName(playerid, aname, MAX_PLAYER_NAME); 
format(file, sizeof(file), PASTA_CONTAS, aname); 
TextDrawHideForPlayer(playerid, topblack); 
TextDrawHideForPlayer(playerid, bottomblack); 
TextDrawHideForPlayer(playerid, drogas1); 
TextDrawHideForPlayer(playerid, drogas2); 
TextDrawShowForPlayer(playerid, gText2[playerid]); 
SetPlayerInterior(playerid,0); 
PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0); // 
GangZoneShowForPlayer(playerid,favela,0xFF0000AA); 
GangZoneShowForPlayer(playerid, areadmlv, 0xFF000096); 
//bottttttttttttt============================= 
//if(IsPlayerNPC(playerid)) 
//{ 
//new npcname[MAX_PLAYER_NAME]; 
//GetPlayerName(playerid, npcname, sizeof(npcname)); 
//if(!strcmp(npcname,"Samanta",true)) { 
//SetPlayerColor(playerid,0x800080AA); 
//SetPlayerSkin(playerid,11); 
//GivePlayerWeapon(playerid,24,99999); 
//} 
//if(!strcmp(npcname,"Pimentel",true)) { 
//SetPlayerColor(playerid,0x008000AA); 
//SetPlayerSkin(playerid,113); 
//GivePlayerWeapon(playerid,24,99999); 
//} 
///if(!strcmp(npcname,"Ronildo",true)) { 
//SetPlayerColor(playerid,0x00FF00AA); 
//SetPlayerSkin(playerid,70); 
//} 
//return 1; 
//} 
//variavel 
//Carros Tunados Spawn 
new vehicleid; 
if (vehicleid == Maninho2) 
{ 
AddVehicleComponent(Maninho2,1010); 
AddVehicleComponent(Maninho2,1087); 
AddVehicleComponent(Maninho2,1039); 
AddVehicleComponent(Maninho2,1146); 
AddVehicleComponent(Maninho2,1148); 
AddVehicleComponent(Maninho2,1172); 
AddVehicleComponent(Maninho2,1098); 
ChangeVehiclePaintjob(Maninho2,1); 
ChangeVehicleColor(Maninho2,1,1); 
} 
//FIm Carros Tunados Spawn 
gmod[playerid] = 0; 
noevento[playerid] = 0; 
GPS_Spawned[playerid] = 1; 
nogame[playerid] = 0; 
Logarprof(playerid); 
autoescola[playerid] = 0; 
prefls[playerid] = 0; 
prefsf[playerid] = 0; 
preflv[playerid] = 0; 
nobarls[playerid] = 0; 
nobarsf[playerid] = 0; 
nobarlv[playerid] = 0; 
nobarfc[playerid] = 0; 
nautlls[playerid] = 0; 
algemado[playerid] = 0; 
sequestro[playerid] = 0; 
vercmds[playerid]=0; 
verpms[playerid]=0; 
dini_IntSet(file, "convitent", 0); 
dini_IntSet(file, "Entrevista", 0); 
dini_IntSet(file, "MN", 0); 
//fim 
if(NaFaculdade[playerid] == 1){ 
new Float:X,Float:Y,Float:Z; 
GetPlayerPos(playerid,X,Y,Z); 
PlayerPlaySound(playerid,1076,X,Y,Z); 
SetPlayerHealth(playerid,999999); 
SetPlayerPos(playerid,1494.4003,1304.2990,1093.2891); 
SetPlayerInterior(playerid, 3); 
TogglePlayerControllable(playerid, 1); 
} 
if(pAdmin[playerid] == 0){ 
admin[playerid] = 0; 
dini_IntSet(file, "aAdmin", 0); 
} 
if(dini_Int(file, "Procurado") == 1){ 
Procurados[playerid]= 1; 
} 
if(dini_Int(file, "Procurado") == 0){ 
Procurados[playerid]= 0; 
} 
if(pAdmin[playerid] == 1 ){ 
admin[playerid] = 1; 
} 
if(pAdmin[playerid] == 2 || pAdmin[playerid] == 3 || pAdmin[playerid] == 4 || pAdmin[playerid] == 5){ 
admin[playerid] = 1; 
dini_IntSet(file, "aAdmin", 1); 
} 
if(dini_Int(file, "VIP") == 1){ 
vip[playerid] = 1; 
SetPlayerMapIcon(playerid, 1, 1568.0254,-1896.3612,13.5605, 23, 0); //Bar Vip LS 
SetPlayerMapIcon(playerid, 2, -2155.2612,645.3902,52.3672, 23, 0); //Bar Vip SF 
SetPlayerMapIcon(playerid, 3, 2489.9238,2063.7310,10.8203, 23, 0); //Bar VIP LV 
SendClientMessage(playerid, verdel, "[Info-RedBull] Você é Um Jogador VIP, Aproveite!"); 
SendClientMessage(playerid, verdel, "[Info-RedBull] Veja Os Seus Comando Usando /comandosvip"); 
} 
if(dini_Int(file, "VIP") == 0){ 
vip[playerid] = 0; 
} 
if(dini_Int(file, "Lutas") == 1){ 
SetPlayerFightingStyle (playerid, FIGHT_STYLE_ELBOW); 
} 
if(dini_Int(file, "Lutas") == 2){ 
SetPlayerFightingStyle (playerid, FIGHT_STYLE_BOXING); 
} 
if(dini_Int(file, "Lutas") == 3){ 
SetPlayerFightingStyle(playerid, FIGHT_STYLE_GRABKICK); 
} 
if(dini_Int(file, "Lutas") == 4){ 
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KNEEHEAD); 
} 
if(dini_Int(file, "Lutas") == 5){ 
SetPlayerFightingStyle (playerid, FIGHT_STYLE_KUNGFU); 
} 
if(dini_Int(file, "Lutas") == 6){ 
SetPlayerFightingStyle (playerid, FIGHT_STYLE_NORMAL); 
} 
if(dini_Int(file,"novato") == 1){ 
new string22[256]; 
new ip2[128]; 
GetPlayerIp(playerid,ip2,128); 
format(string22, sizeof(string22), "{FF0000}| Seu nick: {00CC00}%s  {FF0000}» Seu ID: %d |", aname,playerid); 
SendClientMessage(playerid, 0x0080FFAA, string22); 
ShowPlayerDialog(playerid, Regras, DIALOG_STYLE_MSGBOX, "Leia Com Atenção", "~> Você Nascerá Em Los Santos\n~> Voce Pode Ter 2 Casas\n~> A 1° é Degraça e a 2° Voce Paga\n~> Estuce Na Biblioteca: /biblioteca\n~> Troque Sua Skin Usando /gps\n~> Pegue Sua Carteira De Trabalho No /gps\n~> Concorda?.", "Concordo", "Discordo"); 
SendClientMessage(playerid, 0x99FFFFAA, "[Info-RedBull] Veja a Ajuda Fila Para Ser Atendido Por 1 Admin {00CC00}/ajudafila"); 
SendClientMessage(playerid, 0x99FFFFAA, "[Info-RedBull] Se Nao Tiver Admin OnlineDigite: {00CC00}/comandos, /ajuda "); 
SendClientMessage(playerid, 0x99FFFFAA, "[Info-RedBull] Voce Nasceu Com Level 10 e 10 Mil, Ganhe Mais e Tenha Uma Boa Profissao"); 
SendClientMessage(playerid, 0x99FFFFAA, "[Info-RedBull] Voce Tera Direito a 2 Casas Com 2 Veiculos a 1° é Gratis!"); 
} 
if(dini_Int(file, "Preso") == 1){ 
SetPlayerPos(playerid, 263.8820,77.4002,1001.0391); 
SetPlayerInterior(playerid, 6); 
SetPlayerHealth(playerid,99999); 
ResetPlayerWeapons(playerid); 
TogglePlayerControllable(playerid, 1); 
SendClientMessage(playerid, msgdm, "[Info-RedBull] Você está preso. Para ser solto, contrate um advogado ou pague a fiança /fianca"); 
preso[playerid] = 1; 
dini_IntSet(file2, "ofmaconha", 0); 
dini_IntSet(file2, "ofcocaina", 0); 
dini_IntSet(file2, "ofcrack", 0); 
dini_IntSet(file, "usoudroga", 0); 
dini_IntSet(file, "tmaconha", 0); 
dini_IntSet(file, "tcrack", 0); 
dini_IntSet(file, "tcocaina", 0); 
dini_IntSet(file, "Maconha", 0); 
dini_IntSet(file, "Crack", 0); 
dini_IntSet(file, "Cocaina", 0); 
} 
return 1; 
}
Tenta ai, setando em OnPlayerSpawn a text draw será exibida na hora que o player spawnar. Talvez resolva seu problema \õ/
NandoTroll is offline   Reply With Quote
Old 19/11/2011, 02:12 AM   #5
rjjj
Guest
 
Posts: n/a
Default Re: [Ajuda] Bug No TextDrawn

Isto deve resolver o seu problema .


Reformei o seu código por completo, retirando partes que poderiam estar causando o problema .


Apague o seu código e coloque:



pawn Code:
//No Topo do GM:

new Text:OnlineText;
new TotalJogadoresOn;
new TextSTR[37];



//Na public OnGameModeInit:

OnlineText = TextDrawCreate(34.000000, 320.000000,"~r~Red~b~Bull ~w~1 ~g~Online");
TextDrawAlignment(OnlineText,0);
TextDrawBackgroundColor(OnlineText, 255);
TextDrawFont(OnlineText, 1);
TextDrawLetterSize(OnlineText, 0.410000, 1.600000);
TextDrawColor(OnlineText, -1);
TextDrawSetOutline(OnlineText, 1);
TextDrawSetProportional(OnlineText, 1);
TextDrawSetShadow(OnlineText,1);



//Na public OnPlayerRequestClass:

TotalJogadoresOn++;
format(TextSTR, 37, "~r~Red~b~Bull ~w~%i ~g~Online", TotalJogadoresOn);
TextDrawSetString(OnlineText, TextSTR);
TextDrawShowForAll(OnlineText);



//Na public OnPlayerDisconnect:

TotalJogadoresOn--;
format(TextSTR, 37, "~r~Red~b~Bull ~w~%i ~g~Online", TotalJogadoresOn);
TextDrawSetString(OnlineText, TextSTR);



Caso o problema persista, verifique se o seu GameMode não tem algum código que utilize as funções TextDrawHideForPlayer ou TextDrawDestroy e atue em todos os TextDraws .



Espero ter ajudado .
  Reply With Quote
Old 19/11/2011, 03:13 AM   #6
[KoS]Izaac
Big Clucker
 
[KoS]Izaac's Avatar
 
Join Date: Sep 2011
Posts: 120
Reputation: 6
Default Re: [Ajuda] Bug No TextDrawn

Marca oficial do rjjj
[KoS]Izaac is offline   Reply With Quote
Old 19/11/2011, 07:37 PM   #7
[Red]Maninho
Huge Clucker
 
[Red]Maninho's Avatar
 
Join Date: Jun 2011
Posts: 350
Reputation: 2
Default Respuesta: [Ajuda] Bug No TextDrawn

Olha, é Tipo Algo Nessa Public
pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
SetPlayerSkin(playerid,dini_Int(file, "Skin"));
ShowPlayerDialog(playerid, AVISO, DIALOG_STYLE_MSGBOX,"{FF0000}Bem Vindo","{2F991A}Bem Vindo Ao Servidor RedBull\n\nAgradeçemos a Preferencia", "Jogar", "Sair");
PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid,"Bom Jogo", 2000, 1);
SetPlayerCameraPos(playerid,1535.0704,-1387.3665,320.7314);
SetPlayerCameraLookAt(playerid,1513.1594,2745.0994,15.8572);
SetPlayerPos(playerid, 1540.6331,-1372.2495,317.3438);
SetPlayerInterior(playerid, 0);
PlayerPlaySound(playerid,1097,2808.1721,-1425.4561,55.2740);//musica on
ApplyAnimation(playerid,"STRIP", "STR_Loop_A", 1.800001, 1, 0, 0, 1, 600);
return 1;
}

^^ o TextDrawn Desaparece Quando Eu Clico Em "JOGAR" Ou Dou "ENTER" Qe Da Na Mesma Coisa!
[Red]Maninho is offline   Reply With Quote
Old 19/11/2011, 07:53 PM   #8
NandoTroll
Big Clucker
 
NandoTroll's Avatar
 
Join Date: Nov 2011
Posts: 50
Reputation: 1
Default Re: [Ajuda] Bug No TextDrawn

Tente esse
pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
SetPlayerSkin(playerid,dini_Int(file, "Skin"));
ShowPlayerDialog(playerid, AVISO, DIALOG_STYLE_MSGBOX,"{FF0000}Bem Vindo","{2F991A}Bem Vindo Ao Servidor RedBull\n\nAgradeçemos a Preferencia", "Jogar", "Sair");
PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.0);
SetPlayerCameraPos(playerid,1535.0704,-1387.3665,320.7314);
SetPlayerCameraLookAt(playerid,1513.1594,2745.0994,15.8572);
SetPlayerPos(playerid, 1540.6331,-1372.2495,317.3438);
SetPlayerInterior(playerid, 0);
PlayerPlaySound(playerid,1097,2808.1721,-1425.4561,55.2740);//musica on
ApplyAnimation(playerid,"STRIP", "STR_Loop_A", 1.800001, 1, 0, 0, 1, 600);
return 1;
}
NandoTroll is offline   Reply With Quote
Old 19/11/2011, 07:59 PM   #9
[Red]Maninho
Huge Clucker
 
[Red]Maninho's Avatar
 
Join Date: Jun 2011
Posts: 350
Reputation: 2
Default Respuesta: [Ajuda] Bug No TextDrawn

Só 1 Pergunta Antes De Eu Mudar Akie

Oque Voce Mudou?
[Red]Maninho is offline   Reply With Quote
Old 19/11/2011, 08:00 PM   #10
NandoTroll
Big Clucker
 
NandoTroll's Avatar
 
Join Date: Nov 2011
Posts: 50
Reputation: 1
Default Re: [Ajuda] Bug No TextDrawn

retirei isso desativa algumas textdraws quando é executado
pawn Code:
GameTextForPlayer(playerid,"Bom Jogo", 2000, 1);
NandoTroll 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
[Ajuda] TextDrawn Desapareceu [Red]Maninho Português/Portuguese 3 08/11/2011 11:37 PM
[Ajuda] TextDrawn sijoga Português/Portuguese 4 16/06/2011 04:02 PM
[AJUDA] TextDrawn deregudegu Português/Portuguese 2 06/03/2011 01:55 AM
[AJUDA]TextDrawn Nas Casas Power_GamerX Português/Portuguese 12 28/01/2011 11:33 AM


All times are GMT. The time now is 09:20 PM.


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