error 025: function heading differs from prototype
#1

alright so this is my only error and I want to know how to fix it at last.

here is the code(s):
Код:
stock IsPlayerInZone(playerid, zone[])
{
	new TmpZone[MAX_ZONE_NAME];
	GetPlayer3DZone(playerid, TmpZone, sizeof(TmpZone));
	for(new i = 0; i != sizeof(gSAZones); i++)
	{
		if(strfind(TmpZone, zone, true) != -1)
			return 1;
	}
	return 0;
}
I also have the forward if you want:
Код:
forward IsPlayerInZone(playerid, zoneid);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)