Вобщем исправьте плиз мне код. Когда я сажусь в любой транспорт, то постоянно выводится Landstalker. Или скажите что мне именно нужно исправить?
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { new vidp = GetPlayerVehicleID(playerid); new vmidp = GetVehicleModel(vidp); if(vmidp != 400){ GameTextForPlayer(playerid,"~w~Landstalker",3000,1); } else if(vmidp != 402){ GameTextForPlayer(playerid,"~w~Buffalo",3000,1); } else if(vmidp != 404){ GameTextForPlayer(playerid,"~w~Perrenial",3000,1); } else if(vmidp != 405){ GameTextForPlayer(playerid,"~w~Sentinal",3000,1); } else if(vmidp != 406){ GameTextForPlayer(playerid,"~w~Dumper",3000,1); } else if(vmidp != 411){ GameTextForPlayer(playerid,"~w~Infernus",3000,1); } else if(vmidp != 415){ GameTextForPlayer(playerid,"~w~Cheetah",3000,1); } else if(vmidp != 416){ GameTextForPlayer(playerid,"~w~Ambulance",3000,1); } else if(vmidp != 418){ GameTextForPlayer(playerid,"~w~Moonbeam",3000,1); } else if(vmidp != 421){ GameTextForPlayer(playerid,"~w~Washington",3000,1); } else if(vmidp != 426){ GameTextForPlayer(playerid,"~w~Premier",3000,1); } else if(vmidp != 427){ GameTextForPlayer(playerid,"~w~Enforcer",3000,1); } else if(vmidp != 429){ GameTextForPlayer(playerid,"~w~Banshee",3000,1); } else if(vmidp != 432){ GameTextForPlayer(playerid,"~w~Rhino",3000,1); } else if(vmidp != 433){ GameTextForPlayer(playerid,"~w~Barracks",3000,1); } else if(vmidp != 434){ GameTextForPlayer(playerid,"~w~Hotknife",3000,1); } else if(vmidp != 437){ GameTextForPlayer(playerid,"~w~Coach",3000,1); } else if(vmidp != 451){ GameTextForPlayer(playerid,"~w~Turismo",3000,1); } else if(vmidp != 461){ GameTextForPlayer(playerid,"~w~PCJ-600",3000,1); } else if(vmidp != 467){ GameTextForPlayer(playerid,"~w~Oceanic",3000,1); } else if(vmidp != 470){ GameTextForPlayer(playerid,"~w~Patriot",3000,1); } else if(vmidp != 475){ GameTextForPlayer(playerid,"~w~Sabre",3000,1); } else if(vmidp != 476){ GameTextForPlayer(playerid,"~w~Rustler",3000,1); } else if(vmidp != 477){ GameTextForPlayer(playerid,"~w~ZR-350",3000,1); } else if(vmidp != 482){ GameTextForPlayer(playerid,"~w~Burrito",3000,1); } else if(vmidp != 487){ GameTextForPlayer(playerid,"~w~Maverick",3000,1); } else if(vmidp != 492){ GameTextForPlayer(playerid,"~w~Greenwood",3000,1); } else if(vmidp != 493){ GameTextForPlayer(playerid,"~w~Jetmax",3000,1); } else if(vmidp != 496){ GameTextForPlayer(playerid,"~w~Blista",3000,1); } else if(vmidp != 506){ GameTextForPlayer(playerid,"~w~Super GT",3000,1); } else if(vmidp != 510){ GameTextForPlayer(playerid,"~w~Mountain Bike",3000,1); } else if(vmidp != 519){ GameTextForPlayer(playerid,"~w~Shamal",3000,1); } else if(vmidp != 520){ GameTextForPlayer(playerid,"~w~Hydra",3000,1); } else if(vmidp != 521){ GameTextForPlayer(playerid,"~w~FCR-900",3000,1); } else if(vmidp != 522){ GameTextForPlayer(playerid,"~w~NRG-500",3000,1); } else if(vmidp != 523){ GameTextForPlayer(playerid,"~w~HPV-1000",3000,1); } else if(vmidp != 533){ GameTextForPlayer(playerid,"~w~Feltzer",3000,1); } else if(vmidp != 534){ GameTextForPlayer(playerid,"~w~Remington",3000,1); } else if(vmidp != 535){ GameTextForPlayer(playerid,"~w~Slamvan",3000,1); } else if(vmidp != 541){ GameTextForPlayer(playerid,"~w~Bullet",3000,1); } else if(vmidp != 549){ GameTextForPlayer(playerid,"~w~Tampa",3000,1); } else if(vmidp != 550){ GameTextForPlayer(playerid,"~w~Sunrise",3000,1); } else if(vmidp != 556){ GameTextForPlayer(playerid,"~w~Monstera",3000,1); } else if(vmidp != 558){ GameTextForPlayer(playerid,"~w~Uranus",3000,1); } else if(vmidp != 559){ GameTextForPlayer(playerid,"~w~Jester",3000,1); } else if(vmidp != 560){ GameTextForPlayer(playerid,"~w~Sultan",3000,1); } else if(vmidp != 562){ GameTextForPlayer(playerid,"~w~Elegy",3000,1); } else if(vmidp != 565){ GameTextForPlayer(playerid,"~w~Flash",3000,1); } else if(vmidp != 566){ GameTextForPlayer(playerid,"~w~Tahoma",3000,1); } else if(vmidp != 567){ GameTextForPlayer(playerid,"~w~Savanna",3000,1); } else if(vmidp != 568){ GameTextForPlayer(playerid,"~w~Bandito",3000,1); } else if(vmidp != 579){ GameTextForPlayer(playerid,"~w~Huntley",3000,1); } else if(vmidp != 581){ GameTextForPlayer(playerid,"~w~BF-400",3000,1); } else if(vmidp != 587){ GameTextForPlayer(playerid,"~w~Euros",3000,1); } else if(vmidp != 592){ GameTextForPlayer(playerid,"~w~Andromada",3000,1); } else if(vmidp != 593){ GameTextForPlayer(playerid,"~w~Dodo",3000,1); } else if(vmidp != 596){ GameTextForPlayer(playerid,"~w~Police Los Santos",3000,1); } else if(vmidp != 597){ GameTextForPlayer(playerid,"~w~Police San Fierro",3000,1); } else if(vmidp != 598){ GameTextForPlayer(playerid,"~w~Police Las Venturas",3000,1); } else if(vmidp != 601){ GameTextForPlayer(playerid,"~w~SWAT",3000,1); } else if(vmidp != 603){ GameTextForPlayer(playerid,"~w~Phoenix",3000,1); } }
Отредактировано ZiP93 (2008-07-21 16:14:28)