native

zp_get_random_player

Syntax

native zp_get_random_player(const team = 0);

Description

Get Random alive player Index

Parameters

team Use (0 - for Both Teams | 1 - for Humans Only | 2 - for Zombies Only);

Return

Random player index