SA-MP Forums Archive
[HELP] SetPlayerRaceCheckpoint - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] SetPlayerRaceCheckpoint (/showthread.php?tid=73196)



[HELP] SetPlayerRaceCheckpoint - NtCat - 13.04.2009

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.


Re: [HELP] SetPlayerRaceCheckpoint - FUNExtreme - 13.04.2009

You forgot the size.


Re: [HELP] SetPlayerRaceCheckpoint - NtCat - 13.04.2009

Oh, thanks