[Ajuda] Toda hora nasce no aeroporto quando cria acc
#7

pawn Код:
public OnPlayerSpawn(playerid)
{
emcasa[playerid] = 0;
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), P_CONTAS, aname);
TextDrawHideForPlayer(playerid, topblack);
TextDrawHideForPlayer(playerid, bottomblack);
TextDrawHideForPlayer(playerid, drogas1);
TextDrawHideForPlayer(playerid, drogas2);
TextDrawShowForPlayer(playerid, DataTxT);
TextDrawShowForPlayer(playerid, HorasTxT);
//TextDrawShowForPlayer(playerid, Relogio);
SetPlayerInterior(playerid,0);
PlayerPlaySound(playerid, 1184, 0.0, 0.0, 0.0);
GangZoneShowForPlayer(playerid,favela,Amarelo);
GangZoneShowForPlayer(playerid, AreaPesca, AzuL4);
GangZoneShowForPlayer(playerid, AreaDrogas, roxo);
GangZoneShowForPlayer(playerid, areadmlv, COLOR_WHITE);
//variavel
gmod[playerid] = 0;
noevento[playerid] = 0;
GPS_Spawned[playerid] = 1;
Logarprof(playerid);
autoescola[playerid] = 0;
prefls[playerid] = 0;
nautlls[playerid] = 0;
algemado[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);
dini_IntSet(file, "MSenha", 0);
//fim
if(dini_Int(file, "Procurado") == 1){
Procurados[playerid]= 1;
}
if(dini_Int(file, "Procurado") == 0){
Procurados[playerid]= 0;
}
if(dini_Int(file, "VIP") == 1){
vip[playerid] = 1;
SendClientMessage(playerid, roxo, "{0099FF}[x]{CCCCFF} Vocк й um jogador VIP, veja suas vantagens digitando: /comandosvip!");
}
if(dini_Int(file, "VIP") == 0){
vip[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);
}
if(dini_Int(file, "Preso") == 1){
SetPlayerPos(playerid, 1587.5526,-1791.1556,30.9624); // Troca o X , Y e Z aqui e testa '-'
SetPlayerInterior(playerid, 0);
SetPlayerHealth(playerid,99999);
ResetPlayerWeapons(playerid);
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, msgdm, "{0099FF}[x]{CCCCFF} Vocк estб preso, contrate um advogado ou pague a fianзa /fianca");
preso[playerid] = 1;
dini_IntSet(file2, "ofmaconha", 0);
dini_IntSet(file2, "vendepizza", 0);
dini_IntSet(file2, "ofcrack", 0);
dini_IntSet(file, "passarmacumba", 0);
dini_IntSet(file, "usoudroga", 0);
dini_IntSet(file, "tamacumbado", 0);
dini_IntSet(file, "tmaconha", 0);
dini_IntSet(file, "tmacumba", 0);
dini_IntSet(file, "tcrack", 0);
dini_IntSet(file, "tpizza", 0);
dini_IntSet(file, "Maconha", 0);
dini_IntSet(file, "Crack", 0);
dini_IntSet(file, "Macumba", 0);
dini_IntSet(file, "pizza", 0);
}
return 1;
}
Procura ali onde eu comentei no code /\
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)