Skip to content
  • Fight Night
  • Server Release
  • Testing Sessions
  • Server Rules (All Servers)
  • (In) Territory Laws
  • City Laws
  • Drained Server Rules
  • Devastated Server Rules
  • Little Creek Server Rules
  • In For A Penny Server Rules
Territory

Territory

Western RP with a Twist

  • Calendar of Events
  • FAQ’s
  • Tutorials
  • Contact Staff
  • Server List
  • Server Rules (All Servers)
  • Toggle search form
Tutorails for Redm, CFX, or Vorp

Is there a way to have scripts do something on restart or stop? Redm/CFX/LUA

Posted on December 16, 2022December 15, 2022 By Crimson Creek Team No Comments on Is there a way to have scripts do something on restart or stop? Redm/CFX/LUA
————————————————– — Cleanup ————————————— — Always leave a space cleaner than you found it. ————————————————– AddEventHandler(‘onResourceStop’, function(resource) if resource == GetCurrentResourceName() then ClearPedTasksImmediately(PlayerPedId()) — do something on startup end end)

Crimson Creek Team

Crimson Creek Team, a group of volunteers working together to have a good time RPing and running our servers.

See author's posts

Hits: 2

Blog, FAQ, Server Setup FAQs Tags:admin, cfx, change, color, config, configuration, custom, prompt, redm, vorp

Post navigation

Previous Post: Is there a way to have scripts do something on startup? Redm/CFX/LUA
Next Post: How do I make a / chat command? Redm/CFX/LUA

Related Posts

In for a Penny? by Crimson Creek Blog
Tutorails for Redm, CFX, or Vorp How do I make a / chat command? Redm/CFX/LUA Blog
Interiors – Valentine Genstore Blog
Tutorial: What command freezes a player in place? – RedM Server – Lua Blog
The Soul Circle Blog
Girls Night Gone Wild. RedM / Event: Ladies night Blog

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


Newsletter



Holiday Events

There are no upcoming events.

Archive

  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022

Donations

Patreon

Kofi

There are no upcoming events at this time

February 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728  
« Dec    

Copyright © 2023 Territory.

Powered by PressBook Masonry Dark

Loading...

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.