Help with my Jail command
#7

And Finally One Last Thing.

Im trying to Set my Vehicles to VirutalWorld 4. Im trying to do it like this.

pawn Код:
new FaythGarageCars[19 + 1];
pawn Код:
FaythGarageCars[19] = CreateVehicle(598,-1718.19995117,722.00000000,147.69999695,0.00000000,-1,-1,15); //Police Car (LVPD)
    FaythGarageCars[18] = CreateVehicle(599,-1705.90002441,722.29998779,148.19999695,0.00000000,-1,-1,15); //Police Ranger
    FaythGarageCars[17] = CreateVehicle(402,-1693.69995117,721.20001221,147.80000305,0.00000000,-1,1,15); //Buffalo
    FaythGarageCars[16] = CreateVehicle(411,-1685.50000000,721.29998779,147.69999695,0.00000000,-1,1,15); //Infernus
    FaythGarageCars[15] = CreateVehicle(451,-1681.50000000,703.00000000,147.60000610,0.00000000,-1,1,15); //Turismo
    FaythGarageCars[14] = CreateVehicle(477,-1689.69995117,703.29998779,147.69999695,0.00000000,-1,1,15); //ZR-350
    FaythGarageCars[13] = CreateVehicle(506,-1710.00000000,703.29998779,147.69999695,0.00000000,-1,1,15); //Super GT
    FaythGarageCars[12] = CreateVehicle(541,-1718.40002441,703.00000000,147.60000610,0.00000000,-1,-1,15); //Bullet
    FaythGarageCars[11] = CreateVehicle(558,-1734.80004883,689.40002441,147.60000610,0.00000000,-1,1,15); //Uranus
    FaythGarageCars[10] = CreateVehicle(559,-1726.80004883,688.40002441,147.60000610,0.00000000,-1,1,15); //Jester
    FaythGarageCars[9] = CreateVehicle(560,-1718.30004883,689.00000000,147.69999695,0.00000000,-1,1,15); //Sultan
    FaythGarageCars[8] = CreateVehicle(562,-1710.40002441,688.40002441,147.60000610,0.00000000,-1,1,15); //Elegy
    FaythGarageCars[7] = CreateVehicle(579,-1701.59997559,689.70001221,148.00000000,0.00000000,-1,1,15); //Huntley
    FaythGarageCars[6] = CreateVehicle(601,-1690.09997559,689.50000000,147.80000305,0.00000000,-1,-1,15); //S.W.A.T. Van
    FaythGarageCars[5] = CreateVehicle(597,-1681.30004883,688.50000000,147.69999695,0.00000000,-1,-1,15); //Police Car (SFPD)
    FaythGarageCars[4] = CreateVehicle(490,-1673.09997559,688.79998779,148.19999695,0.00000000,-1,-1,15); //FBI Rancher
    FaythGarageCars[3] = CreateVehicle(490,-1664.80004883,689.29998779,148.19999695,0.00000000,-1,-1,15); //FBI Rancher
    FaythGarageCars[2] = CreateVehicle(432,-1659.59997559,699.70001221,148.00000000,90.00000000,-1,-1,15); //Rhino
    FaythGarageCars[1] = CreateVehicle(432,-1659.69995117,711.90002441,148.00000000,90.00000000,-1,-1,15); //Rhino
    FaythGarageCars[0] = CreateVehicle(578,-1665.59997559,736.09997559,148.60000610,0.00000000,-1,1,15); //DFT-30
    SetVehicleVirtualWorld(FaythGarageCars[20],4);
But, Im Getting

pawn Код:
C:\Users\Chris\Desktop\Server\gamemodes\Gangwar.pwn(329) : error 032: array index out of bounds (variable "FaythGarageCars")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
Help with my Jail command - by Shockey HD - 30.11.2011, 21:45
Re: Help with my Jail command - by [MG]Dimi - 30.11.2011, 21:59
Re: Help with my Jail command - by Shockey HD - 30.11.2011, 22:10
Re: Help with my Jail command - by grand.Theft.Otto - 30.11.2011, 22:38
Re: Help with my Jail command - by Shockey HD - 30.11.2011, 23:51
Re: Help with my Jail command - by grand.Theft.Otto - 01.12.2011, 00:33
Re: Help with my Jail command - by Shockey HD - 01.12.2011, 01:01
Re: Help with my Jail command - by Rob_Maate - 01.12.2011, 03:12

Forum Jump:


Users browsing this thread: 3 Guest(s)