[Ajuda] erro filha da p***!!!
#5

Quote:
Originally Posted by Nickvj7
View Post
Use a lуgica. o erro й acesso invбlido a -400
E o nome й acessado usando -400 '-'

Isso ocorre provavelmente quando o player й retirado inesperada do veнculo.

Entгo, deve usar algo pra ver se o modelo do veнculo nгo й 0.
pawn Code:
stock GetVehicleName(vehicleid) {
    new v[50];
    if(GetVehicleModel(vehicleid) > 0)
        format(v, 50, vehName[GetVehicleModel(vehicle)-400]);
    return v;
}
PHP Code:
G:\Pen Drive\Brasil Vida Juvenil\gamemodes\BEG2.pwn(1287) : error 017undefined symbol "vehicle"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 
pawn Code:
new vehName[][] =
{
    "Landstalker","Bravura","Buffalo","Linerunner","Pereniel","Sentinel","Dumper","Firetruck","Trashmaster","Stretch","Manana","Infernus","Voodoo","Pony","Mule","Cheetah","Ambulance","Leviathan","Moonbeam","Esperanto","Taxi","Washington","Bobcat","Mr Whoopee","BF Injection",
    "Hunter","Premier","Enforcer","Securicar","Banshee","Predator","Bus","Rhino","Barracks","Hotknife","Trailer","Previon","Coach","Cabbie","Stallion","Rumpo","RC Bandit","Romero","Packer","Monster","Admiral","Squalo","Seasparrow","Pizzaboy","Tram","Trailer","Turismo","Speeder",
    "Reefer","Tropic","Flatbed","Yankee","Caddy","Solair","Berkley's RC Van","Skimmer","PCJ-600","Faggio","Freeway","RC Baron","RC Raider","Glendale","Oceanic","Sanchez","Sparrow","Patriot","Quad","Coastguard","Dinghy","Hermes","Sabre","Rustler","ZR3 50","Walton","Regina",
    "Comet","BMX","Burrito","Camper","Marquis","Baggage","Dozer","Maverick","News Chopper","Rancher","FBI Rancher","Virgo","Greenwood","Jetmax","Hotring","Sandking","Blista Compact","Police Maverick","Boxville","Benson","Mesa","RC Goblin","Hotring Racer","Hotring Racer",
    "Bloodring Banger","Rancher","Super GT","Elegant","Journey","Bike","Mountain Bike","Beagle","Cropdust","Stunt","Tanker","RoadTrain","Nebula","Majestic","Buccaneer","Shamal","Hydra","FCR-900","NRG-500","HPV1000","Cement Truck","Tow Truck","Fortune","Cadrona","FBI Truck",
    "Willard","Forklift","Tractor","Combine","Feltzer","Remington","Slamvan","Blade","Freight","Streak","Vortex","Vincent","Bullet","Clover","Sadler","Firetruck","Hustler","Intruder","Primo","Cargobob","Tampa","Sunrise","Merit","Utility","Nevada","Yosemite","Windsor","Monster A",
    "Monster B","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RC Tiger","Flash","Tahoma","Savanna","Bandito","Freight","Trailer","Kart","Mower","Duneride","Sweeper","Broadway","Tornado","AT-400","DFT-30","Huntley","Stafford","BF-400","Newsvan","Tug","Trailer","Emperor",
    "Wayfarer","Euros","Hotdog","Club","Trailer B","Trailer C","Andromada","Dodo","RC Cam","Launch","Police Car","Police Car","Police Car","Police Ranger","Picador","S.W.A.T.","Alpha","Phoenix","Glendale","Sadler","Luggage Trailer","Luggage Trailer",
    "Stair Trailer","Boxville","Farm Plow","Utility Trailer"
};

stock GetVehicleNameBVJ(vehicleid)
{
    new v[50];
    if(GetVehicleModel(vehicleid) > 0)
        format(v, 50, vehName[GetVehicleModel(vehicle)-400]);
    return v;
}
Reply


Messages In This Thread
erro filha da p***!!! - by Dieguinho - 08.03.2014, 00:32
Re: erro filha da p***!!! - by Locky_ - 08.03.2014, 00:53
Re: erro filha da p***!!! - by Dieguinho - 08.03.2014, 00:58
Re: erro filha da p***!!! - by Locky_ - 08.03.2014, 01:09
Re: erro filha da p***!!! - by Dieguinho - 08.03.2014, 13:07
Re: erro filha da p***!!! - by PT - 08.03.2014, 14:17
Re: erro filha da p***!!! - by Dieguinho - 08.03.2014, 15:01

Forum Jump:


Users browsing this thread: 2 Guest(s)