[FilterScript] Vehicle Control System [0.3c]
#21

I have a Copiler error...some1 can help me?

D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22400) : error 021: symbol already defined: "OnPlayerCommandText"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22418) : error 021: symbol already defined: "OnDialogResponse"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22420) : warning 219: local variable "engine" shadows a variable at a preceding level
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22428) : error 017: undefined symbol "GetPVarInt"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22430) : error 017: undefined symbol "GetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22431) : error 017: undefined symbol "SetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22432) : error 017: undefined symbol "SetPVarInt"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22434) : error 017: undefined symbol "GetPVarInt"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22436) : error 017: undefined symbol "GetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22437) : error 017: undefined symbol "SetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22438) : error 017: undefined symbol "SetPVarInt"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22443) : error 017: undefined symbol "GetPVarInt"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22445) : error 017: undefined symbol "GetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22446) : error 017: undefined symbol "SetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22447) : error 017: undefined symbol "SetPVarInt"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22449) : error 017: undefined symbol "GetPVarInt"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22451) : error 017: undefined symbol "GetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22452) : error 017: undefined symbol "SetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22453) : error 017: undefined symbol "SetPVarInt"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22458) : error 017: undefined symbol "GetPVarInt"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22460) : error 017: undefined symbol "GetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22461) : error 017: undefined symbol "SetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22462) : error 017: undefined symbol "SetPVarInt"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22464) : error 017: undefined symbol "GetPVarInt"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22466) : error 017: undefined symbol "GetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22467) : error 017: undefined symbol "SetVehicleParamsEx"
D:\samp\Samp V0.3b\gamemodes\SWRP.pwn(22468) : error 017: undefined symbol "SetPVarInt"

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


26 Errors.
Reply
#22

can you make this filterscript without engine please because i need without engine and i have engine in my roleplay mod PLEASE
Reply
#23

Not working for me :S

Dialog shows up but does nothing...
Reply
#24

nice job~
Reply
#25

very nice, add licence plates, then it will be awesome!
Reply
#26

Nice..
Reply
#27

This is prety cool
Reply
#28

A dziala na 0.3b ?
Reply
#29

lol i have many errors
Quote:

C:\Users\Fujitsu\Desktop\VCS.txt(4 : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(49) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(54) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(55) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(63) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(64) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(69) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(70) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(7 : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(79) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(84) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(85) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(93) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(94) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(99) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(100) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(10 : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(109) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(114) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(115) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(123) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(124) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(129) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(130) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Fujitsu\Desktop\VCS.txt(3 : warning 203: symbol is never used: "objective"
C:\Users\Fujitsu\Desktop\VCS.txt(3 : warning 203: symbol is never used: "boot"
C:\Users\Fujitsu\Desktop\VCS.txt(3 : warning 203: symbol is never used: "bonnet"
C:\Users\Fujitsu\Desktop\VCS.txt(3 : warning 203: symbol is never used: "doors"
C:\Users\Fujitsu\Desktop\VCS.txt(3 : warning 203: symbol is never used: "alarm"
C:\Users\Fujitsu\Desktop\VCS.txt(3 : warning 203: symbol is never used: "lights"
C:\Users\Fujitsu\Desktop\VCS.txt(3 : warning 203: symbol is never used: "engine"
C:\Users\Fujitsu\Desktop\VCS.txt(37) : warning 204: symbol is assigned a value that is never used: "veh"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


24 Errors.

Reply
#30

Very good new 0.3c functions.
Reply
#31

Quote:
Originally Posted by doreto
View Post
lol i have many errors
You need 0.3c server functions.
Reply
#32

Quote:
Originally Posted by Tonyss23
View Post
You need 0.3c server functions.
^^^^
Reply
#33

Quote:
Originally Posted by doreto
View Post
lol i have many errors
pawn Code:
#define VEHICLE_PARAMS_UNSET    -1
#define VEHICLE_PARAMS_OFF  0
#define VEHICLE_PARAMS_ON   1

native SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
native GetVehicleParamsEx(vehicleid, &engine, &lights, &alarm, &doors, &bonnet, &boot, &objective);
Reply
#34

Very nice
Reply
#35

I found these errors how can i fix it?



C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 182) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 183) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 644) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 645) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 649) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 650) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 654) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 655) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 671) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 672) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 676) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 677) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 681) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 682) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 69 : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 699) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 703) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 704) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 70 : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 709) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 725) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 726) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 730) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 731) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 735) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 736) : error 017: undefined symbol "SetVehicleParamsEx"

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


26 Errors.
Reply
#36

Try updating your SA-MP server to version 0.3c (also make sure to run FIRST the new pawno.exe with the includes, else it will open your filterscript with the old pawno).
Reply
#37

Quote:
Originally Posted by Kerlan
View Post
I found these errors how can i fix it?



C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 182) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 183) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 644) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 645) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 649) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 650) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 654) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 655) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 671) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 672) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 676) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 677) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 681) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 682) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 69 : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 699) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 703) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 704) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 70 : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 709) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 725) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 726) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 730) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 731) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 735) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Leshommes family 2\Desktop\SAMP\filterscripts\Newvehiclesystem.pwn( 736) : error 017: undefined symbol "SetVehicleParamsEx"

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


26 Errors.
Code:
#define VEHICLE_PARAMS_UNSET    -1
#define VEHICLE_PARAMS_OFF  0
#define VEHICLE_PARAMS_ON   1

native SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
native GetVehicleParamsEx(vehicleid, &engine, &lights, &alarm, &doors, &bonnet, &boot, &objective);
Reply
#38

very nice
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)