#1

Hey i need help with rent a car system

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.
Line 16
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;
}
my new for RentAuto[1] if needed
pawn Code:
new RentAuto[1];
Reply


Messages In This Thread
rent - by MatriXgaMer - 28.01.2014, 18:55
Re: rent - by SerieWoordenaar - 28.01.2014, 19:22
Re: rent - by Konstantinos - 28.01.2014, 19:23
Re: rent - by MatriXgaMer - 28.01.2014, 19:27

Forum Jump:


Users browsing this thread: 1 Guest(s)