Код покажи, если это форвард, нужен тот, кто его отправляет.
В предыдущем посте добавил, смотри...
jjey1 писал(а): Как з****ли панты! от мастеров! пупы мира просто блядь! ( у меня есть телка и я её ебу!! )
Модераторы: Subb98, liFe iS GoOD
/**
* Find a player given a filter.
*
* @note If matching by userid, do not also specify the "a", "b" or "c" flags,
* or the function may not return a correct result.
*
* @param flags List of filtering flags:
* "a" - match with name
* "b" - match with name substring
* "c" - match with authid
* "d" - match with ip
* "e" - match with team name
* "f" - do not include dead clients
* "g" - do not include alive clients
* "h" - do not include bots
* "i" - do not include human clients
* "j" - return last matched client instead of the first
* "k" - match with userid
* "l" - match case insensitively
* "m" - include connecting clients
* @param ... String to match against (integer if "k" flag is specified)
*
* @return Client index, or 0 if no client was found
*/
native find_player(const flags[], ...);
public fbans_player_banned_pre_f(id, userid, steam[], ip[], nick[], admin_ip[], admin_steam[], admin_name[], ban_type[], reason[], bantime)
{
new AdmId = find_player("c", "%s", admin_steam)
log_message("AdminId: %d", AdmId)
}
find_player("c", admin_steam)
log_message("%s AdminId: %d", admin_steam, AdmId)
Сейчас этот форум просматривают: Bing [Bot] и гости: 14