SA-MP Forums Archive
[ajuda]error: - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [ajuda]error: (/showthread.php?tid=342023)



[ajuda]error: - lyllrasta - 12.05.2012

Oque ha de errado ?

pawn Код:
if(isnull(params)) return SendClientMessage(playerid,-1,"Use: /Destruir [armario]");
    DestroyObject(Armarios[params]);
error:

pawn Код:
error 033: array must be indexed (variable "params")



Re: [ajuda]error: - .FuneraL. - 12.05.2012

pawn Код:
if(!isnull(params)) return SendClientMessage(playerid,-1,"Use: /Destruir [armario]");
    DestroyObject(Armarios[params]);
Tente


Re: [ajuda]error: - lyllrasta - 12.05.2012

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
pawn Код:
if(!isnull(params)) return SendClientMessage(playerid,-1,"Use: /Destruir [armario]");
    DestroyObject(Armarios[params]);
Tente
o Mesmo


Re: [ajuda]error: - .FuneraL. - 12.05.2012

Quote:
Originally Posted by lyllrasta
Посмотреть сообщение
o Mesmo
Nгo , Coloquei o " ! " Antes do isnull.


Re: [ajuda]error: - lyllrasta - 12.05.2012

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
Nгo , Coloquei o " ! " Antes do isnull.
Digo o erro (:
Malz te confundir


Re: [ajuda]error: - Abravanel - 12.05.2012

pawn Код:
DestroyObject(Armarios[strval(params)]);



Re: [ajuda]error: - lyllrasta - 12.05.2012

Quote:
Originally Posted by AFerreira
Посмотреть сообщение
pawn Код:
DestroyObject(Armarios[strval(params)]);
Valeu Funfo (:


Sу Nao tedou +rep porque ja ditei antes (:


Re: [ajuda]error: - RebeloX - 12.05.2012

Quote:
Originally Posted by .FuneraL.
Посмотреть сообщение
pawn Код:
if(!isnull(params)) return SendClientMessage(playerid,-1,"Use: /Destruir [armario]");
    DestroyObject(Armarios[params]);
Tente
Vocк estб errado, isnull = й nulo , ou seja !isnull = nгo й nulo, assim nгo poderб colocar nada...

Quote:
Originally Posted by AFerreira
Посмотреть сообщение
pawn Код:
DestroyObject(Armarios[strval(params)]);
Faзa como o AFerreira fez, depois fica assim.

pawn Код:
if(isnull(params)) return SendClientMessage(playerid,-1,"Use: /Destruir [armario]");
    DestroyObject(Armarios[strval(params)]);
Eu sei que jб ajudaram, apenas estou concertando o erro do funeral..