GetVehicleName?!?!?!
#1

hello,

b4 i tell u anything, how to make the name of the car out when player enter vehicle, when i used the
pawn Код:
GetVehicleName(vehicleid);
its said undefined. i have try everything to do this thing. but i can't solve it.
Reply
#2

Never heard of this function lol
Reply
#3

rofl i though it exist. i saw it on wiki.sa-mp.com
Reply
#4

Quote:
Originally Posted by AK47317
Посмотреть сообщение
rofl i though it exist. i saw it on wiki.sa-mp.com
Its exist, its custom made function, but very usefull so its added to wiki, yeah use Micheliano example and here is one more good example
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new modelid = GetVehicleModel(vehicleid);
    new car = modelid-400;
    new cars[20];
    format(cars,sizeof(cars),"~w~%s",VehicleNames[car]);
    GameTextForPlayer(playerid,cars, 3000, 1);
    return 1;
}
Reply
#5

It doesn't exists, but can be scripted.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)