Jump to content

mandat

Membru
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mandat's Achievements

Newbie

Newbie (1/14)

  • One Month Later
  • Reacting Well Rare
  • First Post
  • Dedicated Rare
  • Week One Done

Recent Badges

0

Reputation

  1. pentru asta te ajuta functia OnPlayerText, daca ai un gamemode avansat poti sa iei un model de acolo, formatezi un mesaj cu o culoare aleasa pentru administrator si il trimiti pe chat.
  2. Salut, am o problema. YCMD:set(playerid, params[], help) { if(playerData[playerid][playerAdmin] < 3) return SCM(playerid, COLOR_LIGHTGREEN3, "You are not allowed to use this command."); new user, option[32], value; if(sscanf(params, "us[32]d", user, option, value)) { SCM(playerid, COLOR_GREY, "Usage: {ffffff}/set <name/playerid> <option> <value>"); SCM(playerid, COLOR_WHITE, "Options: heal, armour"); return 1; } switch(YHash(option, false)) { case _H<health>: { SetPlayerHealth(user, value); } case _H<armour>: { SetPlayerArmour(user, value); } } return 1; } => comanda nu rezulta nimic, am facut test cu strcmp imi seteaza heal si armour, dar cu YHash nu rezulta nimic.. am schimbate de multe ori multe include YHash nimic, nu stiu ce e gresit, am mai lucrat cu acest include si a functionat perfect, acum ce l-a apucat?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.