[Ajuda] Ajuda 2 Erros
#1

Olha So

pawn Код:
iAdmins[38] = CreateVehicle(522,2446.6001000,-2068.8999000,14.8000000,180.0000000,233,233,60000); //NRG-500

);



Linhas : 18828/18830


pawn Код:
E:\[GM] Brasil Style City\pawno\BKG.pwn(18828) : error 032: array index out of bounds (variable "iAdmins")
E:\[GM] Brasil Style City\pawno\BKG.pwn(18830) : error 029: invalid expression, assumed zero
E:\[GM] Brasil Style City\pawno\BKG.pwn(18830) : warning 215: expression has no effect
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.



pawn Код:
new iAdmins[38]; // Total de Veiculos
forward iAdminss(playerid);
EU DEFINI LA EM CIMA MAIS PORQUE ? TA DANDO ISSO




Porque Esta Com Esse Erro Pode Me Ajudar ?
Reply
#2

Muda o valor de cells
pawn Код:
new iAdmins[39]; // Coloca 39
Reply
#3

Troque CreateVehicle por CreateVehicleEx
lembre se do EOS.

Sempre comeзa do 0..
Reply
#4

deu um erro
pawn Код:
);
Reply
#5

Que erro й esse '-'
Reply
#6

sei la
mais e a linha do erro
Reply
#7

Posta ae a funзгo inteira que fica mais fбcil ajudar vocк!
Reply
#8

pawn Код:
E:\[GM] Brasil Style City\pawno\BKG.pwn(18830) : error 029: invalid expression, assumed zero
E:\[GM] Brasil Style City\pawno\BKG.pwn(18830) : warning 215: expression has no effect
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply
#9

[pawn] iAdmins[30] = CreateVehicle(522,2438.3999000,-2074.8000500,14.8000000,180.0000000,233,233,60000) ; //NRG-500
iAdmins[31] = CreateVehicle(522,2438.3999000,-2071.8999000,14.8000000,180.0000000,233,233,60000) ; //NRG-500
iAdmins[32] = CreateVehicle(522,2438.3999000,-2069.0000000,14.8000000,180.0000000,233,233,60000) ; //NRG-500
iAdmins[33] = CreateVehicle(522,2446.6001000,-2083.5000000,14.8000000,180.0000000,233,233,60000) ; //NRG-500
iAdmins[34] = CreateVehicle(522,2446.6001000,-2080.6001000,14.8000000,180.0000000,233,233,60000) ; //NRG-500
iAdmins[35] = CreateVehicle(522,2446.6001000,-2077.6999500,14.8000000,180.0000000,233,233,60000) ; //NRG-500
iAdmins[36] = CreateVehicle(522,2446.6001000,-2074.6999500,14.8000000,180.0000000,233,233,60000) ; //NRG-500
iAdmins[37] = CreateVehicle(522,2446.6001000,-2071.8000500,14.8000000,180.0000000,233,233,60000) ; //NRG-500
iAdmins[38] = CreateVehicle(522,2446.6001000,-2068.8999000,14.8000000,180.0000000,233,233,60000) ; //NRG-500

);[<~~ ERRO]
Reply
#10

Vocк fez como eu falei velho..?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)