Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 31/10/21 in all areas

  1. You're welcome! Come back to our forums if you have any further questions. I will be there to help you.
    1 point
  2. Sorry, I made a spelling mistake because I am not a native Polish speaker. Look at the line... if (TrybInterackcji) then ... and change it to... if (TrybInterakcji) then Good luck!
    1 point
  3. Hello rikicecchi, I think you are looking for the npchlc_traffic and npchlc_traffic_editor resources. They were created by @Reyomin, previously known as CrystalMV, a highly reputable member inside of our MTA community. You can see the node editor in action in this video: There does not appear to be any documentation on the MTA wiki regarding this resource. You should try following the regular MTA wiki editor plugins documentation for getting the traffic plugin to work. If you are facing any difficulty, feel free to ask!
    1 point
  4. I think you meant to say "pressing" the key. Take a look at the dxDrawRectangle family of functions. Inside of an onClientRender event handler you can draw a black-color entire screen rectangle by fetching the current screen dimensions using guiGetScreenSize. By using bindKey in combination with the "down" key state you can register a press-down handler for the "F2" key. Inside of the press down handler you set the condition to true that enables the dxDrawRectangle call.
    0 points
×
×
  • Create New...