- 12
- 3
- Версия MoonLoader
- .026-beta
Hey there I'm totally new to LUA scripting. I need help regarding
local vestText, msg = string. match(text,"for $200, type /accept bodyguard to accept.") -- for $200, type /accept bodyguard to accept.
if (vestText and color == 869072810) then
lua_thread.create(function()
wait(500)
sampSendChat("/accept bodyguard")
end)
end
i need is it will check for player armor (in this case my own armor ) and if its less then 45, only then it'll send "/accept bodyguard"
.Thank you.