Arrays must be indexed
#1

I am using Useful Functions include to use the OnPlayerGamble function. but i am getting the following errors.

Код:
C:\Program Files\Rockstar Games\GTA San Andreas (SAMP)\SAMP\pawno\include\uf.inc(4286) : error 033: array must be indexed (variable "betting")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
heres the code im using.

pawn Код:
public OnPlayerGamble(playerid,type,bet,wl)
{
        new PlayerInterior = GetPlayerInterior(playerid);
        if (PlayerInterior == 12)
        {
            SetCameraBehindPlayer(playerid);
            SetPlayerInterior(playerid, 0);
            SetPlayerPos(playerid,1659.4200,2252.7900,11.0701);
            TogglePlayerControllable(playerid,1);
            }
            else if (PlayerInterior == 1)
            {
                SetCameraBehindPlayer(playerid);
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,2193.6484,1676.5054,12.3672);
                TogglePlayerControllable(playerid,1);
                }
                else if (PlayerInterior == 10)
                {
                    SetCameraBehindPlayer(playerid);
                    SetPlayerInterior(playerid, 0);
                    SetPlayerPos(playerid,2022.6898,1007.0966,10.8203);
                    TogglePlayerControllable(playerid,1);
                }
            }
Reply


Messages In This Thread
Arrays must be indexed - by smallo - 18.02.2009, 07:28
Re: Arrays must be indexed - by smallo - 18.02.2009, 20:08
Re: Arrays must be indexed - by ICECOLDKILLAK8 - 18.02.2009, 21:52
Re: Arrays must be indexed - by smallo - 18.02.2009, 22:30
Re: Arrays must be indexed - by ICECOLDKILLAK8 - 18.02.2009, 23:05
Re: Arrays must be indexed - by smallo - 19.02.2009, 01:16
Re: Arrays must be indexed - by Sandra18[NL] - 19.02.2009, 01:33
Re: Arrays must be indexed - by smallo - 19.02.2009, 01:35
Re: Arrays must be indexed - by smallo - 19.02.2009, 04:51

Forum Jump:


Users browsing this thread: 1 Guest(s)