Custom stock - GetVehicleName - bug
#8

This could be the most simple...

pawn Код:
stock GetVehicleName(vehid)
{
    new namestring[24];
    if(GetVehicleModel(vehid) == 400) format(namestring,sizeof(namestring),"Landstalker");
    if(GetVehicleModel(vehid) == 401) format(namestring,sizeof(namestring),"Bravura");
    if(GetVehicleModel(vehid) == 402) format(namestring,sizeof(namestring),"Buffalo");
if(GetVehicleModel(vehid) == 610) format(namestring,sizeof(namestring),"Farm Trailer");
    if(GetVehicleModel(vehid) == 611) format(namestring,sizeof(namestring),"Utility Trailer");
    return namestring;
}
Reply


Messages In This Thread
Custom stock - GetVehicleName - bug - by CrucixTM - 10.09.2010, 16:48
Re: Custom stock - GetVehicleName - bug - by Jochemd - 10.09.2010, 16:56
Re: Custom stock - GetVehicleName - bug - by Vince - 10.09.2010, 17:00
Re: Custom stock - GetVehicleName - bug - by LarzI - 10.09.2010, 17:08
Re: Custom stock - GetVehicleName - bug - by Vince - 10.09.2010, 17:09
Re: Custom stock - GetVehicleName - bug - by LarzI - 10.09.2010, 17:11
Re: Custom stock - GetVehicleName - bug - by Slice - 10.09.2010, 17:16
Re: Custom stock - GetVehicleName - bug - by Jochemd - 10.09.2010, 17:18
Re: Custom stock - GetVehicleName - bug - by mick88 - 10.09.2010, 17:20
Re: Custom stock - GetVehicleName - bug - by CrucixTM - 10.09.2010, 17:30

Forum Jump:


Users browsing this thread: 2 Guest(s)