20.03.2012, 16:29
fiz um comando onde, quando eu digitar /carros irei ver o id de todos os veiculos do jogo
mas ta dando esse erro
@Edit linha do erro
aki o comando
mas ta dando esse erro
@Edit linha do erro
pawn Код:
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(27933) : error 037: invalid string (possibly non-terminated string)
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(27933) : error 017: undefined symbol "Carros"
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(27933) : error 033: array must be indexed (variable "Onibus")
C:\Users\william\Documents\Meus arquivos recebidos\1\gamemodes\a.pwn(27933) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
dcmd_carros(playerid, params[])
{
#pragma unused params
SendClientMessage(playerid, COLOR_YELLOW, "Carros ID || Onibus ID || Caminhoes ID || Heli ID || Branco ID || Moto ID || Aviao ID");
SendClientMessage(playerid, COLOR_GREEN, "=======================================================================================================================================");
/*linha do erro*/ SendClientMessage(playerid, COLOR_YELLOW, "Carros 400 || Onibus 431 || Dumper 406 || Leviathan 417 || Predator 430 || Pizzaboy 448 || Skimmer 460);
SendClientMessage(playerid, COLOR_YELLOW, "Bravura 401 || Coach 437 || Firetruck 407 || Hunter 425 || Squallo 446 || PCJ-600 461 || Rustler 476);
SendClientMessage(playerid, COLOR_YELLOW, "Buffalo 402 || Trashmaster 408 || Seasparrow 447 || Speeder 452 || Faggio 462 || Shamal 519);
SendClientMessage(playerid, COLOR_YELLOW, "Linerunner 403 || Mule 414 || Sparrow 469 || Reefer 453 || Freeway 463 "====================);
SendClientMessage(playerid, COLOR_YELLOW, "Perenniel 404 || Rhino 432 || Maverick 487 || Tropic 454 || Sanchez 468);
SendClientMessage(playerid, COLOR_YELLOW, "Sentinel 405 || Barracks 433 || SAN News 478 || Coastguard 472 || Quad 471);
SendClientMessage(playerid, COLOR_YELLOW, "Limo 409 || Packer 443 || Police 497 || Dinghy 473 || NRG-500 521);
SendClientMessage(playerid, COLOR_YELLOW, "Manana 410 || Monster 444 || Hydra 520 || HPV1000 523);
SendClientMessage(playerid, COLOR_YELLOW, "Infernus 411 || Flatbed 455 || Cargobob 548 || BF-400 581);
SendClientMessage(playerid, COLOR_YELLOW, "Voodoo 412 || Yankee 456 || Raindance 563 "====================);
SendClientMessage(playerid, COLOR_YELLOW, "Pony 413 || DFT-30 578 || "====================);
SendClientMessage(playerid, COLOR_YELLOW, "Cheetah 415 || Tanker 514 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Ambulance 416 || Roadtrain 515 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Moonbeam 418 || Towtruck 525 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Esperanto 419 || "====================);
SendClientMessage(playerid, COLOR_YELLOW, "Taxi 420 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Washington 421 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Bobcat 422 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Soverte 423 ||);
SendClientMessage(playerid, COLOR_YELLOW, "BF Injection 424 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Premier 426 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Enforcer 427 ||);
SendClientMessage(playerid, COLOR_YELLOW, Securicar 428 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Banshee 429 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Hotknife 434 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Previon 436 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Cabbie 438 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Stallion 439 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Rumpo 440 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Admiral 445 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Turismo 451 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Solair 458 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Berkley's RC Van 459 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Patriot 470 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Hermes 474 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Sabre 475 ||);
SendClientMessage(playerid, COLOR_YELLOW, "ZR-350 477 ||);
SendClientMessage(playerid, COLOR_YELLOW, "Bullet 541 ||);
SendClientMessage(playerid, COLOR_GREEN, "====================);
return 1;
}