SA-MP Forums Archive
[FilterScript] SA-MP 0.3c Vehicle Control System (Control everything, you want) - 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] SA-MP 0.3c Vehicle Control System (Control everything, you want) (/showthread.php?tid=194228)

Pages: 1 2


SA-MP 0.3c Vehicle Control System (Control everything, you want) - Auxxx - 28.11.2010

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:
Features:
Example:
Download:

Pastebin
Upload.ee


Re: SA-MP 0.3c Engine Snippet/Code - FreshDoubleX - 28.11.2010

Thanks Auxxx, Very useful!


Re: SA-MP 0.3c Engine Snippet/Code - Flyfishes - 28.11.2010

Cool, gj!


Re: SA-MP 0.3c Engine Snippet/Code - WillyP - 28.11.2010

Isn't this on the example page for 0.3c stuff? All you did was change it to dcmd and some colours..


Re: SA-MP 0.3c Engine Snippet/Code - Auxxx - 28.11.2010

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.


Re: SA-MP 0.3c Engine Snippet/Code - WillyP - 28.11.2010

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.


Re: SA-MP 0.3c Engine Snippet/Code - The_Moddler - 28.11.2010

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.


Re: SA-MP 0.3c Engine Snippet/Code - Auxxx - 28.11.2010

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.


Re: SA-MP 0.3c Engine Snippet/Code - Auxxx - 28.11.2010

UPDATED

New Features:
EDIT: Sorry for double post


Re: SA-MP 0.3c Engine Snippet/Code - FreshDoubleX - 28.11.2010

Awesome update Auxxx. Useful for RP servers ! Great.


Re: SA-MP 0.3c Engine Snippet/Code - Auxxx - 28.11.2010

Quote:
Originally Posted by FreshDoubleX
Посмотреть сообщение
Awesome update Auxxx. Useful for RP servers ! Great.
Thanx. I'm still trying to figure out, why the doors wont open and maybe I'm gonna make a fuel system, In-Car data, Fuel system or something similar to this too...

I'm not sure, but the door opening might be a bug of SA-MP. :/


Re: SA-MP 0.3c Engine Snippet/Code - ZmaXy - 28.11.2010

Код:
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(26) : error 017: undefined symbol "ManualVehicleEngineAndLights"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(27) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(34) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(35) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(43) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(44) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(50) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(51) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(69) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(70) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(76) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(77) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(95) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(96) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(102) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(103) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(121) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(122) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(128) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(129) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(147) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(148) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(154) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(155) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(173) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(174) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(180) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(181) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(199) : error 017: undefined symbol "GetVehicleParamsEx"

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


26 Errors.
Please HELP!


Re: SA-MP 0.3c Engine Snippet/Code - Auxxx - 28.11.2010

Quote:
Originally Posted by ZmaXy
Посмотреть сообщение
Код:
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(26) : error 017: undefined symbol "ManualVehicleEngineAndLights"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(27) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(34) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(35) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(43) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(44) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(50) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(51) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(69) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(70) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(76) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(77) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(95) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(96) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(102) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(103) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(121) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(122) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(128) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(129) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(147) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(148) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(154) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(155) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(173) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(174) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(180) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(181) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Administrator\Desktop\Cyber RolePlay      [0.3c]\filterscripts\Engine03c.pwn(199) : error 017: undefined symbol "GetVehicleParamsEx"

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


26 Errors.
Please HELP!

Are you sure, you have 0.3c version of SA-MP server?
If not, you can download it from Here.


Re: SA-MP 0.3c Engine Snippet/Code - ZmaXy - 28.11.2010

I use 0.3c :/

100 % sure


Re: SA-MP 0.3c Vehicle Control System (Control everything, you want) - Auxxx - 28.11.2010

Then you have wrong includes or opened it with a pawno, which takes the old includes. Simply go to the directory for the newest version of SA-MP (0.3c RC1). Then go to pawno folder, Start pawno, select File -> Open and select the filterscript. Compile & Use it


Re: SA-MP 0.3c Vehicle Control System (Control everything, you want) - Mr L - 28.11.2010

Nice job.


Re: SA-MP 0.3c Vehicle Control System (Control everything, you want) - XePloiT - 28.11.2010

nice... tnx


Re: SA-MP 0.3c Vehicle Control System (Control everything, you want) - [NWA]Hannes - 28.11.2010

Hey man, can you upload the zcmd include file that you got? My old one is a little bit messy and i really want the one your using


Re: SA-MP 0.3c Vehicle Control System (Control everything, you want) - Jacob_Venturas - 28.11.2010

Great way to learn.


Re: SA-MP 0.3c Vehicle Control System (Control everything, you want) - gimini - 29.11.2010

Quote:

Doors (for some reason, it does'nt
work right now)

This one locks the car for all players, it works, I've tested.