Quote:
Originally Posted by eNNkds
Code:
L 04/21/2018 - 20:21:29: Info (map "bb_dust2") (file "addons/amxmodx/logs/error_20180421.log")
L 04/21/2018 - 20:21:29: Function is not present (function "radar_scan") (plugin "streak.amxx")
L 04/21/2018 - 20:21:29: [AMXX] Displaying debug trace (plugin "streak.amxx")
L 04/21/2018 - 20:21:29: [AMXX] Run time error 10: native error (native "set_task")
L 04/21/2018 - 20:21:29: [AMXX] [0] streak.sma::plugin_init (line 51)
|
Well I don't have time for this now, but try adding this function at the bottom.
PHP Code:
public radar_scan()
{
new num, players[32];
get_players(players, num, "gh")
for(new i=0; i<num; i++)
{
new id = players[i];
if(!is_user_alive(id) || !radar[get_user_team(id) == 1? 0: 1])
continue;
if(!emp_czasowe)
radar_continue(id)
else if(get_user_team(id) == get_user_team(emp_czasowe))
radar_continue(id)
}
}