SetPlayerColour
#1

^^^^^^^^
Reply
#2

SetPlayerColor(playerid, 0x1B22E0FF);
Reply
#3

Make a variable check OnPlayerSpawn callback to see if the skin is swat then set their colour BLUE.
Reply
#4

^^^^^^^^
Reply
#5

pawn Код:
if(GetPlayerSkin(playerid) == 285)
{
    SetPlayerColor(playerid, COLOR_BLUE);
}
else
{
    SetPlayerColor(playerid, -1);
}
Reply
#6

pawn Код:
if(GetPlayerSkin(playerid) == 285)
{
    SetPlayerColor(playerid, COLOR_BLUE);
}
else
{
    SetPlayerColor(playerid, COLOR_WHITE);
}
EDIT: Slowly!
Reply
#7

^^^^^^^^
Reply
#8

^^^^^^^^
Reply
#9

pawn Код:
if(GetPlayerSkin(playerid) == 285 || GetPlayerSkin(playerid) == 274 || GetPlayerSkin(playerid) == 275 || GetPlayerSkin(playerid) == 276 || GetPlayerSkin(playerid) == 277 || GetPlayerSkin(playerid) == 278 || GetPlayerSkin(playerid) == 279 || GetPlayerSkin(playerid) == 280 || GetPlayerSkin(playerid) == 281 || GetPlayerSkin(playerid) == 282 || GetPlayerSkin(playerid) == 283 || GetPlayerSkin(playerid) == 284 || GetPlayerSkin(playerid) == 285 || GetPlayerSkin(playerid) == 286 || GetPlayerSkin(playerid) == 287 || GetPlayerSkin(playerid) == 288)
{
    SetPlayerColor(playerid, COLOR_BLUE);
}
else
{
    SetPlayerColor(playerid, COLOR_WHITE);
}
Reply
#10

^^^^^^^^
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)