02.05.2013, 03:21
Bom To Com Um sistema de guerra no morro mais o textdraw das orgs de pontos nao aparece
a guerra inicia mais n fica tipo Bope : Pontos
Segue o Code
as TextDraw
a guerra inicia mais n fica tipo Bope : Pontos
Segue o Code
pawn Код:
public MorroP()
{
new GDPstring[128];
for(new i=0; i<MaiorID; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerInMorro(i) && Morro[Guerra] >= 1)
{
format(GDPstring,sizeof(GDPstring),"~b~~h~B.O.P.E~n~~w~Pontos: ~y~%d",MorroPontos[2]);
TextDrawSetString(TextMorro1, GDPstring);
format(GDPstring,sizeof(GDPstring),"~g~~h~Groove Street~n~~w~Pontos: ~y~%d",MorroPontos[14]);
TextDrawSetString(TextMorro3, GDPstring);
format(GDPstring,sizeof(GDPstring),"~y~Los Vagos~n~~w~Pontos: ~y~%d",MorroPontos[18]);
TextDrawSetString(TextMorro4, GDPstring);
format(GDPstring,sizeof(GDPstring),"~r~~h~Comando Vermelho~n~~w~Pontos: ~y~%d",MorroPontos[19]);
TextDrawSetString(TextMorro5, GDPstring);
format(GDPstring,sizeof(GDPstring),"~b~~h~~h~Los Aztecas~n~~w~Pontos: ~y~%d",MorroPontos[5]);
TextDrawSetString(TextMorro6, GDPstring);
/*format(GDPstring,sizeof(GDPstring),"~r~Hells Angels~n~~w~Pontos: ~y~%d",MorroPontos[21]);
TextDrawSetString(TextMorro7, GDPstring);
format(GDPstring,sizeof(GDPstring),"Mongols M.C.~n~~w~Pontos: ~y~%d",MorroPontos[22]);
TextDrawSetString(TextMorro8, GDPstring);
format(GDPstring,sizeof(GDPstring),"Sons Of Anarchy~n~~w~Pontos: ~y~%d",MorroPontos[23]);
TextDrawSetString(TextMorro9, GDPstring);*/
format(GDPstring,sizeof(GDPstring),"~p~Ballas~n~~w~Pontos: ~y~%d",MorroPontos[17]);
TextDrawSetString(TextMorro10, GDPstring);
format(GDPstring,sizeof(GDPstring),"~g~~h~~h~PCC~n~~w~Pontos: ~y~%d",MorroPontos[20]);
TextDrawSetString(TextMorro11, GDPstring);
//TextDrawShowForPlayer(i, TextMorro2);
TextDrawShowForPlayer(i, TextMorro1);
TextDrawShowForPlayer(i, TextMorro3);
TextDrawShowForPlayer(i, TextMorro4);
TextDrawShowForPlayer(i, TextMorro5);
TextDrawShowForPlayer(i, TextMorro6);
/*TextDrawShowForPlayer(i, TextMorro7);
TextDrawShowForPlayer(i, TextMorro8);
TextDrawShowForPlayer(i, TextMorro9);*/
TextDrawShowForPlayer(i, TextMorro10);
TextDrawShowForPlayer(i, TextMorro11);
}
}
}
return 1;
}
pawn Код:
TextMorro1 = TextDrawCreate(510.000000, 125.000000, "~b~~h~B.O.P.E~n~~w~Pontos: ~y~3000");
TextDrawBackgroundColor(TextMorro1, 255);
TextDrawFont(TextMorro1, 1);
TextDrawLetterSize(TextMorro1, 0.399999, 1.400000);
TextDrawColor(TextMorro1, 1583284138);
TextDrawSetOutline(TextMorro1, 0);
TextDrawSetProportional(TextMorro1, 1);
TextDrawSetShadow(TextMorro1, 1);
/*TextMorro2 = TextDrawCreate(502.000000, 101.000000, "~>~ ~p~~h~Placar StreeTGames ~<~");
TextDrawBackgroundColor(TextMorro2, 255);
TextDrawFont(TextMorro2, 1);
TextDrawLetterSize(TextMorro2, 0.330000, 1.399999);
TextDrawColor(TextMorro2, -1);
TextDrawSetOutline(TextMorro2, 0);
TextDrawSetProportional(TextMorro2, 1);
TextDrawSetShadow(TextMorro2, 1);*/
TextMorro3 = TextDrawCreate(510.000000, 158.000000, "~g~~h~Groove Street~n~~w~Pontos: ~y~3000");
TextDrawBackgroundColor(TextMorro3, 255);
TextDrawFont(TextMorro3, 1);
TextDrawLetterSize(TextMorro3, 0.389999, 1.400000);
TextDrawColor(TextMorro3, -1);
TextDrawSetOutline(TextMorro3, 0);
TextDrawSetProportional(TextMorro3, 1);
TextDrawSetShadow(TextMorro3, 1);
TextMorro4 = TextDrawCreate(510.000000, 192.000000, "~y~Los Vagos~n~~w~Pontos: ~y~3000");
TextDrawBackgroundColor(TextMorro4, 255);
TextDrawFont(TextMorro4, 1);
TextDrawLetterSize(TextMorro4, 0.389999, 1.400000);
TextDrawColor(TextMorro4, -2555734);
TextDrawSetOutline(TextMorro4, 0);
TextDrawSetProportional(TextMorro4, 1);
TextDrawSetShadow(TextMorro4, 1);
TextMorro5 = TextDrawCreate(511.000000, 227.000000, "~r~~h~Comando Vermelho~n~~w~Pontos: ~y~3000");
TextDrawBackgroundColor(TextMorro5, 255);
TextDrawFont(TextMorro5, 1);
TextDrawLetterSize(TextMorro5, 0.369999, 1.400000);
TextDrawColor(TextMorro5, -1);
TextDrawSetOutline(TextMorro5, 0);
TextDrawSetProportional(TextMorro5, 1);
TextDrawSetShadow(TextMorro5, 1);
TextMorro6 = TextDrawCreate(512.000000, 262.000000, "~b~~h~~h~Los Aztecas~n~~w~Pontos: ~y~3000");
TextDrawBackgroundColor(TextMorro6, 255);
TextDrawFont(TextMorro6, 1);
TextDrawLetterSize(TextMorro6, 0.370000, 1.300000);
TextDrawColor(TextMorro6, -1);
TextDrawSetOutline(TextMorro6, 0);
TextDrawSetProportional(TextMorro6, 1);
TextDrawSetShadow(TextMorro6, 1);
/*TextMorro7 = TextDrawCreate(518.000000, 295.000000, "~r~Hells Angels~n~~w~Pontos: ~y~3000");
TextDrawBackgroundColor(TextMorro7, 255);
TextDrawFont(TextMorro7, 1);
TextDrawLetterSize(TextMorro7, 0.389999, 1.000000);
TextDrawColor(TextMorro7, -1);
TextDrawSetOutline(TextMorro7, 0);
TextDrawSetProportional(TextMorro7, 1);
TextDrawSetShadow(TextMorro7, 1);
TextMorro8 = TextDrawCreate(518.000000, 322.000000, "Mongols M.C.~n~~w~Pontos: ~y~3000");
TextDrawBackgroundColor(TextMorro8, 255);
TextDrawFont(TextMorro8, 1);
TextDrawLetterSize(TextMorro8, 0.389999, 1.000000);
TextDrawColor(TextMorro8, 547325610);
TextDrawSetOutline(TextMorro8, 0);
TextDrawSetProportional(TextMorro8, 1);
TextDrawSetShadow(TextMorro8, 1);
TextMorro9 = TextDrawCreate(518.000000, 348.000000, "Sons Of Anarchy~n~~w~Pontos: ~y~3000");
TextDrawBackgroundColor(TextMorro9, 255);
TextDrawFont(TextMorro9, 1);
TextDrawLetterSize(TextMorro9, 0.389999, 1.000000);
TextDrawColor(TextMorro9, 6538922);
TextDrawSetOutline(TextMorro9, 0);
TextDrawSetProportional(TextMorro9, 1);
TextDrawSetShadow(TextMorro9, 1);*/
TextMorro10 = TextDrawCreate(511.000000, 297.000000, "~p~Ballas~n~~w~Pontos: ~y~3000");
TextDrawBackgroundColor(TextMorro10, 255);
TextDrawFont(TextMorro10, 1);
TextDrawLetterSize(TextMorro10, 0.419999, 1.400000);
TextDrawColor(TextMorro10, -1);
TextDrawSetOutline(TextMorro10, 0);
TextDrawSetProportional(TextMorro10, 1);
TextDrawSetShadow(TextMorro10, 1);
TextMorro11 = TextDrawCreate(512.000000, 332.000000, "~g~~h~~h~PCC~n~~w~Pontos: ~y~3000");
TextDrawBackgroundColor(TextMorro11, 255);
TextDrawFont(TextMorro11, 1);
TextDrawLetterSize(TextMorro11, 0.399999, 1.400000);
TextDrawColor(TextMorro11, -1);
TextDrawSetOutline(TextMorro11, 0);
TextDrawSetProportional(TextMorro11, 1);
TextDrawSetShadow(TextMorro11, 1);