Jump to content
  • 0

pomoc Hide


DeLeTeCZ

Dotaz

5 odpovědí na tuto otázku

Recommended Posts

  • 0
for(new i = 0; i < MAX_PLAYERS; i++)    
    {
 
               SetPlayerMarkerForPlayer(i,playerid,00);    
    }

00 = Transpartent (invisible)

 

Tak nefunguje po nějaké době se na mapě ikonka hráče zobrazí :(

Link to comment
Share on other sites

  • 0

zisti si po akej dobe a ptm znova (cez timer)

 

To jako fakt? To snad není možné -.-

 

Dle mě se to zruší jakmile hráčovi nastavíš novou barvu.. V životě jsem tu funkci nepoužil, ale pokuď tomu tak je. Tak bych si udělal vlastní SetPlayerColorEx npř. který by to automaticky aktualizoval..

Link to comment
Share on other sites

  • 0

Dejme tomu, že chceš neviditelnou červenou, to je 

0xFF0000FF

Stačí dát jen 

SetPlayerColor(playerid,0xFF000000);

poslední 2 čísla na konci určují neviditelnost, 00 je, že bude barva neviditelná 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...