13 lines
342 B
Lua
13 lines
342 B
Lua
-- Script officialy made and used by Central Life server --
|
|
|
|
-- CLIENTSIDED --
|
|
|
|
Citizen.CreateThread(function()
|
|
while true do
|
|
Citizen.Wait(0)
|
|
if GetPlayerWantedLevel(PlayerId()) ~= 0 then
|
|
SetPlayerWantedLevel(PlayerId(), 0, false)
|
|
SetPlayerWantedLevelNow(PlayerId(), false)
|
|
end
|
|
end
|
|
end) |