invalid expressions and definition does not match
#3

For the PayDay error:
Remove the word public and the return 1 at the end (since your script will never reach that point):
Код:
CMD:payday(playerid, params[])
{
	if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to log in first.");
	return PayDay(playerid, params);
}
For the 2DZone and Payday warnings:
Show us how both of those functions are defined in your gamemode.
I'm taking a guess in the dark here but payday probably doesn't need any params at all (since you received the warning twice? although that seems strange since how will you know which playerid called the function?) and I have no idea about 2DZones.

So yeah, do what Mugala asked, show us GetPlayer2DZone() and PayDay().
Reply


Messages In This Thread
invalid expressions and definition does not match - by enzulikeS - 12.02.2018, 21:09
Re: invalid expressions and definition does not match - by Mugala - 12.02.2018, 21:14
Re: invalid expressions and definition does not match - by AdamsLT - 12.02.2018, 22:48
Re: invalid expressions and definition does not match - by AlexMSK - 12.02.2018, 23:00
Re: invalid expressions and definition does not match - by enzulikeS - 13.02.2018, 12:29

Forum Jump:


Users browsing this thread: 1 Guest(s)