[Ajuda] Preciso de ajuda com o meu SetTimeEx
#1

Quote:

C:\Users\E\Desktop\GM\gamemodes\GM.pwn(22471) : warning 209: function "JaTemMercadoria" should return a value

Bem eu criei um SetTimerEx, so que ta a dar um warning(acima). Poderiam dizer porque, ou como arrumar?

Код:
new JaTemMercadoria[MAX_PLAYERS];
Atribui a variavel JaTemMercadoria ao settime
Код:
JaTemMercadoria[playerid] = SetTimerEx("PlayerTrabalhar", 36000000, 0, "i", playerid);
Aqui tб a public
Код:
forward JaTemMercadoria(playerid);
public JaTemMercadoria(playerid)
{
new string[256];
for(new p = 0; p < MAX_CASAS; p++){
format(string, sizeof(string),"/Props/prop%d.ini", p);
dini_IntSet(string, "JaTemMercadoriaEmp", 0);
KillTimer(MercadoriaEmpresa[playerid]);
return true;
}
}
Reply


Messages In This Thread
Preciso de ajuda com o meu SetTimeEx - by EXIBI - 24.03.2013, 01:58
Re: Preciso de ajuda com o meu SetTimeEx - by Gii - 24.03.2013, 02:19
Re: Preciso de ajuda com o meu SetTimeEx - by EXIBI - 24.03.2013, 02:23

Forum Jump:


Users browsing this thread: 1 Guest(s)