Giter VIP home page Giter VIP logo

fivem-smell's Introduction

fivem-smell

Allows the ability for a player on a fivem server to attach a smell to their character for roleplay purposes.

Installing

Clone the repository into your server-data directroy

  git clone [email protected]:michaelhodgejr/fivem-smell.git

Add the following to your server.cfg

  start fivem-smell

Commands

This resource makes the following commands available:

 /smell - Outputs the current smell of the player
 /setsmell - Sets the smell for the current player i.e '/setsmell "Alcohol and Poor Life Choices"' Note that the double quotes are only needed if you wish to include multiple words as the smell. '/smell garbage' works just as well
 /clearsmell - Clears the current smell from the player

How it Works

It works by finding the players within range of the current player and triggers a notification that states "You notice the smell of [smell] on a nearby player". If you wish to edit this you can do so in the ./client/main.lua file Once a player has been notified they will only be sent that notification once. If the player changes their smell to something else they will receive the notification again.

Forking and Contributing

Feel free to fork the resource and to submit pull requests.

fivem-smell's People

Contributors

michaelhodgejr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.