[Ajuda] Dando erro zcmd
#1

Bom estou com um problema aqui nesse codigo, fica dando isso ae:

Код:
C:\Users\Caio HooD\Desktop\[FS] Trabalho\gamemodes\gm.pwn(295) : warning 209: function "cmd_equipar" should return a value
C:\Users\Caio HooD\Desktop\[FS] Trabalho\gamemodes\gm.pwn(390) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Ta ae o cmd:

Код:
CMD:equipar(playerid)
{
	 if(PlayerDados[playerid][Gangue] == 1)
	 {
 		 if(IsPlayerInRangeOfPoint(playerid, 2.0, 2513.3293,-1679.9669,13.4664))
  		 {
			Equipamentos(playerid);
			new Equipar[100];
			strcat(Equipar,"{7491F6}Vocк Pegou os Equipamentos\n");
			strcat(Equipar,"{00D900}Grove Street\n");
		    ShowPlayerDialog(playerid, 3000, DIALOG_STYLE_MSGBOX, "{F60000}EQUIPADO !",Equipar, "Fechar", "");
		    return 1;
 	 	 }
		 return 1;
	}
}
E o bagui da key para entrar:

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if(newkeys == KEY_SECONDARY_ATTACK)
	{
	    cmd_equipar(playerid,"");
	}
	return 1;
}
Reply


Messages In This Thread
Dando erro zcmd - by zCyan - 30.05.2017, 03:52
Re: Dando erro zcmd - by MenestreL - 30.05.2017, 03:58
Re: Dando erro zcmd - by zCyan - 30.05.2017, 04:03
Re: Dando erro zcmd - by MenestreL - 30.05.2017, 04:09
Re: Dando erro zcmd - by zCyan - 30.05.2017, 04:15
Re: Dando erro zcmd - by MenestreL - 30.05.2017, 04:18
Re: Dando erro zcmd - by TheusCrazzy - 30.05.2017, 05:39
Re: Dando erro zcmd - by zCyan - 30.05.2017, 09:56
Re: Dando erro zcmd - by zCyan - 30.05.2017, 10:08

Forum Jump:


Users browsing this thread: 1 Guest(s)