1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Probleme de variable sur un give

Discussion in 'Requests' started by Maladroit, Apr 8, 2022.

  1. Maladroit

    Maladroit Member

    Apr 8, 2022
    Likes Received:
    Bonjour je fait appel a ce site pour que l'on puisse m'aider !

    voici le probleme:

    give {number.%player%} dirt named "dirt" to player <---- l'erreur vien du give plutot de la variable !

    every 5 seconds:
    add 10 to {number.%loop-player%}

    Si vous pouvez m'aider au plus vite je vous en serrais reconnaissant
  2. BanditEagle

    BanditEagle Active Member

    May 3, 2021
    Likes Received:
    Try this:
    Code (Text):
    1. every 5 seconds:
    2.   loop all players:
    3.     add 10 to {number::%loop-player%}
    4.     give loop-player {number::%loop-player%} dirt named "dirt"

Share This Page