SA-MP Forums Archive
Help with garage.. - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with garage.. (/showthread.php?tid=305300)



Help with garage.. - Anthony_X - 21.12.2011

Hi,
i want to create cmd for create garage in game.
So the garage need be with same id with the house
So how i do it ?
Thank you
Anthony


Re: Help with garage.. - coole210 - 22.12.2011

This all depends on what kind of garage system you want (one that makes a new object, new icon, 3d text label, etc) and what kind of house system you already use.


Re: Help with garage.. - Anthony_X - 22.12.2011

Alright, actually im looking for house system to i have right now the house system with the Raven RolePlay
So if you can help me with house system that can be great to and biz system can be cool
and im onlly want to create the garage with command and garage will be with same id like house and player will can tp there with /enter and go back with /exit and park there the cars
(one that makes a new object, new icon, 3d text label, etc)
and all this can be onlly " Garage [garage id] [house id] " with no icon , if you can help me and that with icon that cool to
Thank you,
Anthony


Re: Help with garage.. - coole210 - 22.12.2011

Something like this would be compatible with almost any house system

Код:
Add to the House enumeration:
Float:gX,Float:gY,Float:gZ,Float:gAng,Float:gParkX,Float:gParkY,Float:gParkZ,Float:gParkAng
Then all you have to do is add the object to your pos (with maybe some X,Y,Z or ROT changes) with a command and add a car parking positions command (for houses that have a dynamic or static garage)


Re: Help with garage.. - Anthony_X - 22.12.2011

Quite complicated, I expected it to be something a bit more simple
And about house system you can help me with that ?
mabey have house system with /setgrage or something ?
im broke from search..


Re: Help with garage.. - Steven82 - 22.12.2011

Quote:
Originally Posted by Anthony_X
Посмотреть сообщение
Quite complicated, I expected it to be something a bit more simple
And about house system you can help me with that ?
mabey have house system with /setgrage or something ?
im broke from search..
Nothing in life will ever be given to you. And 99% of things in life that require some knowledge, will not be simple.


Re: Help with garage.. - coole210 - 22.12.2011

If you really want to learn and understand how to make houses/garages, I suggest reading through https://sampwiki.blast.hk/ and finding something useful (I even used to click random and read through everything I thought was important)

You can also read this tutorial (Just don't look at the mysql part if you don't use it): https://sampforum.blast.hk/showthread.php?tid=118379

For an already-made house system to copy & paste, I suggest:

https://sampforum.blast.hk/showthread.php?tid=207811


Re: Help with garage.. - Anthony_X - 22.12.2011

Eyo guys thank you so much, i'll seat and read now
And Steven you right..


Re: Help with garage.. - Anthony_X - 22.12.2011

Quote:
Originally Posted by coole210
Посмотреть сообщение
For an already-made house system to copy & paste, I suggest:

https://sampforum.blast.hk/showthread.php?tid=207811
Man after i do /buyhouse open dialogin and i prees continue and nothing happen...
that happen to me with more dialogins :\