Skip to content

Commit 6947c9a

Browse files
committed
Add ss_get_flag_expiration native
1 parent f500640 commit 6947c9a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripting/include/shopsms.inc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ native ss_show_service_purchase(id, const service_id[]);
3636
* service_id[] - ID of a service to be shown
3737
------------------------------*/
3838

39+
native ss_get_flag_expiration(id, flag);
40+
/*------------------------------
41+
* Returns player's flag expiration timestamp. Returns 0 when a player doesn't have a given flag.
42+
* ---------------------------
43+
* id - ID of a player
44+
* flag - ID of a flag
45+
------------------------------*/
46+
3947
native ss_log(const message[], any:...);
4048
/*------------------------------
4149
* Log info to the shop server logs

0 commit comments

Comments
 (0)