SA-MP Forums Archive
Vehicles (Marked on the map with a gray dot) - 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)
+--- Thread: Vehicles (Marked on the map with a gray dot) (/showthread.php?tid=287729)



Vehicles (Marked on the map with a gray dot) - MiTToS - 04.10.2011

I am looking for a response or function.
I want to remove those gray dots that mark the cars on the radar (when they are not being used)

I don't know if there is any function that does what I want, but I've seen servers that point removed the vehicle.
Some people have suggested me to put vehicles in another interior or virtualworld, but that does not work.

This photo is the original photo showing the vehicle marked on the map


This photo is the edited photo, where the vehicle does not show marked on the map



I've seen servers with this, but I have no idea how they did.

If anyone can help, I appreciate it.


Re: Vehicles (Marked on the map with a gray dot) - aRoach - 04.10.2011

You can't, there isn't any function !

Or try this:
pawn Код:
public OnVehicleStreamIn( vehicleid, forplayerid )
{
    for( new i = 0; i < MAX_VEHICLES; i ++ )
    {
        SetVehicleParamsForPlayer( i, forplayerid, 0, 0 );
    }
    return ( 1 );
}



Re: Vehicles (Marked on the map with a gray dot) - MiTToS - 04.10.2011

Quote:
Originally Posted by aRoach
Посмотреть сообщение
You can't, there isn't any function !
How this was done on the LSRP?


Re: Vehicles (Marked on the map with a gray dot) - aRoach - 04.10.2011

Edited the First Post ...


Re: Vehicles (Marked on the map with a gray dot) - IstuntmanI - 04.10.2011

Quote:
Originally Posted by MiTToS
Посмотреть сообщение
How this was done on the LSRP?
Many beta-testers are on LSRP crew ... and maybe they removed the dots.


Re: Vehicles (Marked on the map with a gray dot) - MiTToS - 04.10.2011

Quote:
Originally Posted by aRoach
Посмотреть сообщение
You can't, there isn't any function !

Or try this:
pawn Код:
public OnVehicleStreamIn( vehicleid, forplayerid )
{
    for( new i = 0; i < MAX_VEHICLES; i ++ )
    {
        SetVehicleParamsForPlayer( i, forplayerid, 0, 0 );
    }
    return ( 1 );
}
I did some testing and do not work.

:/



Quote:
Originally Posted by costel_nistor96
Посмотреть сообщение
Many beta-testers are on LSRP crew ... and maybe they removed the dots.
But probably they used a feature, and I was wondering what this feature is.


Re: Vehicles (Marked on the map with a gray dot) - LeNy - 04.10.2011

Try This:
pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 0);
return (1);
}



Re: Vehicles (Marked on the map with a gray dot) - MiTToS - 04.10.2011

Quote:
Originally Posted by LeNy
Посмотреть сообщение
Try This:
pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 0);
return (1);
}
don't work


Re: Vehicles (Marked on the map with a gray dot) - Michael@Belgium - 05.10.2011

I don't think it's possible ... ;S


Re: Vehicles (Marked on the map with a gray dot) - [MG]Dimi - 05.10.2011

Quote:
Originally Posted by LeNy
Посмотреть сообщение
Try This:
pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
SetVehicleParamsForPlayer(vehicleid, forplayerid, 0, 0);
return (1);
}
Won't work. Objective param isn't gray dot on map. It's white/yellow arrow on top of car.