Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i = 0; i < MAXPLAYERS; i++) {
- tid = 3800+i;
- // [...]
- // Flicker friendly stealths
- int teammate = (GetPlayerInfo (i, PLAYERINFO_TEAM) == ConsoleTeam ()) || !PlayerInGame (consoleplayer);
- if (teammate && i != consoleplayer && (CheckActorInventory (tid, "StealthMode") == 2)) {
- SetActorProperty (tid, APROP_RenderStyle, STYLE_Translucent);
- SetActorProperty (3800+i, APROP_Alpha, 0.6);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment