SA-MP Forums Archive
[FilterScript] Car System for SaMp By Itay - 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] Car System for SaMp By Itay (/showthread.php?tid=405482)

Pages: 1 2


Car System for SaMp By Itay - itay_h7 - 06.01.2013

Ok, this is a car system made by me, I think that you can enjoy from this system, its very easy to use, very usefull..

Commands ():


Players:
/ Car - vehicle information
/ Cars - server vehicle information
/ Buycar - buy a car
/ Sellcar - Sell Car
/ Callcar - send the vehicle to you
/ Outside - take your car people
/ Outsideall - take all the people in your vehicle
/ Watchcar - watch your car
/ Watchoff - stop watching your car
/ Lockcar - lock your vehicle
/ Unlockcar - open your vehicle
/ Resetcar - respawn your car
Special Car:
Note: you can see the neon only at night or when the weather 2 (rcon weather 2 /)
/ Buynitro - buy Nitro
/ Sellnitro - Sell Nitro
/ Buyneon - Buy Neon
/ Sellneon - Sell Neon
/ Gotocar - telleport to your car
buyhyd) / buyhydraulics /) - buy car hydraulics
/ Carplate - change license plate
/ Delplate - Lmhhok license plate
/ Fix - vehicle repair
/ Flip - flip vehicle
/ Carcolor - Buying a car color
/ Carneon - turn off and turn on the neon
/ CarWheels - Buying Car Wheels constant
/ SellWheels - constant wheels sale

Admins:
Note: To use the commands as an admin Login Rcon
/ Canbuy - making the car for sale
/ Cantbuy - making public vehicles
/ Canbuyall - Making All vehicles for sale
/ Cantbuyall - turning all server vehicle to public
/ Scar - Making special vehicles
/ Admincar - making Administrators car rental
/ Respawncar - return all vehicles to their starting point
/ Lockallcars - lock all vehicles on the server (open only Admin locked)
/ Unlockallcars - unlock all vehicles on the server
/ Carplate - change license plate of a car
/ Delplate - delete the composition of the license plate, put the plate of the car ID
/ Carcolor - Change the color of a particular vehicle
/ Carneon - turn off and turn on the neon per car
/ Giveneon - Neon Not always gives the player
/ Cartext - Edit the text of a public service vehicle
/ Carmanager - an easy way to control the traffic on the server
/ Resetcarcolor or / delcarcolor or / deletecarcolor - returns to its initial color composition
/ Smcm - show the types of vehicles on the map by name you enrolled
/ CarWheels - Wheel permanent installation free car

Prices:

PHP Code:
#define rCar 200000  //Regular car price
#define sCar 500000 //Special car price
#define NeonPrice 8000000 //Neon price
#define NitroPrice 5000000 //Nitro price
#define HydPrice 2500000 //Hydraulics price
#define ColorPrice 500000 //Color Price
//Wheels Price (down.....) 
Install:

-Pastebin: Link
^ Put this on "FilterScript"
-On "ScriptFile" Open "Users", and in "Users" Open "Cars"

Enjoy !!


Re : Car System for SaMp By Itay - xDaidal0S - 06.01.2013

Good..I will try this xD


Re: Car System for SaMp By Itay - burnuk - 06.01.2013

good job...


Re: Car System for SaMp By Itay - $$Killer$$ - 06.01.2013

Good Job Man


Re: Car System for SaMp By Itay - itay_h7 - 06.01.2013

Quote:
Originally Posted by xDaidal0S
View Post
Good..I will try this xD
Quote:
Originally Posted by burnuk
View Post
good job...
Quote:
Originally Posted by $$Killer$$
View Post
Good Job Man
Ty ! !


Re: Car System for SaMp By Itay - itay_h7 - 10.01.2013

comments.............?


Re: Car System for SaMp By Itay - Schocc - 10.01.2013

Update to YCMD && y_ini or dof2
Nice fs


Re: Car System for SaMp By Itay - SaTla - 11.01.2013

israel ?
nice fs itay


Re: Car System for SaMp By Itay - [RO]Five - 11.01.2013

i like it..
i will use this fs.


Re: Car System for SaMp By Itay - Kuroki - 11.01.2013

nice


Re: Car System for SaMp By Itay - [RO]Five - 11.01.2013

edit


Re: Car System for SaMp By Itay - [RO]Five - 11.01.2013

bug: /sellcar /watchoff /carwheels ...

Srry for 2 post..

Can you add /carpark please..


Re: Car System for SaMp By Itay - itay_h7 - 15.01.2013

Quote:
Originally Posted by [RO]Five
View Post
bug: /sellcar /watchoff /carwheels ...

Srry for 2 post..

Can you add /carpark please..
what is the bug ?


Re: Car System for SaMp By Itay - bathushan - 16.01.2013

Prices:

PHP Code:
#define rCar 200000  //Regular car price
#define sCar 500000 //Special car price
#define NeonPrice 8000000 //Neon price
#define NitroPrice 5000000 //Nitro price
#define HydPrice 2500000 //Hydraulics price
#define ColorPrice 500000 //Color Price
//Wheels Price (down.....) 
Install:

I have to place this on GM ?(i'm new to scripting ) ?


Re: Car System for SaMp By Itay - [RO]Five - 16.01.2013

Quote:
Originally Posted by itay_h7
View Post
what is the bug ?
srry... now function


Re: Car System for SaMp By Itay - wendylorenzo - 16.01.2013

Nice


Re: Car System for SaMp By Itay - bathushan - 21.01.2013

Hey I Try To Complie it But i Got Some Errors. Please Help Me!!!
Quote:

C:\Users\N.Bathushan Raj\Desktop\RP\filterscripts\Cars.pwn(259) : error 017: undefined symbol "strtok"
C:\Users\N.Bathushan Raj\Desktop\RP\filterscripts\Cars.pwn(259) : error 033: array must be indexed (variable "cmd")
C:\Users\N.Bathushan Raj\Desktop\RP\filterscripts\Cars.pwn(259) : error 017: undefined symbol "strtok"
C:\Users\N.Bathushan Raj\Desktop\RP\filterscripts\Cars.pwn(259) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

This Is The 259

PHP Code:
    new cmd[255],idx,tmp[255],tmp2[255]; cmd strtok(cmdtext,idx); tmp strtok(cmdtext,idx); 
How to Fix it please?


Re: Car System for SaMp By Itay - CJay9209 - 21.01.2013

you are missing neccessary includes to compile properly. Namely:

dini.inc
dutils.inc
dudb.inc

you'll need all three most likely and can be downloaded from Dracoblues website

Boom headshot...sorry couldn't resist it...


Re: Car System for SaMp By Itay - bathushan - 21.01.2013

Quote:
Originally Posted by CJay9209
View Post
you are missing neccessary includes to compile properly. Namely:

dini.inc
dutils.inc
dudb.inc

you'll need all three most likely and can be downloaded from Dracoblues website

Boom headshot...sorry couldn't resist it...
It's not that!!!
1. i know How That Error look like.
2. I have That Files [dini , Dutils and dudb]

Anyone ? Who can helpme to fix it ?


Re: Car System for SaMp By Itay - CJay9209 - 21.01.2013

If it won't recognise strtok then there maybe something wrong with ur dini file or ur using the Strtok function wrong then. Check for mistypes or an Unindexed variable on that line. I used to get those errors alot when I started usin Dracos dini and didn't fully understand it. Mostly i got that error when I forgot to put

#include <dini>

At the top