Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] Multiplayer & Singleplayer Snake in SAMP

$
0
0
SP & MP Snake
TLDR? How to get started can be found at the bottom of the post.

Brief Presentation
With this piece of code you can play snake both solo and against 2-3 other players.

To get started simply use the command /snake ingame.

From there you will be able to navigate yourself into a game in no time with ease with the minimalistic and stylish looking textdraw menus.

Your results will be saved into a local database file that you can browse ingame, and sort by playername in alphabetical order / size / kills / date & time in ascending and descending order.

See it for yourself! Check the video and image album below.

Disclaimer
This code has not been tested enough yet.
Bugs might occur and they will be fixed as soon as they're discovered.

Images
https://imgur.com/a/hTx73

Video
https://youtu.be/1DLlS3vu3AU

Code
Github Page: https://github.com/fusez/Snake
Download ZIP: https://github.com/fusez/Snake/archive/master.zip

Changelog
10th of November 2017
  • Released

How to Get Started
1. Download snake.pwn and put it in your filterscripts folder. Click here to download ZIP.
2. Compile snake.pwn with a compiler of your choice (pawno for example).
3. Load snake by adding it to the filterscripts in server.cfg or load it using the rcon command loadfs snake in the console.
4. Use the command /snake ingame.
5. Enjoy!

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>