11.01.2014, 21:11
PHP код:
//Linea Del Error:
if(IsPlayerInArea(playerid, ZonaAA)) return GameTextForPlayer(playerid,"~W~Armas ~r~Bloqueadas ~w~En Zonas Stunt!",3000,5);
//Error Segun Pawno:
error 017: undefined symbol "IsPlayerInArea"
PHP код:
stock IsPlayerInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if (x > minx && x < maxx && y > miny && y < maxy) return 1;
return 0;
}
PHP код:
undefined symbol "IsPlayerInRectangle"