SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 31/12/2016, 04:49 PM   #11
Bolex_
Gangsta
 
Bolex_'s Avatar
 
Join Date: Aug 2015
Location: Croatia.
Posts: 591
Reputation: 117
Default Re: Vehicle Ownership System [MySQL]

Nothing unseen but yeah its MYSQL
Bolex_ is offline   Reply With Quote
Old 31/12/2016, 06:32 PM   #12
oMa37
Gangsta
 
Join Date: Feb 2016
Posts: 968
Reputation: 155
Default Re: Vehicle Ownership System [MySQL]

Quote:
Originally Posted by iLearner View Post
So you've listened to my suggestion... good job tho!
As i said, it took me a bit time of thinking to release this or not, Thank you by the way.

Quote:
Originally Posted by Konstantinos View Post
I know it might be easier to re-upload the .pwn file again but pushing commits will be better for reviewing the changes.

The filterscript is nice and I know you will eventually change few other things to improve it so I always appreciate you take into consideration most of my suggestions!

PS: Another version for R40+ would be good as well.
The R40+ version will be ready in few minutes or tomorrow, Thank you!

Quote:
Originally Posted by ISmokezU View Post
Hey, isn't this a bad thing to do According to: (http://forum.sa-mp.com/showthread.php?t=420363)

Code:
...
Saving all the mods even though some may not be used?

Edit: The limit for numberplates are 32 chars. why'd you save it as 16 chars,would that be enough?
I didn't see this thread before when i was making the filterscript, But Konstantinos has already told me about it, Thank you!

Quote:
Originally Posted by Sreyas View Post
Nice one
Quote:
Originally Posted by ALiScripter View Post
'oly fu' dude - can't rep :3
Quote:
Originally Posted by Dark_Children View Post
Great!
Quote:
Originally Posted by RyderX View Post
i like it thanks
Quote:
Originally Posted by Eoussama View Post
noice
Thank you guys, Appreciate it!
oMa37 is offline   Reply With Quote
Old 31/12/2016, 06:59 PM   #13
oMa37
Gangsta
 
Join Date: Feb 2016
Posts: 968
Reputation: 155
Default Re: Vehicle Ownership System [MySQL]

Update:

- Added MySQL R40+ version.
- Few improvements.
oMa37 is offline   Reply With Quote
Old 31/12/2016, 07:46 PM   #14
saffierr
High-roller
 
saffierr's Avatar
 
Join Date: Jul 2013
Location: GetPlayerGirlHouse(targetplayer);
Posts: 1,151
Reputation: 39
Default Re: Vehicle Ownership System [MySQL]

Nice filterscript, Keep up the good work!
saffierr is offline   Reply With Quote
Old 04/01/2017, 08:18 PM   #15
Shaheen
Big Clucker
 
Shaheen's Avatar
 
Join Date: Feb 2016
Location: Qatar
Posts: 194
Reputation: 11
Default Re: Vehicle Ownership System [MySQL]

Cool one
__________________
Payment : PayPal.Me/ShaheenMuhammed
My Whatsapp Number: +919995775938
Shaheen is offline   Reply With Quote
Old 20/02/2017, 04:04 AM   #16
feheristi97
Big Clucker
 
Join Date: Jun 2014
Location: Canada
Posts: 103
Reputation: 4
Default Re: Vehicle Ownership System [MySQL]

I downloaded the newest plugins, includes, samp version but I still get the same error back. If you remove that line then you'll get the same error back to another line.


C:\Users\Desktop\samp037_svr_R2-1-1_win32\gamemodes\gamemode.pwn(103) : error 075: input line too long (after substitutions)
C:\Users\Desktop\samp037_svr_R2-1-1_win32\gamemodes\gamemode.pwn(104) : error 037: invalid string (possibly non-terminated string)
C:\Users\Desktop\samp037_svr_R2-1-1_win32\gamemodes\gamemode.pwn(104) : error 017: undefined symbol "CREATE"
C:\Users\Desktop\samp037_svr_R2-1-1_win32\gamemodes\gamemode.pwn(104) : error 017: undefined symbol "TABLE"
C:\Users\Desktop\samp037_svr_R2-1-1_win32\gamemodes\gamemode.pwn(104) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors
feheristi97 is offline   Reply With Quote
Old 20/02/2017, 04:13 AM   #17
X337
Gangsta
 
Join Date: Sep 2014
Location: Indonesia
Posts: 877
Reputation: 291
Default Re: Vehicle Ownership System [MySQL]

Either use zeex pawn compiler patches, or run this query in your database
Code:
CREATE TABLE IF NOT EXISTS `Vehicles` (`vehID` int(11) NOT NULL, `vehModel` int(11) NOT NULL, `vehName` varchar(25) NOT NULL, `vehOwner` varchar(25) NOT NULL default '-', `vehPlate` varchar(16) NOT NULL default 'UG', `vehPrice` int(11) NOT NULL, `vehLock` int(11) NOT NULL, `vehMod_1` int(11) NOT NULL, `vehMod_2` int(11) NOT NULL, `vehMod_3` int(11) NOT NULL, `vehMod_4` int(11) NOT NULL, `vehMod_5` int(11) NOT NULL, `vehMod_6` int(11) NOT NULL, `vehMod_7` int(11) NOT NULL, `vehMod_8` int(11) NOT NULL, `vehMod_9` int(11) NOT NULL, `vehMod_10` int(11) NOT NULL, `vehMod_11` int(11) NOT NULL, `vehMod_12` int(11) NOT NULL, `vehMod_13` int(11) NOT NULL, `vehMod_14` int(11) NOT NULL, `vehColorOne` int(11) NOT NULL, `vehColorTwo` int(11) NOT NULL, `vehX` float NOT NULL, `vehY` float NOT NULL, `vehZ` float NOT NULL, `vehA` float NOT NULL, UNIQUE KEY `vehID` (`vehID`))
and remove these codes
Code:
mysql_tquery(mysql, "CREATE TABLE IF NOT EXISTS `Vehicles` (\
      `vehID` int(11) NOT NULL,\
      `vehModel` int(11) NOT NULL,\
      `vehName` varchar(25) NOT NULL,\
      `vehOwner` varchar(25) NOT NULL default '-',\
      `vehPlate` varchar(16) NOT NULL default 'UG',\
      `vehPrice` int(11) NOT NULL,\
      `vehLock` int(11) NOT NULL,\
      `vehMod_1` int(11) NOT NULL,\
      `vehMod_2` int(11) NOT NULL,\
      `vehMod_3` int(11) NOT NULL,\
      `vehMod_4` int(11) NOT NULL,\
      `vehMod_5` int(11) NOT NULL,\
      `vehMod_6` int(11) NOT NULL,\
      `vehMod_7` int(11) NOT NULL,\
      `vehMod_8` int(11) NOT NULL,\
      `vehMod_9` int(11) NOT NULL,\
      `vehMod_10` int(11) NOT NULL,\
      `vehMod_11` int(11) NOT NULL,\
      `vehMod_12` int(11) NOT NULL,\
      `vehMod_13` int(11) NOT NULL,\
      `vehMod_14` int(11) NOT NULL,\
      `vehColorOne` int(11) NOT NULL,\
      `vehColorTwo` int(11) NOT NULL,\
      `vehX` float NOT NULL,\
      `vehY` float NOT NULL,\
      `vehZ` float NOT NULL,\
      `vehA` float NOT NULL,\
      UNIQUE KEY `vehID` (`vehID`))");
__________________
viva la sa-mp
X337 is offline   Reply With Quote
Old 20/02/2017, 04:23 AM   #18
feheristi97
Big Clucker
 
Join Date: Jun 2014
Location: Canada
Posts: 103
Reputation: 4
Default Re: Vehicle Ownership System [MySQL]

I know. I tried to do the same thing, but you get now error to another line.

C:\Users\Desktop\samp037_svr_R2-1-1_win32\gamemodes\gamemode.pwn(673) : error 075: input line too long (after substitutions)
C:\Users\Desktop\samp037_svr_R2-1-1_win32\gamemodes\gamemode.pwn(674) : error 037: invalid string (possibly non-terminated string)
C:\Users\Desktop\samp037_svr_R2-1-1_win32\gamemodes\gamemode.pwn(674) : error 017: undefined symbol "UPDATE"
C:\Users\Desktop\samp037_svr_R2-1-1_win32\gamemodes\gamemode.pwn(674) : error 029: invalid expression, assumed zero
C:\Users\Desktop\samp037_svr_R2-1-1_win32\gamemodes\gamemode.pwn(674) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
feheristi97 is offline   Reply With Quote
Old 20/02/2017, 04:43 AM   #19
X337
Gangsta
 
Join Date: Sep 2014
Location: Indonesia
Posts: 877
Reputation: 291
Default Re: Vehicle Ownership System [MySQL]

Default pawn compiler has a line limit of 511. You have to split the format or use this to compile: http://forum.sa-mp.com/showthread.php?t=473595
__________________
viva la sa-mp
X337 is offline   Reply With Quote
Old 20/02/2017, 06:12 AM   #20
feheristi97
Big Clucker
 
Join Date: Jun 2014
Location: Canada
Posts: 103
Reputation: 4
Default Re: Vehicle Ownership System [MySQL]

Thank you. I used this before, but I totally forgot about it.
feheristi97 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Vehicle Ownership System (MySQL R39-2) X337 Filterscripts 38 02/02/2019 11:48 AM
[FilterScript] [E.V.O] Elite Vehicle Ownership [V1.0] [Dynamic Vehicle System] DarkSkull Filterscripts 12 19/09/2018 04:21 AM
Vehicle ownership system Negat1Ve Scripting Help 5 30/10/2011 08:04 AM
[FilterScript] [FS] Vehicle Ownership System Zezombia Filterscripts 56 15/02/2011 06:45 AM
Vehicle ownership system [GTA:RP] Ivan_Pantovic Help Archive 1 21/04/2010 08:42 PM


All times are GMT. The time now is 09:07 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.