26.01.2010, 13:37
Heres the error, hope you can help me
Heres the error line
Heres the whole command
Код:
C:\Server\filterscripts\lol.pwn(4501) : error 075: input line too long (after substitutions) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
(4501)if(!strlen(params)) return SendClientMessage(playerid, red, "Usage: /p (Text)"); //I think this is wrong row because just after it comes something i will show below.
Код:
(4493)dcmd_p(playerid,params[]) (4494){ (4495) new vehicleid; (4496) (4497) for (new i = 0; i < MAX_PLAYERS; i++) (4498) { (4499) vehicleid = GetPlayerVehicleID(i); (4500) if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, red, "Error: Well at least you need to be in a vehicle >_<"); (4501) if(!strlen(params)) return SendClientMessage(playerid, red, "Usage: /p (Text)"); (4502) if(GetVehicleModel(vehicleid) == 417 || GetVehicleModel(vehicleid) == 425 || GetVehicleModel(vehicleid) == 447 || GetVehicleModel(vehicleid) == 460 || GetVehicleModel(vehicleid) == 464 || GetVehicleModel(vehicleid) == 465 || GetVehicleModel(vehicleid) == 469 || GetVehicleModel(vehicleid) == 476 || GetVehicleModel(vehicleid) == 487 || GetVehicleModel(vehicleid) == 488 || GetVehicleModel(vehicleid) == 497 || GetVehicleModel(vehicleid) == 501 || GetVehicleModel(vehicleid) == 511 || GetVehicleModel(vehicleid) == 512 || GetVehicleModel(vehicleid) == 513 || GetVehicleModel(vehicleid) == 519 || GetVehicleModel(vehicleid) == 520 || GetVehicleModel(vehicleid) == 548 || GetVehicleModel(vehicleid) == 553 || GetVehicleModel(vehicleid) == 563 || GetVehicleModel(vehicleid) == 577 || GetVehicleModel(vehicleid) == 592 || GetVehicleModel(vehicleid) == 593 || GetVehicleModel(vehicleid) == 488) (4503) { (4504) new string[128], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, sizeof(pName)); (4505) format(string,sizeof(string),"Pilot Chat: %s: %s",pName, params); SendClientMessage(i,green,string); (4506) } (4507) return 1; (4508) } (4509) return 1; (4510)}