[Help] Location Problem - 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] Location Problem (
/showthread.php?tid=190277)
[Help] Location Problem -
SWEjason - 14.11.2010
Hello I have a small problem witha Location Script . i become 1 error , but i dont see it -.-
Errors:
(16413) : error 025: function heading differs from prototype
PHP код:
this is error: 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;
}
Anyone can help pls ?
SWEjason