[help] Making hqs enterable -
Blade_Cervetti - 19.06.2010
I have working on this project for the past week trying to figure things out and have not succeeded yet. I have this as my ganghq setup, I am trying to make them hq enterable but within these codes I dont know where to put the enter cords and the exit cords for the int. please help me make it to where this hq can have an interior! Thanks!
34,2179.266357,-2262.463378,14.773400,1,Blade_Shen,1500000,551,551 ,551,551,~r~Triads,1,Eagle Tail,Eagle Claw,Dragon Tail,Dragon Claw,Dragon Head,10,1,2790,0,0,0
Re: [help] Making hqs enterable -
DJDhan - 19.06.2010
Under your "enter" code:
Код:
SetPlayerInterior(playerid,interiorid);
SetPlayerPos(playerid,x,y,z); the x,y,z co-ordinates inside the HQ.
Under your "exit" code:
Код:
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,x,y,z); x,y,z co-ordinates just outside the door.
Re: [help] Making hqs enterable -
Blade_Cervetti - 19.06.2010
Dude there is no enter or exit codes, the hq is onyl that code up above thats it!!!
Re: [help] Making hqs enterable -
(.Aztec); - 19.06.2010
Quote:
|
Originally Posted by Blade_Cervetti
Dude there is no enter or exit codes, the hq is onyl that code up above thats it!!!
|
.................................................. .............
Re: [help] Making hqs enterable -
DowNlOaD_ - 19.06.2010
i would love to help
but what's the problem? sorry but i dont undestand ;/
Re: [help] Making hqs enterable -
Blade_Cervetti - 19.06.2010
Quote:
|
Originally Posted by Sky4D
Quote:
|
Originally Posted by Blade_Cervetti
Dude there is no enter or exit codes, the hq is onyl that code up above thats it!!!
|
.................................................. .............
|
If you dont have an answer that might help, dont post.
Also, download, The problem is the fact that my hq is only an icon where the cmd /gangmenu can be done! Thats all, Im trying to make it to where it is enterable and that code shown above it the only thing that controls the hq period.
Re: [help] Making hqs enterable -
DJDhan - 19.06.2010
If you don't have any code, add it.
Add a pickup at the doors of the HQ and then check for the pickup id under OnPlayerPickUpPickUp.
After that
Quote:
|
Originally Posted by DJDhan
Код:
SetPlayerInterior(playerid,interiorid);
SetPlayerPos(playerid,x,y,z); the x,y,z co-ordinates inside the HQ.
|
Once in, add a second pickup inside the HQ which will be for exiting.
Then after that
Quote:
|
Originally Posted by DJDhan
Код:
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,x,y,z); x,y,z co-ordinates just outside the door.
|
Re: [help] Making hqs enterable -
Blade_Cervetti - 19.06.2010
Quote:
|
Originally Posted by DJDhan
If you don't have any code, add it.
Add a pickup at the doors of the HQ and then check for the pickup id under OnPlayerPickUpPickUp.
After that
Quote:
|
Originally Posted by DJDhan
Код:
SetPlayerInterior(playerid,interiorid);
SetPlayerPos(playerid,x,y,z); the x,y,z co-ordinates inside the HQ.
|
Once in, add a second pickup inside the HQ which will be for exiting.
Then after that
Quote:
|
Originally Posted by DJDhan
Код:
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,x,y,z); x,y,z co-ordinates just outside the door.
|
|
Join my server and I will show you what Im talking about!