[FilterScript] Car System for SaMp By Itay
#1

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

Good..I will try this xD
Reply
#3

good job...
Reply
#4

Good Job Man
Reply
#5

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 ! !
Reply
#6

comments.............?
Reply
#7

Update to YCMD && y_ini or dof2
Nice fs
Reply
#8

israel ?
nice fs itay
Reply
#9

i like it..
i will use this fs.
Reply
#10

nice
Reply
#11

edit
Reply
#12

bug: /sellcar /watchoff /carwheels ...

Srry for 2 post..

Can you add /carpark please..
Reply
#13

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 ?
Reply
#14

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 ) ?
Reply
#15

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

Nice
Reply
#17

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?
Reply
#18

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

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 ?
Reply
#20

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)