Ok.. Tenta isso:
pawn Код:
//TextDrawShowForPlayer(playerid,Dinero[playerid]); // jdinheiroo - estava desativado
new tmphour;
new tmpminute;
new tmpsecond;
gettime(tmphour, tmpminute, tmpsecond);
if (realtime)
{
SetWorldTime(tmphour);
}
PlayerPlaySound(playerid, 1069, 0.0, 0.0, 0.0);
SetPlayerDrunkLevel(playerid, 0);
if(JugadorInfo[playerid][jEstiloPelea] == 1)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_BOXING);
}
else if(JugadorInfo[playerid][jEstiloPelea] == 2)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_KNEEHEAD);
}
else if(JugadorInfo[playerid][jEstiloPelea] == 3)
{
SetPlayerFightingStyle(playerid, FIGHT_STYLE_KUNGFU);
}
if(JugadorInfo[playerid][jArma] != 0)
{
GivePlayerWeapon(playerid, JugadorInfo[playerid][jArma], JugadorInfo[playerid][jMunicion]);
}
if(JugadorInfo[playerid][jArma2] != 0)
{
GivePlayerWeapon(playerid, JugadorInfo[playerid][jArma2], JugadorInfo[playerid][jMunicion2]);
}
if(JugadorInfo[playerid][jArma3] != 0)
{
GivePlayerWeapon(playerid, JugadorInfo[playerid][jArma3], JugadorInfo[playerid][jMunicion3]);
}
if(JugadorInfo[playerid][jSpawn] == 1)
{
new which_spawn = random(4);
if(which_spawn == 0)
{
if(gTeam[playerid] == EHUMANO) //1464.92, 2235.93, 33.11 - Bandits baseball camp LV
{
JugadorInfo[playerid][jPos_x] = 1464.92;
JugadorInfo[playerid][jPos_y] = 2235.93;
JugadorInfo[playerid][jPos_z] = 33.11;
SetPlayerInterior(playerid,0);
SetPlayerWeather(playerid, ClimaDefault);
SetPlayerSkin(playerid, JugadorInfo[playerid][jRopa]);
}
else if(gTeam[playerid] == EZOMBIE) //2876.73, 1608.65, 10.67 - Estacionamento de comboios LV
{
SetPlayerPos(playerid,2876.73, 1608.65, 10.67);
SetPlayerInterior(playerid,0);
SetPlayerWeather(playerid, ClimaDefault);
new rnd = random(sizeof(ZombieSkin));
SetPlayerSkin(playerid, ZombieSkin[rnd][0]);
}
}
else if(which_spawn == 1)
{
if(gTeam[playerid] == EHUMANO) //1869.16, 2396.06, 22.15 - Predio abatido ao pe da autoestrada
{
JugadorInfo[playerid][jPos_x] = 1869.16;
JugadorInfo[playerid][jPos_y] = 2396.06;
JugadorInfo[playerid][jPos_z] = 22.15;
SetPlayerInterior(playerid,0);
SetPlayerWeather(playerid, ClimaDefault);
SetPlayerSkin(playerid, JugadorInfo[playerid][jRopa]);
}
else if(gTeam[playerid] == EZOMBIE)
{
SetPlayerPos(playerid, 2603.93, 792.83, 5.32); // 2603.93, 792.83, 5.32 - spawn zona construзao
SetPlayerInterior(playerid,0);
SetPlayerWeather(playerid, ClimaDefault);
new rnd = random(sizeof(ZombieSkin));
SetPlayerSkin(playerid, ZombieSkin[rnd][0]);
}
}
else if(which_spawn == 2)
{
if(gTeam[playerid] == EHUMANO)
{
JugadorInfo[playerid][jPos_x] = 1464.92;
JugadorInfo[playerid][jPos_y] = 2235.93;
JugadorInfo[playerid][jPos_z] = 33.11;
SetPlayerInterior(playerid,0);
SetPlayerWeather(playerid, ClimaDefault);
SetPlayerSkin(playerid, JugadorInfo[playerid][jRopa]);
}
else if(gTeam[playerid] == EZOMBIE)
{
SetPlayerPos(playerid,2603.93, 792.83, 5.32);
SetPlayerInterior(playerid,0);
SetPlayerWeather(playerid, ClimaDefault);
new rnd = random(sizeof(ZombieSkin));
SetPlayerSkin(playerid, ZombieSkin[rnd][0]);
}
}
else if(which_spawn == 3)
{
if(gTeam[playerid] == EHUMANO)
{
JugadorInfo[playerid][jPos_x] = 1869.16;
JugadorInfo[playerid][jPos_y] = 2396.06;
JugadorInfo[playerid][jPos_z] = 22.15;
SetPlayerInterior(playerid,0);
SetPlayerWeather(playerid, ClimaDefault);
SetPlayerSkin(playerid, JugadorInfo[playerid][jRopa]);
}
else if(gTeam[playerid] == EZOMBIE)
{
SetPlayerPos(playerid,2876.73, 1608.65, 10.67);
SetPlayerInterior(playerid,0);
SetPlayerWeather(playerid, ClimaDefault);
new rnd = random(sizeof(ZombieSkin));
SetPlayerSkin(playerid, ZombieSkin[rnd][0]);
}
}
if(JugadorInfo[playerid][jInfectado] >= 1)
{
SafeSetPlayerPos(playerid,JugadorInfo[playerid][jPos_x],JugadorInfo[playerid][jPos_y],JugadorInfo[playerid][jPos_z]);
ZombieTeam(playerid);
new rnd = random(sizeof(ZombieSkin));
SetPlayerSkin(playerid, ZombieSkin[rnd][0]);
JugadorInfo[playerid][jInfectado] = 0;
JugadorInfo[playerid][jZombie] = 1;
TogglePlayerControllable(playerid, 1);
}
else if(JugadorInfo[playerid][jInfectado] == 0 && JugadorInfo[playerid][jZombie] == 0)
{
SafeSetPlayerPos(playerid,JugadorInfo[playerid][jPos_x],JugadorInfo[playerid][jPos_y],JugadorInfo[playerid][jPos_z]);
SetPlayerSkin(playerid, JugadorInfo[playerid][jRopa]);
SetTimerEx("Desmayar", 2000, 0, "d", playerid);
} /*
else if(JugadorInfo[playerid][jLider] == 1)
{
SetPlayerPos(playerid,225.6344,1909.2631,17.6406);
Militar(playerid);
}
else if(JugadorInfo[playerid][jLider] == 2)
{
TogglePlayerControllable(playerid, 1);
SetTimerEx("Desfrizear", 6000, 0, "d", playerid);
SetPlayerPos(playerid,1833.8231,-1299.1377,22.2039);
Conspirador(playerid);
}
else if(JugadorInfo[playerid][jMiembro] == 3)
{
SetPlayerPos(playerid,2759.2126,-2436.4126,13.5050);
Militar(playerid);
}
else if(JugadorInfo[playerid][jMiembro] == 2)
{
TogglePlayerControllable(playerid, 1);
SetTimerEx("Desfrizear", 6000, 0, "d", playerid);
SetPlayerPos(playerid,1833.8231,-1299.1377,22.2039);
Conspirador(playerid);
}
else if(JugadorInfo[playerid][jMiembro] == 1)
{
SetPlayerPos(playerid,110.2537,1901.6782,10.0955);
Militar(playerid);
} */
}
else if(JugadorInfo[playerid][jSpawn] == 0)
{
if(JugadorInfo[playerid][jEncarcelado] == 0)
{
SafeSetPlayerInterior(playerid,JugadorInfo[playerid][jInt]);
SafeSetPlayerPos(playerid,JugadorInfo[playerid][jPos_x],JugadorInfo[playerid][jPos_y],JugadorInfo[playerid][jPos_z]);
SetPlayerHealth(playerid,JugadorInfo[playerid][jVida]);
SetPlayerSkin(playerid,JugadorInfo[playerid][jRopa]);
SetPlayerArmour(playerid,JugadorInfo[playerid][jArmadura]);
TogglePlayerControllable(playerid, 1);
JugadorInfo[playerid][jSpawn] = 1;
return 1;
}
else if(JugadorInfo[playerid][jEncarcelado] >= 1)
{
SetPlayerVirtualWorld(playerid, 0);
SetPlayerPos(playerid, 2448.2351,-1977.7130,13.5938);
SendClientMessage(playerid, ROJO_OSCURO, "Tu condena no ha terminado!.");
SetPlayerSkin(playerid,JugadorInfo[playerid][jRopa]);
return 1;
}
}
return 1;
}
Vai dar Warning: Loose Identation, aн vocк identa que some. Blz?