[HELP] SetPlayerRaceCheckpoint
#1

Hi. I have this code in my GM:
Код:
SetPlayerRaceCheckpoint(playerid, 3, FlyingSchoolCP[Hrac[playerid][FlySchoolCP]][0], FlyingSchoolCP[Hrac[playerid][FlySchoolCP]][1], FlyingSchoolCP[Hrac[playerid][FlySchoolCP]][2], FlyingSchoolCP[Hrac[playerid][FlySchoolCP]+1][0], FlyingSchoolCP[Hrac[playerid][FlySchoolCP]+1][1], FlyingSchoolCP[Hrac[playerid][FlySchoolCP]+1][2]);
but when I try to compile, I get a warning "number of arguments does not match definiton. I do not know why, because I have right number of arguments in this code, I believe. I have this things In code, too:
Код:
new Float:FlyingSchoolCP[32][3] =
{
...
};
Код:
enum INFO_NAME
{
...
	FlySchoolCP,
...
}
Can somebody help me? Thanks.
Reply
#2

You forgot the size.
Reply
#3

Oh, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)