error 017: undefined symbol "i"
#3

Quote:
Originally Posted by micha654
Посмотреть сообщение
Instead of writing:
Код:
[pLocal] = i;
Try this:
Код:
[pLocal] = i+6000;
__________________
+REP If I helped you
How is that going to help him? It still won't define what the "i" is.

pawn Код:
case 1:
                {
                    for(new i = 0; i < hazak; i++)
                    {
                        if(PlayerToPoint(1, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]))
                        if(HouseInfo[i][hDrog] != 1) return Msg(playerid,"A hбzban nincs droglabor!");
                        SetPlayerVirtualWorld(playerid, i); <<ERROR!
                        SetPlayerPos(playerid,1253.2783,-1701.6456,6319.3672);
                        Freeze(playerid,5000);
                        GameTextForPlayer(playerid, "~w~Ьdv itt!", 2000, 1);
                        PlayerInfo[playerid][pLocal] = i; <<ERROR!
                        Hazbanvan[playerid] = 1;
                    }
                }  
            }  
        }
    }
Maybe adding callbacks fixes it. It'd be easier for me to understand if I knew what you were trying to do. Nevertheless; try this.
Reply


Messages In This Thread
error 017: undefined symbol "i" - by Slicebook - 04.04.2014, 20:05
Re: error 017: undefined symbol "i" - by micha654 - 04.04.2014, 21:35
Re: error 017: undefined symbol "i" - by Dignity - 04.04.2014, 21:38
Re: error 017: undefined symbol "i" - by Slicebook - 04.04.2014, 21:52
Re: error 017: undefined symbol "i" - by Dignity - 04.04.2014, 21:54
Re: error 017: undefined symbol "i" - by Slicebook - 04.04.2014, 21:57
Re: error 017: undefined symbol "i" - by DerickClark - 04.04.2014, 22:07
Re: error 017: undefined symbol "i" - by Dignity - 04.04.2014, 22:11
Re: error 017: undefined symbol "i" - by DerickClark - 04.04.2014, 22:33

Forum Jump:


Users browsing this thread: 2 Guest(s)