player color help +rep
#1

Hello
i have /setcolor cmd and after i choose color all can see me in the minimap
i want to change it then i select color no one will see that in minimap

this the dialogin
http://pastebin.com/tjcqzZHP
Reply
#2

Just delete this Line
pawn Код:
// All these LINE delete :D
SetPlayerColor(playerid, ALL COLORS );
Reply
#3

Wow ty i'll check it now
lol but if i remove it so how the player get color ?
Reply
#4

Maybe? Not sure!
pawn Код:
if(listitem == 0) {
    SetPlayerColor(playerid,COLOR_DBLUE);
    ShowPlayerMarkers(0);
    SendClientMessageEx(playerid, COLOR_DBLUE, "Your color has    been set to Blue!");
}
Quote:
Originally Posted by Aprezt
Посмотреть сообщение
Just delete this Line
pawn Код:
// All these LINE delete :D
SetPlayerColor(playerid, ALL COLORS );
Wait. What?
If delete these function, then it's not /setcolor command because he will delete the colors.
Reply
#5

I'm sorry I got things so wrong: D Yes then add just ShowPlayerMarkers(0);
Reply
#6

Dwane, i did what you told me but i cant know if that work i need more player to ask him.
May you come to my server to let me check it ?
Reply
#7

Dwane Thank you mate that working !!
Reply
#8

No problem!
Reply
#9

Sorry mate that back again to show up in minimap what i need do ?
Reply
#10

You need to set the alpha values to 00 (the last two numbers of the color).

https://sampwiki.blast.hk/wiki/Colors_List
Read the part titled "Alpha values (transparency)".

pawn Код:
if(listitem == 0)
{
    SetPlayerColor(playerid, 0x0000FF00);
    SendClientMessageEx(playerid, COLOR_DBLUE, "Your color has been set to Blue!");
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)