[HELP] How to add House in GF?
#1

What im doing wrong ?

Код:
54.3974,-1367.1523,53.1094,225.630997,1022.479980,1084.069946,0,0,0,0,0,The State,Large House,2000000,0,0,7,1,0,0,5000,1,0,418,-1,-1,134,4
i add this in propery.cfg and i open GM and change House info from 35 to 36

Код:
new HouseInfo[36][hInfo];
So when i join in server i loggin and everything is not working. I remove this what i add and it works ? Please help me! Thanks
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=45235
Reply
#3

Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
Man in GodFather section i never get help. None helps there!
If you know please help me here.
Reply
#4

There is somewhere tutorial for adding houses in godfather
Reply
#5

What exacly wont work?

House icon dont appear or?
Reply
#6

Quote:
Originally Posted by Voldemort
Посмотреть сообщение
What exacly wont work?

House icon dont appear or?
No man i add that and i join in server and all Pickups go away, and some cars go away :S
Reply
#7

Oh pickups messed up because first server loads House cars and house pickups, so if you add one new house, all vehicles IDs goes +1, and pickup id do the same
Reply
#8

Quote:
Originally Posted by Voldemort
Посмотреть сообщение
Oh pickups messed up because first server loads House cars and house pickups, so if you add one new house, all vehicles IDs goes +1, and pickup id do the same
So what i need to do?
Reply
#9

You need to define cars like on top

new LSPDCars[10];
OnInit

LSPDCars[0] = AddStaticVeh.. not just AddStaticVeh and than try to guess car ID.
I hope you got it what I mean.

About Pickups, I cant remeber but, check OnPlayerPickupPickup does it need some specific value of pickups, if OnPPP is empty you dont need specify each one pickup and dont need any defines
Reply
#10

Quote:
Originally Posted by Voldemort
Посмотреть сообщение
You need to define cars like on top

new LSPDCars[10];
OnInit

LSPDCars[0] = AddStaticVeh.. not just AddStaticVeh and than try to guess car ID.
I hope you got it what I mean.

About Pickups, I cant remeber but, check OnPlayerPickupPickup does it need some specific value of pickups, if OnPPP is empty you dont need specify each one pickup and dont need any defines
Hm idk man if there is problem with cars what about other houses added ?

Here is some houses from property.cfg

Код:
-2234.689697,888.874511,66.653099,2254.300048,-1140.000000,1050.599975,0,0,0,0,0,0,The State,2 Room Luxury,2000000,0,0,9,1,0,0,100,1,0,418,-1,-1,127,5,31
-2524.408691,-144.885604,21.764200,2261.300048,-1135.900024,1050.599975,0,0,0,0,0,0,The State,3 Room Luxury,2000000,0,0,10,1,0,0,500,1,0,418,-1,-1,133,5,32
-2621.281005,-112.409301,4.342597,2324.399902,-1147.500000,1050.699951,0,0,0,0,0,0,The State,8 Room Luxury,2000000,0,0,12,1,0,0,5000,1,0,418,-1,-1,134,10,33
And they work ? How they work only when i add new not work ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)