SA-MP Forums Archive
[Map] Help Please - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Maps (https://sampforum.blast.hk/forumdisplay.php?fid=64)
+---- Thread: [Map] Help Please (/showthread.php?tid=412664)



Help Please - Chris009 - 02.02.2013

Hello ive been mapping at lspd the outside but now i want to switch the inside of it but how. Now i explain what i mean just in case you don't know what i mean i want to make lspd to sfpd so when i enter rather than spawning me at lspd i want it to spawn me at sfpd. How would i do that please help. I use both mta and samp editior i just need to know how to do it. :P THANKS FOR READING


Re: Help Please - Mahmoud_Elsiginy - 02.02.2013

you have to script it not mapping


Re: Help Please - Mark_Samp - 03.02.2013

Quote:
Originally Posted by Chris009
Посмотреть сообщение
Hello ive been mapping at lspd the outside but now i want to switch the inside of it but how. Now i explain what i mean just in case you don't know what i mean i want to make lspd to sfpd so when i enter rather than spawning me at lspd i want it to spawn me at sfpd. How would i do that please help. I use both mta and samp editior i just need to know how to do it. :P THANKS FOR READING
First Thing : Wrong Section
Second Thing : You can`t map it , you need to script it
For Example if you used /enter to enter the LSPD
you will have to make this :

Quote:

CMD:enter(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
if(IsPlayerInRangeOfPoint(playerid, 2.0,1849.32995605,-1714.31005859,5201.54003906)) return SendClientMessage(playerid, 0xAA3333AA,"[ERROR]: You Are Not At LSPD Door");
SetPlayerInterior(playerid, 10)
GameTextForPlayer(playerid,"~g~Welcome To LSPD",1500, 3);
return 1;
}

I hope that this helped


Re: Help Please - freddy smyth - 03.02.2013

You'd also need to disable the InteriorEnterExits to get rid of the old entrance, although I think the SAMP include does it already for you.


Re: Help Please - Mark_Samp - 03.02.2013

Quote:
Originally Posted by freddy smyth
Посмотреть сообщение
You'd also need to disable the InteriorEnterExits to get rid of the old entrance, although I think the SAMP include does it already for you.
I thought that too , thats why i didn't complete