SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 28/11/2010, 08:14 PM   #1
Auxxx
Big Clucker
 
Auxxx's Avatar
 
Join Date: Oct 2010
Location: home/Estonia/Auxxx
Posts: 99
Reputation: 2
Default SA-MP 0.3c Vehicle Control System (Control everything, you want)

Hey there!

First I just released the Vehicle engine control snippet, but here's the script to control the whole car. Simple and effective. Feel free to edit it for your needs, but please keep the credits. It's my first release thought

Requirements:
Using:
  • /veh [function]

Features:
  • Engine
  • Lights
  • Alarm
  • Doors (lock)
  • Bonnet
  • Boot
  • Objective

Example:
  • /veh engine

Download:

Pastebin
Upload.ee
Attached Files
File Type: pwn VCS.pwn (7.6 KB, 882 views)

Last edited by Auxxx; 02/12/2010 at 08:17 AM.
Auxxx is offline   Reply With Quote
Old 28/11/2010, 08:15 PM   #2
FreshDoubleX
Big Clucker
 
FreshDoubleX's Avatar
 
Join Date: Nov 2010
Location: Estonia
Posts: 167
Reputation: 2
Default Re: SA-MP 0.3c Engine Snippet/Code

Thanks Auxxx, Very useful!
__________________

Be Happy !
FreshDoubleX is offline   Reply With Quote
Old 28/11/2010, 08:19 PM   #3
Flyfishes
Huge Clucker
 
Flyfishes's Avatar
 
Join Date: Jul 2010
Location: Stockholm, Sweden
Posts: 310
Reputation: 4
Default Re: SA-MP 0.3c Engine Snippet/Code

Cool, gj!
__________________
Flyfishes is offline   Reply With Quote
Old 28/11/2010, 08:27 PM   #4
WillyP
High-roller
 
WillyP's Avatar
 
Join Date: Jul 2010
Location: England
Posts: 2,027
Reputation: 63
Default Re: SA-MP 0.3c Engine Snippet/Code

Isn't this on the example page for 0.3c stuff? All you did was change it to dcmd and some colours..
__________________
once average now terrible
WillyP is offline   Reply With Quote
Old 28/11/2010, 08:31 PM   #5
Auxxx
Big Clucker
 
Auxxx's Avatar
 
Join Date: Oct 2010
Location: home/Estonia/Auxxx
Posts: 99
Reputation: 2
Default Re: SA-MP 0.3c Engine Snippet/Code

Quote:
Originally Posted by [FU]Victious View Post
Isn't this on the example page for 0.3c stuff? All you did was change it to dcmd and some colours..
No it is'nt and it's not dcmd, It's zcmd. You can also read, that I'm going to UPDATE.
Auxxx is offline   Reply With Quote
Old 28/11/2010, 08:36 PM   #6
WillyP
High-roller
 
WillyP's Avatar
 
Join Date: Jul 2010
Location: England
Posts: 2,027
Reputation: 63
Default Re: SA-MP 0.3c Engine Snippet/Code

Quote:
Originally Posted by Auxxx View Post
is'nt and it's not dcmd, It's zcmd.
You critise me of my typo yet you made two mistakes.
__________________
once average now terrible
WillyP is offline   Reply With Quote
Old 28/11/2010, 08:38 PM   #7
The_Moddler
High-roller
 
The_Moddler's Avatar
 
Join Date: Jan 2010
Location: In my house.
Posts: 1,130
Reputation: 3
Default Re: SA-MP 0.3c Engine Snippet/Code

pawn Code:
stock IsVehicleEngineOn(vehicleid)
{
    new engine, lights, alarm, doors, bonnet, boot, objective;
    GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
    return engine;
}

Instead of using variables, use that, I have it on my script and works fine.
__________________
The_Moddler is offline   Reply With Quote
Old 28/11/2010, 08:38 PM   #8
Auxxx
Big Clucker
 
Auxxx's Avatar
 
Join Date: Oct 2010
Location: home/Estonia/Auxxx
Posts: 99
Reputation: 2
Default Re: SA-MP 0.3c Engine Snippet/Code

Quote:
Originally Posted by [FU]Victious View Post
You critise me of my typo yet you made two mistakes.
Did'nt know it's a typo AND I'm not from England like you, so yeah.

EDIT:

Quote:
Originally Posted by FreshDoubleX View Post
Thanks Auxxx, Very useful!
Quote:
Originally Posted by Flyfishes View Post
Cool, gj!
Thanx guys, at least somebody appreciates what I've done.
Auxxx is offline   Reply With Quote
Old 28/11/2010, 09:23 PM   #9
Auxxx
Big Clucker
 
Auxxx's Avatar
 
Join Date: Oct 2010
Location: home/Estonia/Auxxx
Posts: 99
Reputation: 2
Default Re: SA-MP 0.3c Engine Snippet/Code

UPDATED

New Features:
  • Engine
  • Lights
  • Alarm
  • Doors (lock)
  • Bonnet
  • Boot
  • Objective

EDIT: Sorry for double post

Last edited by Auxxx; 29/11/2010 at 05:01 AM.
Auxxx is offline   Reply With Quote
Old 28/11/2010, 09:28 PM   #10
FreshDoubleX
Big Clucker
 
FreshDoubleX's Avatar
 
Join Date: Nov 2010
Location: Estonia
Posts: 167
Reputation: 2
Default Re: SA-MP 0.3c Engine Snippet/Code

Awesome update Auxxx. Useful for RP servers ! Great.
__________________

Be Happy !
FreshDoubleX 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
Control npc hipy Help Archive 10 18/11/2009 01:32 PM
[HELP]Need Control PHP Script to control Servers rafanresende Server Support 4 05/05/2009 02:41 AM


All times are GMT. The time now is 07:39 AM.


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