28.01.2014, 18:55
Hey i need help with rent a car system
error:
Line 16
my new for RentAuto[1] if needed
error:
pawn Code:
C:\Users\matRixgameR\Desktop\Pawno\gamemodes\RedWood.pwn(16) : error 032: array index out of bounds (variable "RentAuto")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
pawn Code:
public OnGameModeInit()
{
RentAuto[1] = AddStaticVehicle(550,1560.7578,-2260.6877,13.3635,89.9114,2,2); //THis one
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
pawn Code:
new RentAuto[1];