22.11.2019, 08:27
Shouldn't you set ShowPlayerMarkers to 0, since you want to hide all the markers and only show the cops to other cops.
Are you just randomly saying something? IsACop isn't shown here so how'd you know if it's wrong?
Quote:
Your code is a little bit incorrect!
I'd better use Code:
public IsACop(killerid) { if(GetPlayerSkin(killerid) == 280 || GetPlayerSkin(killerid) == 281 || GetPlayerSkin(killerid) == 282 || GetPlayerSkin(killerid) == 283 || GetPlayerSkin(killerid) == 284 || GetPlayerSkin(killerid) == 285 || GetPlayerSkin(killerid) == 286 || GetPlayerSkin(killerid) == 287 || GetPlayerSkin(killerid) == 288) { return 1; } else { return 0; } } |