20.11.2012, 23:41
(
Последний раз редактировалось aldair8; 21.11.2012 в 23:29.
Причина: JA TIREI OBG A TODOS Q TENTARAM ME AJUDAr
)
JA TIREI! OBG A TODOS
Textdraw2[playerid] = TextDrawCreate(500, 10,"~w~Procurado(0)");
//TextDrawTextSize(Textdraw2[playerid], 220, 2);
TextDrawAlignment(Textdraw2[playerid], 0);
TextDrawColor(Textdraw2[playerid], -1);
TextDrawUseBox(Textdraw2[playerid], 1);
TextDrawSetShadow(Textdraw2[playerid], 0);
TextDrawBoxColor(Textdraw2[playerid], 170);
TextDrawSetOutline(Textdraw2[playerid], 0);
TextDrawBackgroundColor(Textdraw2[playerid], -1);
TextDrawFont(Textdraw2[playerid], 1);
TextDrawSetProportional(Textdraw2[playerid], 1);
new Text:TextdrawB;
new chat[MAX_PLAYERS] = 0;
new PlayerDrunk[MAX_PLAYERS];
new productiontimer;
new PlayerDrunkTime[MAX_PLAYERS];
new DrunkTime[MAX_PLAYERS];
new ReduceTime[MAX_PLAYERS];
topblack = TextDrawCreate(1.000000,-70.000000,"__");
bottomblack = TextDrawCreate(-2.000000,400.000000,"__");
TextDrawUseBox(topblack,1);
TextDrawBoxColor(topblack,0x000000ff);
TextDrawTextSize(topblack,655.000000,80.000000);
TextDrawUseBox(bottomblack,1);
TextDrawBoxColor(bottomblack,0x000000ff);
TextDrawTextSize(bottomblack,840.000000,240.000000);
TextDrawAlignment(topblack,0);
TextDrawAlignment(bottomblack,0);
TextDrawBackgroundColor(topblack,0x000000ff);
TextDrawBackgroundColor(bottomblack,0x000000ff);
TextDrawFont(topblack,3);
TextDrawLetterSize(topblack,1.000000,14.000000);
TextDrawFont(bottomblack,3);
TextDrawLetterSize(bottomblack,1.000000,24.000000);
TextDrawColor(topblack,0xffffffff);
TextDrawColor(bottomblack,0xffffffff);
TextDrawSetOutline(topblack,1);
TextDrawSetOutline(bottomblack,1);
TextDrawSetProportional(topblack,1);
TextDrawSetProportional(bottomblack,1);
TextDrawSetShadow(topblack,1);
TextDrawSetShadow(bottomblack,1);
/*Textdraw2[playerid] = TextDrawCreate(500, 10,"~w~Procurado(0)");
//TextDrawTextSize(Textdraw2[playerid], 220, 2);
TextDrawAlignment(Textdraw2[playerid], 0);
TextDrawColor(Textdraw2[playerid], -1);
TextDrawUseBox(Textdraw2[playerid], 1);
TextDrawSetShadow(Textdraw2[playerid], 0);
TextDrawBoxColor(Textdraw2[playerid], 170);
TextDrawSetOutline(Textdraw2[playerid], 0);
TextDrawBackgroundColor(Textdraw2[playerid], -1);
TextDrawFont(Textdraw2[playerid], 1);
TextDrawSetProportional(Textdraw2[playerid], 1);*/
dini_IntSet(filena(playerid),"Procurado", GetProcurado(playerid));
if(dini_Int(file, "Procurado") == 1){
Procurados[playerid]= 1;
}
if(dini_Int(file, "Procurado") == 0){
Procurados[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);
}
dini_IntSet(file2, "Procurado", 0);
GivePlayerGrana(playerid, dini_Int(file, "Dinheiro"));
AddProcurado(playerid,dini_Int(file,"Procurado"));
SendClientMessage(playerid, 0xFFFFFFAA, "* Senha correta! A sua conta foi carregada com sucesso!");
SetSpawnInfo(playerid, 1, dini_Int(file, "Skin"), dini_Int(file, "CasaX"), dini_Int(file, "CasaY"), dini_Int(file, "CasaZ"), 354.1657, 0, 0, 0, 0, 0, 0);
SetPlayerColor(playerid,0xFFFFFFAA);
SpawnPlayer(playerid);
PlayerPlaySound(playerid, 1057, 0, 0, 0);
}else{
PlayerInfo[playerid][LoginsFalsos]++;
if(PlayerInfo[playerid][LoginsFalsos] >= 3)
{
new mnprocurado;
//-------
mnprocurado = dini_Int(file, "Procurado");
//--------
dini_IntSet(file2, "Procurado", mnprocurado);