Addin FS in MySQL Server - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Addin FS in MySQL Server (
/showthread.php?tid=262493)
Addin FS in MySQL Server -
tbedy - 18.06.2011
i want to put this FS in my MySQL Server:
https://sampforum.blast.hk/showthread.php?tid=254251
i put in filterscript this:
Код:
#define RESPAWN_DELAY 5000 //Respawn time in miliseconds
#define DIALOG_RANGE 0 //dialog range
#define MAP_ICON 55 //mapicon for dealer
#define MAP_ICON_ID 1337 //Temporary mapicon ID when a dealer is streamed (to avoid any of your own mapicons to got removed)
//sell vehicle settings
#define SELL_DIVIDE 5 //Original price / SELL_DIVIDE = sellback money you get
//streamer settings
#define STREAMER_DISTANCE 100 //Streamdistance for the build-in streamer
#define STREAMER_INTERVAL 1000 //Streamer tickratio (due to the loops, this shouldnt be really lower as 600-700 i think, i recommend setting it to 1000 though)
//FILEPATHS
#define VEHICLE_PATH "vDealer_vehicles/%i.ini"
//SQL Settings:
#define SQL_DATABASE "diler"
#define SQL_SERVER "localhost"
#define SQL_TABLE "vDealer_vehicles"
#define SQL_USER "root"
#define SQL_PASS ""
i open database named "diler" and i import vDealer DUMP in this database!
Problem: When i go on in ownership to buy vehicle that want to login again, and when i login aghain ten a vDealer Dialog doesnt shown again...
please hlep me, sorry for my bad english