[Ajuda] Nao consigo criar portoes automaticos !!
#5

Quote:

Poste onde vocк estб colocando por favor.

// --- Portaoo

new Portao;

#define Vermelho 0xFF0000AA
#define Amarelo 0xFFFF00AA


public OnFilterScriptInit()
{
Portao = CreateObject(980, 211.5, -1349.80005, 52.7, 0, 0, 44);
return 1;
}
// Fim do portao //

Ai da o erro: error 021: symbol already defined: "OnPlayerCommandText"

public OnPlayerCommandText(playerid, cmdtext[])
{

//----------------------------
if (strcmp("/abrir", cmdtext, true, 10) == 0)
{
if(!IsPlayerAdmin(playerid))
{
MoveObject(Portao, -219.39999, -1343.09998, 53.3, 0, 0, 44, 5.0);
SendClientMessage(playerid, Vermelho, "Portгo Aberto Manolo rs");
return 1;
}
}
//----------------------------
if (strcmp("/fechar", cmdtext, true, 10) == 0)
{
if(!IsPlayerAdmin(playerid))
{
MoveObject(Portao, 211.5, -1349.80005, 52.7, 0, 0, 44);
SendClientMessage(playerid, Vermelho, "Portгo Fechadinho manolo rs");
return 1;
}
}
return 0;
}
Reply


Messages In This Thread
Nao consigo criar portoes automaticos !! - by Neneeiim - 17.01.2013, 22:06
Re: Nao consigo criar portoes automaticos !! - by silenthill - 17.01.2013, 22:14
Re: Nao consigo criar portoes automaticos !! - by Neneeiim - 18.01.2013, 09:23
Re: Nao consigo criar portoes automaticos !! - by tonisantolia - 18.01.2013, 09:28
Re: Nao consigo criar portoes automaticos !! - by Neneeiim - 18.01.2013, 11:11
Re: Nao consigo criar portoes automaticos !! - by VenoN - 18.01.2013, 12:13
Re: Nao consigo criar portoes automaticos !! - by Neneeiim - 18.01.2013, 13:38

Forum Jump:


Users browsing this thread: 1 Guest(s)