Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: =RK=MarineForce on May 23, 2018, 06:17 PM

Title: Need a Help Of Server
Post by: =RK=MarineForce on May 23, 2018, 06:17 PM
Hello Guyz i need a help of Car System .. Vehicle system

/buycar /sellcar and for admins /addcar CarID only.

Look like LittleWhitey SERVER  vehicle system

if u can't give me it so

Buy cars from Sunshine
Title: ~~< Search before asking!! >~~
Post by: Mahmoud Tornado on May 24, 2018, 01:02 AM
There's search place, just type Veh System, you can find system like this. ~~< Search before asking!! >~~
Sunshine Auto's - by rulk (http://forum.vc-mp.org/?topic=1454.0) or this Vehicle System - by KrlozZ... (http://forum.vc-mp.org/?topic=4575.0)
Title: Re: Need a Help Of Server
Post by: =RK=MarineForce on May 24, 2018, 09:07 PM
This hard to save sunshine.... i tried. I don't understand so much.
Title: Re: Need a Help Of Server
Post by: Mahmoud Tornado on May 25, 2018, 06:25 AM
Sunshine Auto is working with two ways.

The first way, with the original syntax of blank server.

First, download this.
Sunshine Auto's System. (https://www.mediafire.com/file/2wrph3yd732is1q/sunshine.rar), this is the system with the original blank server cars pos.
Open server.conf you will see this.
(https://preview.ibb.co/kPReVo/Ids.jpg)
Look at cars ids, that after this //.
And open sunshine auto's database with DB Browser for SQLite.
You will see the cars Index.
(https://preview.ibb.co/dtbwAo/DataBase.jpg)
Now, see them together we may understand any thing.
(https://preview.ibb.co/k6L1bT/Ids.jpg)
Black in server.conf is the cars id, and the black which in database is the index cars.
And it's be like this.
Quote from: rulk on Sep 10, 2015, 07:00 PM
  • The array index represents the in-game VehicleID.
For example: VehicleID 1, is in array index 1.
VehicleID 2, is in array index 2.
VehicleID 3, is in array index 3.
... etc etc etc ...

The red color in server.conf is the vehs ids and in database vehs name.
Wanna add new car add line in server.conf and line in database but make them both like the cars which in the system.



The Second way by using CreateVehicle.
It's similar than the first way, but you don't using server.conf you will use CreateVehicle. and the same steps.




Or you can use KrlozZ...'s System. (http://forum.vc-mp.org/?topic=4575.0)
Title: Re: Need a Help Of Server
Post by: umar4911 on May 25, 2018, 07:24 AM
Quote from: Mahmoud Tornado on May 25, 2018, 06:25 AMSunshine Auto is working with two ways.

The first way, with the original syntax of blank server.

First, download this.
Sunshine Auto's System. (https://www.mediafire.com/file/2wrph3yd732is1q/sunshine.rar), this is the system with the original blank server cars pos.
Open server.conf you will see this.
(https://preview.ibb.co/kPReVo/Ids.jpg)
Look at cars ids, that after this //.
And open sunshine auto's database with DB Browser for SQLite.
You will see the cars Index.
(https://preview.ibb.co/dtbwAo/DataBase.jpg)
Now, see them together we may understand any thing.
(https://preview.ibb.co/k6L1bT/Ids.jpg)
Black in server.conf is the cars id, and the black which in database is the index cars.
And it's be like this.
Quote from: rulk on Sep 10, 2015, 07:00 PM
  • The array index represents the in-game VehicleID.
For example: VehicleID 1, is in array index 1.
VehicleID 2, is in array index 2.
VehicleID 3, is in array index 3.
... etc etc etc ...

The red color in server.conf is the vehs ids and in database vehs name.
Wanna add new car add line in server.conf and line in database but make them both like the cars which in the system.



The Second way by using CreateVehicle.
It's similar than the first way, but you don't using server.conf you will use CreateVehicle. and the same steps.




Or you can use KrlozZ...'s System. (http://forum.vc-mp.org/?topic=4575.0)
He still could not unserstand
Title: Re: Need a Help Of Server
Post by: Mahmoud Tornado on May 25, 2018, 08:01 AM
Quote from: umar4911 on May 25, 2018, 07:24 AMHe still could not unserstand
I Just tried to help him, @umar4911 did you understand my explain?
Title: Re: Need a Help Of Server
Post by: umar4911 on May 25, 2018, 09:30 AM
Quote from: Mahmoud Tornado on May 25, 2018, 08:01 AM
Quote from: umar4911 on May 25, 2018, 07:24 AMHe still could not unserstand
I Just tried to help him, @umar4911 did you understand my explain?
I understood. Actually he needs a way how to correctly copy-paste it.

I tried my best to let him learn this but he does not want to learn. You tell me that a person trying to code from 2014 is still not able to learn squirrel. What will be your reaction after seeing this? I started coding 2017 and now I am heading towards client side. Now I am able to make a whole clan system with tag detection too which auto kicks fake tags.
Title: Re: Need a Help Of Server
Post by: umar4911 on May 25, 2018, 12:31 PM
Quote from: vitogta on May 25, 2018, 09:42 AM
Quote from: umar4911 on May 25, 2018, 09:30 AMNow I am able to make a whole clan system with tag detection too which auto kicks fake tags.
How new clan member will be able to register if he will being autokicked? If you are not admin everywhere it's almost impossible to detect impersonating by checking IP/UIDs over different servers. And it's actually waste of time. In my mind first who will register a nickname/clan on the server owns it.
according to my system, the clan co-leader or higher will add the player in clan using cmd if he is accepted.
Title: Re: Need a Help Of Server
Post by: Saiyan Attack on May 25, 2018, 12:43 PM
suggest for your clan system instead of kicking, remove clan tag from player name when someone join your svr with clan which is registered but their name is not available in clan member list ...
Title: Re: Need a Help Of Server
Post by: umar4911 on May 25, 2018, 02:26 PM
Quote from: Saiyan Attack on May 25, 2018, 12:43 PMsuggest for your clan system instead of kicking, remove clan tag from player name when someone join your svr with clan which is registered but their name is not available in clan member list ...
+1
Title: Re: Need a Help Of Server
Post by: =RK=MarineForce on May 25, 2018, 06:02 PM
brothers, i don't use server.conf i use only main.nut and server.cfg and i have all plugins i don't using blank server and problem in my vps host not working vps vc-mp
Title: Re: Need a Help Of Server
Post by: =RK=MarineForce on May 25, 2018, 06:06 PM
function Onclan(plr)
{
MessagePlayer(" Clans : MK , VU , RK , FX , NsK ,TRC ,SS ",player);
local clan = tag(text);
if(player.tag == MK ) MessagePlayer("MK CLAN MEMBER ONLINE ",player);
}

i don't know this work and no work its hard for me how to learn Squirrel  umar Can u learn in fb? remember u learn me how to make fix and goto cmd i know how to make now :D

Nice Helpers Thanks my brothers :-[