21.12.2010, 22:08
Hi All! I'm new at this community! And i'm new at scripting too! Sorry for my bad English, but i'm Italian.
Today I made a simple FilterScript, mostly for noob-scripters (like me ) to save their coordinates into a file.
This can be useful so they won't have to enter the game and search for the right coords every time, but they can do this only one time for all!
Here we go:
Requirements:
-Dini Include (Here)
Step 1:
Download the FS -> .amx, .pwn
(or just copy it from here)
Put the Dini Include inside your pawno's Include folder.
Step 2:
Go inside your "scriptfiles" server folder and create a new Sub-Folder. I named it "Coords".
Step 3:
Inside the code, where you find this:
you have to change "Coords" with your folder name.
Step 4:
Open your "server.cfg" file and add the filterscript to your server's filterscripts.
Ending:
Tah-Dah! Now typing "/coords [Filename]" you will have your coords outside the game!
P.S. : This is a noob-script, I know, but i said it at the top of the post, I'm new at scripting and this is for noobs like me. This helped me very much with creating my GM, and I hope it will help someone else too.
Today I made a simple FilterScript, mostly for noob-scripters (like me ) to save their coordinates into a file.
This can be useful so they won't have to enter the game and search for the right coords every time, but they can do this only one time for all!
Here we go:
Requirements:
-Dini Include (Here)
Step 1:
Download the FS -> .amx, .pwn
(or just copy it from here)
Put the Dini Include inside your pawno's Include folder.
Step 2:
Go inside your "scriptfiles" server folder and create a new Sub-Folder. I named it "Coords".
Step 3:
Inside the code, where you find this:
pawn Код:
format(file, sizeof(file), "/Coords/%s", tmp); // Change "/Coords/" with the name of the folder you created
Step 4:
Open your "server.cfg" file and add the filterscript to your server's filterscripts.
Ending:
Tah-Dah! Now typing "/coords [Filename]" you will have your coords outside the game!
P.S. : This is a noob-script, I know, but i said it at the top of the post, I'm new at scripting and this is for noobs like me. This helped me very much with creating my GM, and I hope it will help someone else too.