SA-MP Forums Archive
[FilterScript] Shooting Range with MySQL (First FS) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Shooting Range with MySQL (First FS) (/showthread.php?tid=543321)



Shooting Range with MySQL (V1.2 Released) - Gintaras123 - 25.10.2014

COMMANDS:
/rangestats - TOP 15 scores
/exitrange
/shootingrangetp - Teleports to shooting range (ONLY FOR RCON ADMINS)
PHOTO:
http://www.part.lt/perziura/b2514186...a89c2c6430.png
http://www.part.lt/perziura/a7442a77...21d3b7f654.png
VIDEO:
https://www.youtube.com/watch?v=_Rzl...ature=*********
Download:
http://pastebin.com/Ai2Cx9dR (V1.0)
http://pastebin.com/1PJpKJMD (V1.2)
MySQL R5 - https://sampforum.blast.hk/showthread.php?tid=56564

V1.2:
* Dummies now moves both ways.
* "TIMELEFT" and "Score" textdraws created.

Do not forget to configure these:
#define SQL_HOST ""
#define SQL_USER ""
#define SQL_PASS ""
#define SQL_DB ""
#define TABLENAME ""


Re: Shooting Range with MySQL (First FS) - Steel_ - 25.10.2014

pawn Код:
#include <a_mysql>
#include <a_samp>
#include <core>
#include <float>
Always add #include <a_samp> first if you add anything else first it will probably freeze the compiler or show errors. Also you don't need to do #include <core>
#include <float> as they are already included in a_samp.

Anyway, a very nice idea. One suggestion make the dummies move both way not just to the right.


Re: Shooting Range with MySQL (First FS) - JustinAn - 26.10.2014

Very nice!


Re: Shooting Range with MySQL (First FS) (V1.2) - Gintaras123 - 26.10.2014

Quote:
Originally Posted by Wizdo
Посмотреть сообщение
pawn Код:
#include <a_mysql>
#include <a_samp>
#include <core>
#include <float>
Always add #include <a_samp> first if you add anything else first it will probably freeze the compiler or show errors. Also you don't need to do #include <core>
#include <float> as they are already included in a_samp.

Anyway, a very nice idea. One suggestion make the dummies move both way not just to the right.
Fixed, thanks for suggestion.
Quote:
Originally Posted by JustinAn
Посмотреть сообщение
Very nice!
Thank you.


Re: Shooting Range with MySQL (First FS) - Gintaras123 - 26.10.2014

More suggestions and opinions are welcome!


Re: Shooting Range with MySQL (First FS) - UNLIMIT3D - 29.09.2015

Pretty sick mate, awesome


Re: Shooting Range with MySQL (First FS) - UNLIMIT3D - 29.09.2015

Sorry I comment in a wrong place...


Re: Shooting Range with MySQL (First FS) - Gintaras123 - 19.03.2016

Bump


Re: Shooting Range with MySQL (First FS) - Gintaras123 - 23.02.2017

Anyone ?


Re: Shooting Range with MySQL (First FS) - Infinity - 23.02.2017

Quote:
Originally Posted by Gintaras123
Посмотреть сообщение
Anyone ?
The indentation is horrible, and you abuse that pragma to hide the warnings. 1 star.