Problem with showplayeronmap
#1

I have a problem with Showplayermarkers
Код:
public OnGameModeInit() // Do not add vehicles Above the next lines. - CuervO
{
    UsePlayerPedAnims(1);
    ShowPlayerMarkers(1);
	LoadCar();
	new string2[64];
	for(new h = 1; h < sizeof(CarInfo); h++)
	{
		format(string2, sizeof(string2), "LARP/Vehicles/%d.ini",h);
		if(dini_Exists(string2))
		{
			ownedcar[h] = AddStaticVehicleEx(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
			if(CarInfo[h][cPaintjob] != 999)
			{
				ChangeVehiclePaintjob(h, CarInfo[h][cPaintjob]);
			}
			SetVehicleVirtualWorld(h, CarInfo[h][cVirWorld]);
			SetVehicleModifications(h);
		}
I added "ShowPlayerMarkers(2);" and (1) but on mini-map don't apear players
I use Gm Raven's RolePlay 4.3
Reply
#2

Up PLZ
Reply
#3

Just use SetPlayerColor, it will auto-place him in the map in that color.
Reply
#4

Don't work
Reply
#5

You want people to see each other on mini map
YES/NO?
Reply
#6

Yes, I want all players to be on the minimap
Reply
#7

pawn Код:
ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
Use this function OnGameModeInit public.

Glad to help you.
Reply
#8

not work(
Reply
#9

Quote:
Originally Posted by carbonzero
Посмотреть сообщение
not work(
After you paste it to there, you removed the Other's?
Reply
#10

yes...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)