28.11.2012, 12:22
(
Последний раз редактировалось aldair8; 28.11.2012 в 13:33.
)
fechado, mudo o negocio agora
public OnPlayerSpawn(playerid)
{
new hour,minute;/*Nгo mexer Aki Gustavo */
TextDrawShowForPlayer(playerid,txtTimeDisp);/*Nгo mexer Aki Gustavog ustavo meu pau fdp */
gettime(hour, minute);/*Nгo mexer Aki Gustavo */
SetPlayerTime(playerid,hour,minute);/*Nгo mexer Aki Gustavo gustavo meu pau fdp */
emcasa[playerid] = 0;
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
TextDrawHideForPlayer(playerid, topblack);
TextDrawHideForPlayer(playerid, bottomblack);
TextDrawShowForPlayer(playerid, Relogio);
TextDrawShowForPlayer(playerid, gText2[playerid]);
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0); //
GangZoneShowForPlayer(playerid,favela,-1);
GangZoneShowForPlayer(playerid, AreaDes, 0xFF0000AA);
TextDrawHideForPlayer(playerid, BemVindo);
TextDrawHideForPlayer(playerid, ImagemConnect);
GangZoneShowForPlayer(playerid, areadmlv, 0xFF000096);
//bottttttttttttt=============================
//if(IsPlayerNPC(playerid))
//{
//new npcname[MAX_PLAYER_NAME];
//GetPlayerName(playerid, npcname, sizeof(npcname));
//if(!strcmp(npcname,"Samanta",true)) {
//SetPlayerColor(playerid,0x800080AA);
//SetPlayerSkin(playerid,11);
//GivePlayerWeapon(playerid,24,99999);
//}
//if(!strcmp(npcname,"Pimentel",true)) {
//SetPlayerColor(playerid,0x008000AA);
//SetPlayerSkin(playerid,113);
//GivePlayerWeapon(playerid,24,99999);
//}
///if(!strcmp(npcname,"Ronildo",true)) {
//SetPlayerColor(playerid,0x00FF00AA);
//SetPlayerSkin(playerid,70);
//}
//return 1;
//}
//variavel
gmod[playerid] = 0;
noevento[playerid] = 0;
GPS_Spawned[playerid] = 1;
nogame[playerid] = 0;
Logarprof(playerid);
autoescola[playerid] = 0;
prefls[playerid] = 0;
prefsf[playerid] = 0;
preflv[playerid] = 0;
nobarls[playerid] = 0;
nobarsf[playerid] = 0;
nobarlv[playerid] = 0;
nobarfc[playerid] = 0;
nautlls[playerid] = 0;
algemado[playerid] = 0;
convitecor[playerid] = 0;
sequestro[playerid] = 0;
vercmds[playerid]=0;
verpms[playerid]=0;
dini_IntSet(file, "convitent", 0);
dini_IntSet(file, "Entrevista", 0);
dini_IntSet(file, "MN", 0);
//fim
//spawn preso
if(DOF2_GetInt(file, "Preso") == 1){ //variavel do preso
SetPlayerPos(playerid, 193.2243,175.3608,1003.0234); //vocк pode muda cordenada tmb
SetPlayerInterior(playerid, 3); //interior vocк muda pro que vc que..
SetarVidaPlayer(playerid,99999); //setar vida do player 999999 pra ele nгo morre..
ResetPlayerWeapons(playerid); //deixa o player sem arma
//spawn preso
if(dini_Int(file, "Preso") == 1){ //variavel do preso
SetPlayerPos(playerid, 193.2243,175.3608,1003.0234); //vocк pode muda cordenada tmb
SetPlayerInterior(playerid, 3); //interior vocк muda pro que vc que..
SetarVidaPlayer(playerid,99999); //setar vida do player 999999 pra ele nгo morre..
ResetPlayerWeapons(playerid); //deixa o player sem arma