Stellet 7 Odesláno: 6. Duben, 2015 Share Odesláno: 6. Duben, 2015 Ahoj jak udělám prosím když chci že dám příkaz /duty tak se mi změní barva nicku v TAB na oranžovou ale na mapě vidět nebudu ? Link to comment Share on other sites More sharing options...
0 Stellet 7 Odesláno: 6. Duben, 2015 Author Share Odesláno: 6. Duben, 2015 Udělal jsem to jak jsi napsal akorát tu oranzovou jsem dal moji oranžovou nadefinovanou ale když použiju /duty tak je na mapě šedivě označen. Link to comment Share on other sites More sharing options...
0 Ray 8 Odesláno: 6. Duben, 2015 Share Odesláno: 6. Duben, 2015 (upraveno) ShowPlayerMarkers(PLAYER_MARKERS_MODE_OFF); SetPlayerColor(playerid, BARVA); Edited 6. Duben, 2015 by Ray Link to comment Share on other sites More sharing options...
0 Stellet 7 Odesláno: 6. Duben, 2015 Author Share Odesláno: 6. Duben, 2015 (upraveno) nechápu tě, mám toto: if(Hrac[playerid][AdminLevel] == 1) { SetPlayerColor(playerid, COLOR_ORANGE); for(new i = 0; i < MAX_PLAYERS; i++) SetPlayerMarkerForPlayer(i, playerid,(COLOR_ORANGE & 0xFFFFFF00)); Hrac[playerid][Aduty] = 1; } Define Color_Orange #define COLOR_ORANGE 0xFF9A00FF A když dá že mu to dá tu oranžovou, tak v TAB je oražově, to chci, ale ve hře je vidět šedivě. Chci aby nikdo na mapě nebyl vidět. Edited 6. Duben, 2015 by FeedBoss Link to comment Share on other sites More sharing options...
0 Stellet 7 Odesláno: 6. Duben, 2015 Author Share Odesláno: 6. Duben, 2015 (upraveno) a nebudu vidět na mapě ale v TAB bude oranžově ? if(Hrac[playerid][AdminLevel] == 4) { SetPlayerColor(playerid, COLOR_ORANGE); for(new i = 0; i < MAX_PLAYERS; i++) SetPlayerMarkerForPlayer(i, playerid, COLOR_ORANGE); Hrac[playerid][Aduty] = 4; } EDIT: Teď jsem to zkusil ten kod výše a nejde furt je vidět na mapě. Edited 6. Duben, 2015 by FeedBoss Link to comment Share on other sites More sharing options...
0 Stellet 7 Odesláno: 7. Duben, 2015 Author Share Odesláno: 7. Duben, 2015 a ukážeš mi jak udělat tyto barvy aby nebyli vidět na mapě ? ) #define COLOR_HELPER 0x00D37BFF #define COLOR_MODERATOR 0xAB76FFFF #define COLOR_ORANGE 0xFF9A00FF Děkuji Link to comment Share on other sites More sharing options...
0 Ray 8 Odesláno: 7. Duben, 2015 Share Odesláno: 7. Duben, 2015 Pokud děláš Roleplay server, tak nebudeš mít markery hráčů na mapě, tudíž použij: ShowPlayerMarkers(PLAYER_MARKERS_MODE_OFF); Link to comment Share on other sites More sharing options...
0 Stellet 7 Odesláno: 8. Duben, 2015 Author Share Odesláno: 8. Duben, 2015 Takže akorát dám: SetPlayerColor(playerid,COLOR_ORANGE); a pak ShowPlayerMarkers(PLAYER_MARKERS_MODE_OFF); ? Na jakou mám dát tu Alphu ? Link to comment Share on other sites More sharing options...
0 Mort 29 Odesláno: 8. Duben, 2015 Share Odesláno: 8. Duben, 2015 Cpeš tam pátý přes deváty, kdyby sis býval přečetl, co ty dvě funkce dělají, mohl jsi tohle mít již dávno z krku. Řešení je prosté: Nastavíš si oranžovou barvu, pro ostatní neviditelnou.: SetPlayerColor(playerid, 0xff9a00ff); SetPlayerMarkerForPlayer(playerid, playerid, 0xff9a00ff); for(new i = 0; i < MAX_PLAYERS; i++) if(i != playerid) SetPlayerMarkerForPlayer(i, playerid, 0xffffff00); else continue; Link to comment Share on other sites More sharing options...
Dotaz
Stellet 7
Ahoj jak udělám prosím když chci že dám příkaz /duty tak se mi změní barva nicku v TAB na oranžovou ale na mapě vidět nebudu ?
Link to comment
Share on other sites
8 odpovědí na tuto otázku
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now