-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
toketwo edited this page May 5, 2024
·
24 revisions
- First download the latest release of DiscordAMX.
- Make sure you have .NET Runtime 6 installed (no matter what OS.)
- To have ruled out any error, since amx is a C++ library, make sure you have Visual C++ 2015-2019 installed (yes, all of them!)
- Create or manage your Discord Bot (click for context)
- Insert the token in the discordamx.properties file.
- Get started with scripting, setup the Pawn toolkit, install it on your computer you want to script on.
- Using your own or a script that's provided by the download package itself, you are now able to run the discord bot.
- You will get a basic pawn editor shipped with the PAWN toolkit, Quincy. It's located where ever you installed the whole pawn toolkit.
- DiscordAMX has a "blank.pwn" inside the
/Scripts/
folder. Create a copy of the file right inside the scripts folder - Rename it to your wishes.
- Open it in the Quincy editor earlier mentioned, or if you're more advanced in whatever environmet you use.
- Here's a relatively useably tutorial for pawn for an mod called SA-MP for gta san andreas, using a custom pawncc.exe which is the compiler but it's still the same.
- If you just want a script so the that program runs, press F5 in quincy. This compiles the script and creates a file named like your file, but as an .amx file. This is runable code.
- Now run the bot boy.
Not much, it's pretty self explaining for everyone who executes the program.