03.12.2010, 15:48
what's wrong ?
Error :
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
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.