[Tutorial] How to make a dealership!
#21

Yea you did :3 no problem
Reply
#22

Nice but it won't save vehicles after buy it.
Reply
#23

Of course it won't.
You need to edit it to your system and make the player owner of that car.

I won't be scripting player data, it would be your thing to add that to this script
Reply
#24

I have made a saving system can you edit in it?
Reply
#25

Do you mean like, I help you add this system to your saving?
Reply
#26

yea..
Reply
#27

It's quite simple, just when you create that vehicle, set the player who bought it as the owner and save it.
I don't know your saving system but try to make it on your own
Reply
#28

My saving system has sent to you.
Reply
#29

This really helpfull... thank you!
Reply
#30

Good TUT Man.
Reply
#31

Thanks, Jimmy. Very good

Dil' on Italy Mafia here
Reply
#32

Good Job and Well Done!

You always do all what i need!
Reply
#33

I've scripted this to my GM, but for some reason when i go IG it says "ERROR: Unknown Command". Any ideas what it could be?
Reply
#34

Easily understandable and very good explanation.Great JOB!
Reply
#35

Euh, i tested it now, but when i do /buycar and i chose a bullet for example it' dosent spawn, or even say if i don't have enough cash ? any idea why is that ?
Reply
#36

Very nice turorial i've took some of your code and added alot a things, like vehicles at the dealership, pickups, 3d labels and ability to sell the cars again. Heres a link if you want to see it also i gave you credits in the description
https://www.youtube.com/watch?v=k9cl...ture=autoshare
Reply
#37

The problem is, I want a tutorial that will show how to save them too :/
Reply
#38

Pretty basic tutorial but useful for people who need to get a head start on a dealership project, good job.
Reply
#39

C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(62) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(64) : error 017: undefined symbol "funcidx"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(65) : error 017: undefined symbol "funcidx"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(66) : error 017: undefined symbol "funcidx"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(6 : error 017: undefined symbol "CallLocalFunction"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(83) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(85) : error 017: undefined symbol "CallLocalFunction"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(94) : error 017: undefined symbol "tolower"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(96) : warning 217: loose indentation
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(96) : error 017: undefined symbol "format"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(96) : warning 202: number of arguments does not match definition
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(97) : warning 217: loose indentation
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(9 : warning 217: loose indentation
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(102) : error 017: undefined symbol "CallLocalFunction"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(104) : error 017: undefined symbol "CallLocalFunction"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(10 : error 017: undefined symbol "CallLocalFunction"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\pawno\include\zcmd.inc(110) : error 017: undefined symbol "CallLocalFunction"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(5) : error 017: undefined symbol "ShowPlayerDialog"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(10) : warning 235: public function lacks forward declaration (symbol "OnDialogResponse")
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(20) : error 017: undefined symbol "GetPlayerMoney"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(21) : error 017: undefined symbol "SendClientMessage"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(22) : error 017: undefined symbol "GivePlayerMoney"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(24) : error 017: undefined symbol "GetPlayerPos"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(25) : error 017: undefined symbol "GetPlayerFacingAngle"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(26) : error 017: undefined symbol "CreateVehicle"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(30) : error 017: undefined symbol "GetPlayerMoney"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(31) : error 017: undefined symbol "SendClientMessage"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(32) : error 017: undefined symbol "GivePlayerMoney"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(34) : error 017: undefined symbol "GetPlayerPos"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(35) : error 017: undefined symbol "GetPlayerFacingAngle"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(36) : error 017: undefined symbol "CreateVehicle"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(40) : error 017: undefined symbol "GetPlayerMoney"
C:\Users\Ryo.Ryo-PC\Documents\samp037_svr_R2-1-1_win32\filterscripts\DealerShip.pwn(41) : error 017: undefined symbol "SendClientMessage"

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


26 Errors.
This Error Or NO?
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)