From e688addd98867e819913c7be6cfb24d0f30aea09 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 14 Nov 2004 14:21:20 +0000 Subject: [PATCH] Added new natives --- plugins/include/array.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/include/array.inc b/plugins/include/array.inc index 55f2601c..8b5d211e 100755 --- a/plugins/include/array.inc +++ b/plugins/include/array.inc @@ -257,4 +257,9 @@ stock list_pop_int(list_id) { stock list_pop_string(list_id) { return list_pop(list_id, list_string) -} \ No newline at end of file +} + +//Check if an item is in a list +native in_list_string(list_id, const str[]); +native in_list_float(list_id, Float:num); +native in_list_int(list_id, num); \ No newline at end of file