You can use `cache_insert_id()`
# pawn-help
r
You can use
cache_insert_id()