GetVehicleName?!?!?! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: GetVehicleName?!?!?! (
/showthread.php?tid=171596)
GetVehicleName?!?!?! -
AK47317 - 27.08.2010
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.
Re: GetVehicleName?!?!?! -
coole210 - 27.08.2010
Never heard of this function lol
Re: GetVehicleName?!?!?! -
AK47317 - 27.08.2010
rofl i though it exist. i saw it on wiki.sa-mp.com
Re: GetVehicleName?!?!?! -
Voldemort - 27.08.2010
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;
}
Re: GetVehicleName?!?!?! -
MrDeath537 - 27.08.2010
It doesn't exists, but can be scripted.