Jump to content
  • 0

problema ShowPlayerMarkers(1);


InceMan

Question

salut asi vrea sa fac sa apara toti playeri pe mapa  sau daca nu apat toti macar la 600m sa se vada am incercat in denumarate randuri dar fara succes 

imi puteti da o ideie in legatura cu     

    ShowPlayerMarkers(1); // Show players on the entire map (and on the radar)
    ShowNameTags(1); // Show player names (and health) above their head
    ManualVehicleEngineAndLights(); // Let the server control the vehicle's engine and lights
    EnableStuntBonusForAll(0); // Disable stunt bonus for all players
    DisableInteriorEnterExits(); // Removes all building-entrances in the game
    UsePlayerPedAnims(); // Use CJ's walking animation
    SetNameTagDrawDistance(30);
    LimitPlayerMarkerRadius(100.0);

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0
59 minutes ago, Geani said:

salut asi vrea sa fac sa apara toti playeri pe mapa  sau daca nu apat toti macar la 600m sa se vada am incercat in denumarate randuri dar fara succes 

imi puteti da o ideie in legatura cu     

    ShowPlayerMarkers(1); // Show players on the entire map (and on the radar)
    ShowNameTags(1); // Show player names (and health) above their head
    ManualVehicleEngineAndLights(); // Let the server control the vehicle's engine and lights
    EnableStuntBonusForAll(0); // Disable stunt bonus for all players
    DisableInteriorEnterExits(); // Removes all building-entrances in the game
    UsePlayerPedAnims(); // Use CJ's walking animation
    SetNameTagDrawDistance(30);
    LimitPlayerMarkerRadius(100.0);

Ca sa se vada jucatorii, transparenta culorii lor(0xRRGGBBAA) ar fi bine sa fie FF, adica nivelul minim de transparenta = opac.

Link to comment
Share on other sites

  • 0
Acum 25 minute, Tud0r. a spus:

Fii mai explicit. Cand vrei sa-i vezi pe mapa si pe ce raza?

da deci eu cum am facut nu imi apare nicio culoare pe mapa a unui jucator diferit si mam referit macar sa se vada pe o raza de 600 metri daca nu se vad pe toatea mapa playeri

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0
1 minute ago, Geani said:

da deci eu cum am facut nu imi apare nicio culoare pe mapa a unui jucator diferit si mam referit macar sa se vada pe o raza de 600 metri daca nu se vad pe toatea mapa playeri

Se poate vedea pe toata mapa. 

Foloseste-te de asta: https://wiki.sa-mp.com/wiki/SetPlayerMarkerForPlayer

A sa nu uit trebuie sa te folosesti si de foreach pentru a afisa toti jucatorii...

Retras

Link to comment
Share on other sites

  • 0
Acum 1 minut, Tud0r. a spus:

Se poate vedea pe toata mapa. 

Foloseste-te de asta: https://wiki.sa-mp.com/wiki/SetPlayerMarkerForPlayer

A sa nu uit trebuie sa te folosesti si de foreach pentru a afisa toti jucatorii...

ok asta inseamna ca are legatura si cu SetPlayerToTeamColor nu?

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0
Acum 18 minute, Spmn a spus:

Ca sa se vada jucatorii, transparenta culorii lor(0xRRGGBBAA) ar fi bine sa fie FF, adica nivelul minim de transparenta = opac.

stiu si de faptul asta ca am incercat eu masi teme sa nu imi faca probleme la public OnPlayerSpawn(playerid) sa nu ruleze corect curorile respective la fiecare factiune

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

ce ma sfatuiti sa fac ceva de genu la OnPlayerSpawn 

	if(IsPlayerConnected(playerid))
	{
		SetPlayerColor(playerid,COLOR_WHITE);
		switch(PlayerInfo[playerid][pFactiune]){
			case 1..3: {
				if(Undercover[playerid] != 0) return 1;
				else SetPlayerColor(playerid, COLOR_DBLUE); //COP

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0

Te duci unde ai deja culorile factiunilor definite si verifici sa se termine in FF. Daca nu se termina, le pui tu FF si ar trebui sa iti arate jucatorii pe harta daca ai pus si functiile din prima postare la OnGameModeInit.

Link to comment
Share on other sites

  • 0
Acum 4 minute, Spmn a spus:

Te duci unde ai deja culorile factiunilor definite si verifici sa se termine in FF. Daca nu se termina, le pui tu FF si ar trebui sa iti arate jucatorii pe harta daca ai pus si functiile din prima postare la OnGameModeInit.

am sa incerc si asa cum spuneai tiu intradevar sunt vreo 4 care nu se termina cu FF dar alelante trebuia sa se vada 

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0
Acum 27 minute, WopsS a spus:

Cum ai definit COLOR_WHITE? Si ai incercat cu mai multi jucatori sau doar tu singur?

#define COLOR_WHITE         0xFFFFFFFF da am mai incercat cu 5 playeri dar tot la fel este

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

  • 0
Acum 1 oră, Banditul a spus:

LimitPlayerMarkerRadius(100.0);

Sterge asta(pentru markere globale) sau punei 600.0 (daca vrei la 600m)

am pus si aia de denumarate randuri si nu merge    LimitPlayerMarkerRadius(600.0);
    ShowPlayerMarkers(PLAYER_MARKERS_MODE_STREAMED);

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.