Code:
new targetid, body
get_user_aiming(id, targetid, body, 9999)
new SzRankPos, SzRankMax, SzABC[8]
SzRankPos = get_user_stats(targetid, SzABC, SzABC)
SzRankMax = get_statsnum()
set_hudmessage(10, 10, 50, -1.00, 0.63, 0, 1.0, 1.0, 0.1, 0.2, -1)
ShowSyncHudMsg(id, hudsync, "His Rank %d/%d", SzRankPos, SzRankMax)
This is a easy code, but I get error when the server run a period time.
Not crash server.
Run time error 10: native error (native "get_user_stats")
How can I fix it?
__________________
You can be a SUPER coder but you Haven't to say such as "stupid, etc." words to the others