[Ajuda] Player TEXT
#2

pawn Код:
new string2[222];
format(string2, sizeof(string2), "~g~ Casa N° %d ~n~ ~y~ Dono: ~w~ Ninguem ~n~ ~y~ Valor: ~w~ R$ %d ~n~ ~g~ /comprarcasa ~n~ ~r~ ENTER", c,dini_Int(string, "Preco"));
Create3DTextLabel(string2,0xFFFFFFAA, dini_Float(string, "PosX"), dini_Float(string, "PosY"), dini_Float(string, "PosZ")+0.75,20.0,0,1);
so mi responde uma coisa agora o codigo todo e esse ?

pawn Код:
for(new c = 0; c < MAX_CASAS; c++)
{
format(string, sizeof(string), "/Casas/casa%d.ini", c);
if(dini_Exists(string)){
if(pickupid == dini_Int(string, "Id")){
if(dini_Int(string, "TDono") == 1){
format(STRX, sizeof(STRX), "~b~]Casa]~n~~y~Dono:~w~%s~n~~r~ENTER", dini_Get(string, "Dono"));
GameTextForPlayer(playerid, STRX, 5000, 5);
//format(STRX, sizeof(STRX), "Dono da casa: %s, Pagou nela: R$%d", dini_Get(string, "Dono"), dini_Int(string, "Preco"));
//SendClientMessage(playerid, Azul, STRX);
} else {
//format(STRX, sizeof(STRX), "Casa a venda, Valor de compra: R$%d, use /comprarcasa", dini_Int(string, "Preco"));
//SendClientMessage(playerid, Verde, STRX);
format(STRX, sizeof(STRX), "~g~]Casa]~n~~y~Dono:~w~Ninguem~n~~y~Valor:~w~R$%d~n~~g~/comprarcasa~n~~r~ENTER", dini_Int(string, "Preco"));
GameTextForPlayer(playerid, STRX, 5000, 5);
}
}
}
}
Reply


Messages In This Thread
Player TEXT - by Naja - 27.05.2013, 22:51
Re: Player TEXT - by Breno Da Silva Pereira - 28.05.2013, 05:19
Re: Player TEXT - by Breno Da Silva Pereira - 28.05.2013, 06:01
Re: Player TEXT - by Naja - 29.05.2013, 03:36

Forum Jump:


Users browsing this thread: 1 Guest(s)