get_plugin_prefix

Gets plugin prefix from file.

Syntax

native get_plugin_prefix(szPrefix[], iLen) /** * Gets plugin vip flag from file. * * @param szFlag String * @param iLen String length * @return Vip flag from file * * Example: new szFlag[32] * get_vip_flag(szFlag, charsmax(szFlag)) * client_print(iIndex, print_chat, "Vip flag is %s", szFlag) * Example2: * if (get_user_flags(iIndex) & read_flags(szFlag)) * // Your code here.. */ native get_vip_flag(szFlag[], iLen) /* * Gets hud colors from file. * @param szColors String * @param iLen String Length * * Example: new szColors[12], szRed[6], szGreen[6], szBlue[6], iRed, iGreen, iBlue * get_hud_colors(szColors, charsmax(szColors)) * parse(szColors, szRed, charsmax(szRed), szGreen, charsmax(szGreen), szBlue, charsmax(szBlue)) * iRed = str_to_num(szRed) * iGreen = str_to_num(szGreen) * iBlue = str_to_num(szBlue) *

Usage

szPrefix String
iLen String length

Return

Plugin — prefix from file

Defined in rank_system_huehue.inc at line 153 . This documentation was automatically generated from source.