[SEARCHING] Invisable Player Square on Mini-Map
#1

Some other day I read something about making an player square on mini-map inivisable, currently I am searching for it but cannot find it anywhere.

I guess it has something to do with https://sampwiki.blast.hk/wiki/SetPlayerColor


I have been searching 10 minutes already, and it starts pissing me off now >_<.






Quote:
Originally Posted by Riddick94
Посмотреть сообщение
You mean SetPlayerColor(playerid, COLOR_WHITE);

pawn Код:
#define COLOR_WHITE             0xFFFFFFFF
This'll make player invisible on the map without using ShowPlayerMarkers(false);
Quote:
Originally Posted by Meyer
Посмотреть сообщение
use 50 alpha at end of hex

Ex: 0xFFFFFF50
Reply
#2

ShowPlayerMarkers(false);

In OnGameModeInit.
Reply
#3

Well I'm looking for something different..
I think it was posted on forum.sa-mp.com or wiki.sa-mp.com

But thanks anyways.
Reply
#4

You mean SetPlayerColor(playerid, COLOR_WHITE);

pawn Код:
#define COLOR_WHITE             0xFFFFFFFF
This'll make player invisible on the map without using ShowPlayerMarkers(false);
Reply
#5

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
You mean SetPlayerColor(playerid, COLOR_WHITE);

pawn Код:
#define COLOR_WHITE             0xFFFFFFFF
This'll make player invisible on the map without using ShowPlayerMarkers(false);
Yea exactly, it was something like that but how can I make the colour like 50% visable?
Do you have a kind of link of an tutorial or?
Reply
#6

use 50 alpha at end of hex

Ex: 0xFFFFFF50
Reply
#7

Quote:
Originally Posted by Meyer
Посмотреть сообщение
use 50 alpha at end of hex

Ex: 0xFFFFFF50
Okay I'll try that, Thank you all.
Reply
#8

0x12345600 is better, i think
123456 --> replace with ur color.
Reply
#9

Quote:
Originally Posted by NeTuddMeg
Посмотреть сообщение
0x12345600 is better, i think
123456 --> replace with ur color.
Sets completely Invisible.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)