[HELP] Business
#1

what's wrong ?
pawn Код:
if(strcmp(cmd, "/jump", true) == 0 || strcmp(cmd, "/dive", true) == 0)
    {
        if(PlayerToPoint(10, playerid, 1.7178,32.8729,1199.5938) && GetPlayerVirtualWorld(playerid) == 12)
        {
            SetPlayerPos(playerid, BusinessInfo[12][bEntrancex], BusinessInfo[i][bEntrancey], BusinessInfo[12][bEntrancez]+1000.0);
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid, 0);
            GivePlayerWeapon(playerid, 46, 1); // Para
            GameTextForPlayer(playerid, "~g~Go! Go! Go!", 5000, 4);
        }
pawn Код:
#define MAX_BUSINESSES 12
Error :
pawn Код:
D:\Games\GTA San Andreas\server\gamemodes\slrpg.pwn(9037) : error 032: array index out of bounds (variable "BusinessInfo")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

pawn Код:
#define MAX_BUSINESSES 13
Reply
#3

Thank you . Lol i think i need to get some rest !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)