SA-MP Forums Archive
How Can I Make Pick Ups Enterance And Exits - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How Can I Make Pick Ups Enterance And Exits (/showthread.php?tid=100524)



How Can I Make Pick Ups Enterance And Exits - Smokey619 - 05.10.2009

what i mean is i want to disable entrance and exits on my game mode and just put pick ups as entrance and exits but when i did it i had one store then i made a other store but it had no exit and it was the same interior in total i had 4 pickups. how can i make 2 or more exits in a same interior?


Re: How Can I Make Pick Ups Enterance And Exits - Zeromanster - 05.10.2009

Quote:
Originally Posted by Smokey619
what i mean is i want to disable entrance and exits on my game mode and just put pick ups as entrance and exits but when i did it i had one store then i made a other store but it had no exit and it was the same interior in total i had 4 pickups. how can i make 2 or more exits in a same interior?
- Use DisableInteriorEnterExits();
- Use VirtualWorlds, and when they type /exit check their VirtualWorld so they exit where you want.


Re: How Can I Make Pick Ups Enterance And Exits - [XST]O_x - 05.10.2009

Quote:
Originally Posted by Zeromanster
Quote:
Originally Posted by Smokey619
what i mean is i want to disable entrance and exits on my game mode and just put pick ups as entrance and exits but when i did it i had one store then i made a other store but it had no exit and it was the same interior in total i had 4 pickups. how can i make 2 or more exits in a same interior?
- Use DisableInteriorEnterExits();
- Use VirtualWorlds, and when they type /exit check their VirtualWorld so they exit where you want.
You mean,DisableInteriorEnterExits(); is deleting the yellow markers in front of the doors?


Re: How Can I Make Pick Ups Enterance And Exits - dice7 - 05.10.2009

Quote:
Originally Posted by ►ϻozilla Fir3foж◄
Quote:
Originally Posted by Zeromanster
Quote:
Originally Posted by Smokey619
what i mean is i want to disable entrance and exits on my game mode and just put pick ups as entrance and exits but when i did it i had one store then i made a other store but it had no exit and it was the same interior in total i had 4 pickups. how can i make 2 or more exits in a same interior?
- Use DisableInteriorEnterExits();
- Use VirtualWorlds, and when they type /exit check their VirtualWorld so they exit where you want.
You mean,DisableInteriorEnterExits(); is deleting the yellow markers in front of the doors?
yes


Re: How Can I Make Pick Ups Enterance And Exits - [XST]O_x - 05.10.2009

Quote:
Originally Posted by dice7
Quote:
Originally Posted by ►ϻozilla Fir3foж◄
Quote:
Originally Posted by Zeromanster
Quote:
Originally Posted by Smokey619
what i mean is i want to disable entrance and exits on my game mode and just put pick ups as entrance and exits but when i did it i had one store then i made a other store but it had no exit and it was the same interior in total i had 4 pickups. how can i make 2 or more exits in a same interior?
- Use DisableInteriorEnterExits();
- Use VirtualWorlds, and when they type /exit check their VirtualWorld so they exit where you want.
You mean,DisableInteriorEnterExits(); is deleting the yellow markers in front of the doors?
yes
Ok,great i wanted to know how to do it too


Re: How Can I Make Pick Ups Enterance And Exits - Smokey619 - 06.10.2009

Quote:
Originally Posted by Zeromanster
Quote:
Originally Posted by Smokey619
what i mean is i want to disable entrance and exits on my game mode and just put pick ups as entrance and exits but when i did it i had one store then i made a other store but it had no exit and it was the same interior in total i had 4 pickups. how can i make 2 or more exits in a same interior?
- Use DisableInteriorEnterExits();
- Use VirtualWorlds, and when they type /exit check their VirtualWorld so they exit where you want.
oh ok how do i make virtual worlds is it just SetPlayerVirtualWorld(playerid,worldid) ? for world id i put the interior ex. 18 24/7 or do i put 0 for outside?


Re: How Can I Make Pick Ups Enterance And Exits - shady91 - 06.10.2009

SetPlayerVirtualWorld(playerid,worldid)

make sure you set the world back to 0 when they exit.


Re: How Can I Make Pick Ups Enterance And Exits - Smokey619 - 07.10.2009

Quote:
Originally Posted by Shady91
SetPlayerVirtualWorld(playerid,worldid)

make sure you set the world back to 0 when they exit.
can you give me an example because i dont get what your saying


Re: How Can I Make Pick Ups Enterance And Exits - Smokey619 - 18.10.2009

some one help me with the enterance end exits with pickups or checkpoints


Re: How Can I Make Pick Ups Enterance And Exits - (.Aztec); - 18.10.2009

Quote:
Originally Posted by Smokey619
some one help me with the enterance end exits with pickups or checkpoints
On the enter set their virtualworld to 1.
On the exit set their virtualworld to 0...


Re: How Can I Make Pick Ups Enterance And Exits - Ritchie999 - 18.10.2009

can someone paste me an example code or snippet on how to add buildings with enter/exit please?


Re: How Can I Make Pick Ups Enterance And Exits - Smokey619 - 18.10.2009

hmm does their need to be a pick up to make an enterance or what?


Re: How Can I Make Pick Ups Enterance And Exits - Peter_Corneile - 18.10.2009

Quote:
Originally Posted by ►ϻozilla Fir3foж◄
Quote:
Originally Posted by dice7
Quote:
Originally Posted by ►ϻozilla Fir3foж◄
Quote:
Originally Posted by Zeromanster
Quote:
Originally Posted by Smokey619
what i mean is i want to disable entrance and exits on my game mode and just put pick ups as entrance and exits but when i did it i had one store then i made a other store but it had no exit and it was the same interior in total i had 4 pickups. how can i make 2 or more exits in a same interior?
- Use DisableInteriorEnterExits();
- Use VirtualWorlds, and when they type /exit check their VirtualWorld so they exit where you want.
You mean,DisableInteriorEnterExits(); is deleting the yellow markers in front of the doors?
yes
Ok,great i wanted to know how to do it too
Lol you didnt know that ? :P


Re: How Can I Make Pick Ups Enterance And Exits - Smokey619 - 18.10.2009

Quote:
Originally Posted by ►Peter Corneile◄ [hugu-hosting.co.uk
]
Quote:
Originally Posted by ►ϻozilla Fir3foж◄
Quote:
Originally Posted by dice7
Quote:
Originally Posted by ►ϻozilla Fir3foж◄
Quote:
Originally Posted by Zeromanster
Quote:
Originally Posted by Smokey619
what i mean is i want to disable entrance and exits on my game mode and just put pick ups as entrance and exits but when i did it i had one store then i made a other store but it had no exit and it was the same interior in total i had 4 pickups. how can i make 2 or more exits in a same interior?
- Use DisableInteriorEnterExits();
- Use VirtualWorlds, and when they type /exit check their VirtualWorld so they exit where you want.
You mean,DisableInteriorEnterExits(); is deleting the yellow markers in front of the doors?
yes
Ok,great i wanted to know how to do it too
Lol you didnt know that ? :P
can you give me an example on how to do it? im a little new to this i want to learn how to do it maybe if you can make a script for me just an example like cluckin bell in ls


Re: How Can I Make Pick Ups Enterance And Exits - Peter_Corneile - 18.10.2009

Use these
https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup


Re: How Can I Make Pick Ups Enterance And Exits - saiberfun - 18.10.2009

Quote:
Originally Posted by Smokey619
can you give me an example on how to do it? im a little new to this i want to learn how to do it maybe if you can make a script for me just an example like cluckin bell in ls
download sum roleplayer gms and have a look at the housesystems in it then for example
u could use the stah app by sum1(i forgot just search)
it adds house to one of these gms.
i think it was probably the GodFatherscript


Re: How Can I Make Pick Ups Enterance And Exits - Smokey619 - 18.10.2009

alright ill take a look