Error with compiling location script
#1

Hi guys im using the a_zone.inc , but now im getting this error when i use this script:

pawn Код:
#include <a_samp>
#include <a_zones>

new Zone[MAX_ZONE_NAME];
new Location[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    for(new i = 0; i <MAX_PLAYERS; i++)
      {
            GetPlayer2DZone(i, Zone, MAX_ZONE_NAME);
            Location[i] = Zone;
      }
  return 1;
}
This is the error i get:

pawn Код:
E:\_Spellen\bkp\filterscripts\testing.pwn(13) : error 006: must be assigned to an array
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

1 Error.
Whats wrong?
Reply


Messages In This Thread
Error with compiling location script - by Robbin237 - 19.02.2009, 11:49
Re: Error with compiling location script - by Robbin237 - 19.02.2009, 12:36
Re: Error with compiling location script - by mirkoiz - 19.02.2009, 13:00
Re: Error with compiling location script - by Finn - 19.02.2009, 13:17

Forum Jump:


Users browsing this thread: 2 Guest(s)