[Ajuda] Comando
#8

Coloque aqui pra mim, a linha 96 e 100.

@Edit:

Tenta isso:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp(cmdtext, "/meucomando", true) == 0)
	{
		new string[128];
		format(string, sizeof(string), "[ > ] Esse й Meu Comando Pow :D Vocк Ganhou 100 Reais !");
		SendClientMessageToAll(0xFFFF00AA, string);
		GivePlayerMoney(playerid, 100); // DA 100 REAIS
		return 1;
	}
	if(strcmp(cmdtext, "/veiculo", true) == 0)
	{
		new string[128];
		AddStaticVehicle(500, 2032.8450,1344.5004,10.8203,270.7092,1,1);
		format(string, sizeof(string), "[ > ] Veнculo criado com sucesso");
		SendClientMessageToAll(0xFFFF00AA, string);
		return 1;
	}
	return 0;
}
*Use o tabulador pra indentar/identar o cуdigo novamente.
Link:
Reply


Messages In This Thread
Comando - by maykom15 - 20.03.2015, 02:49
Re: Comando - by CaioTesio - 20.03.2015, 03:13
Re: Comando - by maykom15 - 20.03.2015, 03:13
Re: Comando - by maykom15 - 20.03.2015, 03:15
Re: Comando - by ThuuGLif3 - 20.03.2015, 03:21
Re: Comando - by ipsLuan - 20.03.2015, 03:26
Re: Comando - by maykom15 - 20.03.2015, 03:42
Re: Comando - by ThuuGLif3 - 20.03.2015, 03:45
Re: Comando - by ipsLuan - 20.03.2015, 03:56
Re: Comando - by maykom15 - 20.03.2015, 03:59

Forum Jump:


Users browsing this thread: 1 Guest(s)