Enter / Exit
#1

So far I have this:

pawn Код:
command(enter, playerid, params[])
{
    switch(arrowpickup[])
    {
    //
    }
    return 1;
}
I have the pickups declared and they display, they are also entered into the array shown below:

pawn Код:
// Arrow Array
new arrowpickup[100];

stock showarrowpickups()
{
  arrowpickup[1] = CreatePickup(1318, 1, -2440.8452, 524.1761, 29.9064, -1);
  arrowpickup[2] = CreatePickup(1318, 1, -2453.5320, 504.0138, 30.0802, -1);
  print("Arrow Pickups loaded");
 
}
The error is on the "switch" line, the error is: "bensamp.pwn(944) : error 029: invalid expression, assumed zero".

Can anyone please help me? Or see as to where I have gone wrong.
Reply


Messages In This Thread
Enter / Exit - by vIBIENNYx - 23.05.2012, 00:38
Re: Enter / Exit - by ReneG - 23.05.2012, 01:03
Re: Enter / Exit - by vIBIENNYx - 23.05.2012, 01:42
Re: Enter / Exit - by Jonny5 - 23.05.2012, 01:45
Re: Enter / Exit - by vIBIENNYx - 23.05.2012, 01:48
Re: Enter / Exit - by Jonny5 - 23.05.2012, 01:49
Re: Enter / Exit - by vIBIENNYx - 23.05.2012, 01:52
Re: Enter / Exit - by SuperViper - 23.05.2012, 02:53
Re: Enter / Exit - by [ABK]Antonio - 23.05.2012, 06:44
Re: Enter / Exit - by vIBIENNYx - 23.05.2012, 13:08

Forum Jump:


Users browsing this thread: 5 Guest(s)