public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, ImagemEntrada);
TextDrawHideForPlayer(playerid, ImagemEntrada);
if (!AlreadyGiveWeapons[playerid]) SetTimerEx("LoadArmasToFile",250,false,"i",playeri d);
timer = SetTimerEx("TimeFome",80000,true,"d",playerid);
StopAudioStreamForPlayer(playerid); // Stop the audio stream
TextDrawShowForPlayer(playerid, Relogio0);//nome da draw no caso a que definimos la emcima
TextDrawShowForPlayer(playerid, Relogio1);
new arquivo[128];
format(arquivo,sizeof(arquivo),"Fome/%s.ini", pNome(playerid));
FomePlayer[playerid] = DOF2_GetInt(arquivo,"Fome");
AtuFome(playerid);
TempoAdmin = SetTimerEx("EstadoAdmin", 2000, 1, "i", playerid);// Inicia o SetTimer de admin!
SetPlayerSkin(playerid, InfoGabriel[playerid][pSkin]);// Seta a skin do player!
SetPlayerHealth(playerid, InfoGabriel[playerid][pMaxHealth]);
MostrarStatus(playerid);
titi[playerid] = SetTimerEx("TextDrawUpdate", 1000, true,"i", playerid);
SetPlayerScore(playerid, DOF2_GetInt(Arquivo(playerid), "Level"));//Irб setar o Nivel do player.
SetTimerEx("Atualizar", 1000, false, "i", playerid);
if(InfoGabriel[playerid][pCadeia] == 1 && MSG_Preso[playerid] == 0)
{
SCM(playerid, COR_VERMELHOCLARO, "Sentenзa incompleta, vocк voltou para a prisгo!");
SetPlayerHealth(iddele, 99999);
SetPlayerPos(iddele, -1981.7255,138.1921,27.6875);
SetPlayerInterior(iddele, 5);
MSG_Preso[playerid] = 1;
}
if(InfoGabriel[playerid][pCadeia] == 2 && MSG_Preso[playerid] == 0)
{
SCM(playerid, COR_VERMELHOCLARO, "Sentenзa incompleta, vocк voltou para a prisгo!");
SetPlayerHealth(iddele, 99999);
SetPlayerPos(iddele,264.6288,77.5742,1001.0391);
SetPlayerInterior(iddele, 6);
SetPlayerVirtualWorld(iddele, 0);
}