14.04.2014, 22:06
i have made a small thing which is if you are in a faction and another one in the same faction you see a blue marker on him,but it doesnt work...
here is the code:
and i got in the script
why doesnt it work?
here is the code:
pawn Код:
public OnPlayerStreamIn(playerid, forplayerid)
{
if(pInfo[playerid][Faction] == pInfo[forplayerid][Faction]) SetPlayerMarkerForPlayer(playerid, forplayerid, COLOR_BLUE);
return 1;
}
pawn Код:
ShowPlayerMarkers(1);