Added FindFlagChar native. (bug 3776, r=dvander)

This commit is contained in:
_KaszpiR_
2010-06-27 19:17:25 -04:00
parent f439cad46c
commit 5d5400a9ac
4 changed files with 37 additions and 2 deletions
+9
View File
@@ -516,6 +516,15 @@ native bool:FindFlagByName(const String:name[], &AdminFlag:flag);
*/
native bool:FindFlagByChar(c, &AdminFlag:flag);
/**
* Finds a flag char by a gived admin flag.
*
* @param flag Flag to look up.
* @param c Variable to store flag char.
* @return True on success, false if not found.
*/
native bool:FindFlagChar(AdminFlag:flag, &c);
/**
* Converts a string of flag characters to a bit string.
*