27.05.2014, 01:26
oi povo boa noite eu queria pedia a ajuda de voces que eu tenho 1 duvida pra tirar essa text draw do gm pode me ajudar pfv .
obs; й pra tirar so a text draw / a text draw й de hora
obs; й pra tirar so a text draw / a text draw й de hora
pawn Код:
public OnPlayerSpawn(playerid)
{
Player[playerid][pLogged] = true;
GivePlayerWeapon(playerid,24,15000);
if(Player[playerid][pVapor] >= 1)
{
GivePlayerWeapon(playerid, 46,1);
}
#if TEMPO_REAL == 1
new hour,minute,second;
gettime(hour, minute, second);
new wtime;
if(hour == 16) wtime = 20;
else if(hour == 17) wtime = 21;
else if(hour == 18) wtime = 21;
else if(hour == 19) wtime = 23;
else if(hour == 20) wtime = 24;
else if(hour == 21) wtime = 24;
else if(hour >= 22 && hour <= 0) wtime = 0;
else wtime = hour;
SetPlayerTime(playerid, wtime, 0);
#else
SetPlayerTime(playerid, random(24), 0);
#endif
Player[playerid][InDM] = false;
gPlayerHealth[playerid] = 100.0;
gPlayerArmour[playerid] = 100.0;
SetPlayerVirtualWorld(playerid, 0);
ResetPlayerTeam(playerid);
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawHideForPlayer(playerid, Textdraw1);
if(Player[playerid][ReloadPlayer] == true)
{
Player[playerid][ReloadPlayer] = false;
SetTimerEx("LoadVariables",300,false, "i",playerid);
}
SetPlayerSkin(playerid, Player[playerid][pSkin]);
if(Player[playerid][pVip] == 1 || Player[playerid][SpawnArmour] == 1)
{
SetPlayerArmour(playerid, 100);
}
if(Player[playerid][WeaponCoin] > 0 && Player[playerid][pTempoPreso] == 0)
{
if(Player[playerid][WeaponCoin] == 43)
{
GivePlayerWeapon(playerid, Player[playerid][WeaponCoin], 9999);
}
else
{
GivePlayerWeapon(playerid, Player[playerid][WeaponCoin], 1);
}
}