Opis problema: Stavio sam adrese kod svojeg house sistema i sve radi ali dobijem 2 warninga
C:\Documents and Settings\David Babić\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(18073) : warning 202: number of arguments does not match definition
C:\Documents and Settings\David Babić\Desktop\Croatia Sky RolePlay\gamemodes\CSRP.pwn(64134) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 14460 bytes
Code size: 3171176 bytes
Data size: 9770688 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4987 cells (19948 bytes)
Total requirements:12972708 bytes
2 Warnings.
Linija (18073) :
Get2DZone(location, MAX_ZONE_NAME, Houses, Houses, Houses);Linija (64134) :
Get2DZone(location, MAX_ZONE_NAME, Houses, Houses, Houses);Ali prije tih adresa morao sam napraviti stock i od kad sam njega napravio dobivam te warninge
stock GetPlayer2DZone(playerid, zone[], len)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
for(new i = 0; i != sizeof(SA_GPS_ZONE_NAMES); i++ ){
if(x >= SA_GPS_ZONE_NAMES && x <= SA_GPS_ZONE_NAMES && y >= SA_GPS_ZONE_NAMES && y <= SA_GPS_ZONE_NAMES){
return format(zone, len, SA_GPS_ZONE_NAMES, 0);}
}
return 0;
}