Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.98 KB | None | 0 0
  1.         if isPlayer(cid) and value3 >= os.time() and getPlayerLevel(cid) >= AB_SYSTEM_CHECK_LVL and AB_SYSTEM_get(cid,AB_SYSTEM_IGNOREUSERS) <= 0 and AB_SYSTEM_get(cid,AB_SYSTEM_QUESTUSERS) <= 0 and AB_SYSTEM_get(cid,AB_SYSTEM_CAN_USE_TALKACTION) <= 0 then
  2.             AB_SYSTEM_set(cid, AB_SYSTEM_CAN_USE_TALKACTION, 1)
  3.             AB_SYSTEM_set(cid, AB_SYSTEM_USER_RANDOM_NUMBER, math.random(10000,99999)) -- random number!
  4.             AB_SYSTEM_send_player_white_text(cid, "[Anti Bot System] You have "..AB_SYSTEM_TIME_AFTER_TP.." seconds to say: !antibot "..AB_SYSTEM_get(cid,AB_SYSTEM_USER_RANDOM_NUMBER).." or you will be teleported, but if it is your "..AB_SYSTEM_TIMES_WRONG.." time you will be banned.")
  5.             AB_SYSTEM_send_player_white_text(cid, "[Anti Bot System] You have "..AB_SYSTEM_TIME_AFTER_TP.." seconds to say: !antibot "..AB_SYSTEM_get(cid,AB_SYSTEM_USER_RANDOM_NUMBER).." or you will be teleported, but if it is your "..AB_SYSTEM_TIMES_WRONG.." time you will be banned.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement