SA-MP Forums Archive
[Ajuda] Portгo abrindo errado e Objeto Transparente - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Portгo abrindo errado e Objeto Transparente (/showthread.php?tid=410508)



Portгo abrindo errado e Objeto Transparente - Equipe - 25.01.2013

Seguinte, Alguns objetos do meu GM estгo transparentes... Porque?

Code:
pawn Код:
CreateObject(3749,1542.689,-1627.642,18.241,0.0,0.0,-90.000);
CreateObject(980,1541.9384765625,-1627.7314453125,15.156204223633,0.0,0.0,90.0); // portгo da dp
CreateObject(980,1588.0791015625,-1638.140625,15.172611236572,0.0,0.0,0.0); // portгo da dp
E Tambйm, o Portгo da DP Estб abrindo de forma errada.



Re: Portгo abrindo errado e Objeto Transparente - NuTShoT - 25.01.2013

lol objetos transparentes alguma coordenada erra. Eu acho.

Em relaзгo ao portгo da dp poste o comando que faz ele abrir


Re: Portгo abrindo errado e Objeto Transparente - Equipe - 25.01.2013

Quote:
Originally Posted by NuTShoT
Посмотреть сообщение
lol objetos transparentes alguma coordenada erra. Eu acho.

Em relaзгo ao portгo da dp poste o comando que faz ele abrir
pawn Код:
if (strcmp(cmdtext,"/ad", true)==0){
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(dini_Int(file, "Profissao") == Policial_M || dini_Int(file, "Profissao") == Policial_C || dini_Int(file, "Profissao") == Policial_F || dini_Int(file, "Profissao") == Delegado || dini_Int(file, "Profissao") == Bope || dini_Int(file, "Profissao") == Swat || dini_Int(file, "Profissao") == Narcoticos || dini_Int(file, "Profissao") == FBI || dini_Int(file, "Profissao") == Interpol || dini_Int(file, "Profissao") == LSPD || dini_Int(file, "aAdmin") == 1){
MoveObject(pdp1,1541.9780273438,-1639.4814453125,15.156204223633,3.0);
SendClientMessage(playerid,0xFFFFFFAA, "[PORTEIRO] O portгo principal {00ff00}da DP foi aberto!");
return 1;
}
}

if (strcmp(cmdtext,"/fd", true)==0){
new aname[MAX_PLAYER_NAME];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(dini_Int(file, "Profissao") == Policial_M || dini_Int(file, "Profissao") == Policial_C || dini_Int(file, "Profissao") == Policial_F || dini_Int(file, "Profissao") == Delegado || dini_Int(file, "Profissao") == Bope || dini_Int(file, "Profissao") == Swat || dini_Int(file, "Profissao") == Narcoticos || dini_Int(file, "Profissao") == FBI || dini_Int(file, "Profissao") == Interpol || dini_Int(file, "Profissao") == LSPD || dini_Int(file, "aAdmin") == 1){
MoveObject(pdp1,1541.9384765625,-1627.7314453125,15.156204223633,3.0);
SendClientMessage(playerid,0xFFFFFFAA, "[PORTEIRO] O portгo principal da DP foi fechado!");
return 1;
}
}



Re: Portгo abrindo errado e Objeto Transparente - ViniBorn - 25.01.2013

Ta usando streamer de objetos?


Re: Portгo abrindo errado e Objeto Transparente - NuTShoT - 25.01.2013

pawn Код:
MoveObject(pdp1,1541.9780273438,-1639.4814453125,15.156204223633,3.0);
Poste algo parecido como: pdp1 = Create.........


Re: Portгo abrindo errado e Objeto Transparente - Equipe - 25.01.2013

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Ta usando streamer de objetos?
Estou usando o plugin Streamer


Re: Portгo abrindo errado e Objeto Transparente - ViniBorn - 25.01.2013

Troque CreateObject por CreateDynamicObject