SA-MP Forums Archive
[AJUDA] Objetos - 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] Objetos (/showthread.php?tid=307932)



[AJUDA] Objetos - Nandin - 01.01.2012

Bom, estou com uma dificuldade em remover os objetos do servidor que eu estou querendo montar, de RPG.
Estou querendo fazer uma nova HQ dos Aztecas (jб feita no MTA) com portгo, e grades.
Sу que para isso, eu preciso retirar umas arvores. Eu retirei no MAP editor.
Codigo:
pawn Код:
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 708, 1837.6406, -1968.3438, 12.1875, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1808.8828, -2016.6094, 9.6719, 0.25);
RemoveBuildingForPlayer(playerid, 1226, 1818.7188, -2017.6094, 16.2734, 0.25);
RemoveBuildingForPlayer(playerid, 1308, 1813.0859, -2013.0313, 12.7500, 0.25);
RemoveBuildingForPlayer(playerid, 712, 1811.2500, -2012.6172, 21.9609, 0.25);
RemoveBuildingForPlayer(playerid, 1307, 1832.6328, -2012.8281, 12.6875, 0.25);
RemoveBuildingForPlayer(playerid, 1226, 1822.9609, -2015.9063, 16.3906, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1792.7500, -1974.5547, 11.4453, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1794.5938, -1980.7500, 9.6719, 0.25);
RemoveBuildingForPlayer(playerid, 620, 1808.8828, -1985.3359, 9.6719, 0.25);
RemoveBuildingForPlayer(playerid, 1413, 1810.8281, -1971.3594, 13.7344, 0.25);
RemoveBuildingForPlayer(playerid, 700, 1812.3438, -1968.8047, 11.4453, 0.25);
RemoveBuildingForPlayer(playerid, 1413, 1816.1094, -1971.3594, 13.7344, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1821.3828, -1971.3594, 13.7344, 0.25);
RemoveBuildingForPlayer(playerid, 1413, 1826.6406, -1971.5859, 13.7344, 0.25);
RemoveBuildingForPlayer(playerid, 1413, 1831.9063, -1971.5938, 13.7344, 0.25);
RemoveBuildingForPlayer(playerid, 671, 1835.0078, -2015.3594, 12.6406, 0.25);
RemoveBuildingForPlayer(playerid, 1226, 1841.9297, -2007.4766, 16.2734, 0.25);
RemoveBuildingForPlayer(playerid, 1412, 1837.1719, -1971.3594, 13.7344, 0.25);
RemoveBuildingForPlayer(playerid, 1413, 1842.4453, -1971.3594, 13.7344, 0.25);
RemoveBuildingForPlayer(playerid, 1413, 1850.4766, -1968.6641, 13.6484, 0.25);

    return 1;
}
Quando eu coloco no pawno ele nгo consegue compilar.

----------------------------------------------------------------------------------------

Estou com outra dъvida, criei minha HQ no MTA, com portхes, grades, etc.
Sу estou com dificuldades em compilar para .pwn
Nгo estou achando o arquivo salvo em .MAP.


Re: [AJUDA] Objetos - [O.z]Caroline - 01.01.2012

atualize ser Servidor para 0.3d RC2


Re: [AJUDA] Objetos - Nandin - 01.01.2012

Quote:
Originally Posted by [O.z]Caroline
Посмотреть сообщение
atualize ser Servidor para 0.3d RC2
Ok, vou ver se mudou aqui e edito.


Re: [AJUDA] Objetos - Nandin - 01.01.2012

Nгo deu certo =/ Eu uso o cуdigo do mesmo jeito, abaixo do OnPlayerConnect e nгo da pra compilar.


Re: [AJUDA] Objetos - Adrian Fahrenheit Tepes - 01.01.2012

O que vocк quer dizer com 'nгo consegue compilar'? O compiler dб um erro e precisa ser fechado? Ou hб algum erro em alguma linha?


Re: [AJUDA] Objetos - Nandin - 01.01.2012

o Compiler da erro e precisa ser fechado.


Re: [AJUDA] Objetos - Nandin - 01.01.2012

UP, alguem sabe o que й?


Re: [AJUDA] Objetos - Adrian Fahrenheit Tepes - 01.01.2012

Acredito que nгo seja isso aн! Retira esse Remove... E tenta compilar


Re: [AJUDA] Objetos - Nandin - 01.01.2012

Ele compila direito, mais quando eu coloco esse cуdigo ele nгo compila.


Re: [AJUDA] Objetos - Nandin - 02.01.2012

UP, alguem sabe porque da esse erro? =/