[FilterScript] Shooting Range with MySQL (First FS)
#1

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 ""
Reply
#2

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.
Reply
#3

Very nice!
Reply
#4

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.
Reply
#5

More suggestions and opinions are welcome!
Reply
#6

Pretty sick mate, awesome
Reply
#7

Sorry I comment in a wrong place...
Reply
#8

Bump
Reply
#9

Anyone ?
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)