SA-MP Forums Archive
Can i make spawn points in interior locations? - 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: Can i make spawn points in interior locations? (/showthread.php?tid=636274)



Can i make spawn points in interior locations? - Oxygenated - 24.06.2017

There are some interiors which are inaccessible in the samp so going in those interiors and typing /save to get co-ordinates is not possible for me so what shall i do get the spawn points? Any master ideas?


Re: Can i make spawn points in interior locations? - DavidBilla - 24.06.2017

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

This might come in handy.


Re: Can i make spawn points in interior locations? - Abagail - 24.06.2017

What you're saying makes literally no sense. How do you think you're going to spawn a player somewhere that's not accessable?


Re: Can i make spawn points in interior locations? - Whatname - 24.06.2017

You can make your own command to save
PHP код:
CMD:saveex(playeridparams[])
{
    new 
Float:xFloat:yFloat:z;
    new 
str[50];
    
GetPlayerPos(playeridxyz);
    
format(strsizeof(str), "/r/ninterior %d coords %0.2f %0.2f %0.2f"GetPlayerInterior(playerid), xyz);
    new 
File:fopen("/savedpositions.txt"io_append);
    
fwrite(fstr);
    
fclose(f);
    return 
1;




Re: Can i make spawn points in interior locations? - Sew_Sumi - 24.06.2017

Quote:
Originally Posted by Whatname
Посмотреть сообщение
You can make your own command to save
PHP код:
CMD:saveex(playeridparams[])
{
    new 
Float:xFloat:yFloat:z;
    new 
str[50];
    
GetPlayerPos(playeridxyz);
    
format(strsizeof(str), "/r/ninterior %d coords %0.2f %0.2f %0.2f"GetPlayerInterior(playerid), xyz);
    new 
File:fopen("/savedpositions.txt"io_append);
    
fwrite(fstr);
    
fclose(f);
    return 
1;

Can you please read the thread... This isn't what he's asking for.


Re: Can i make spawn points in interior locations? - Jithu - 23.01.2018

please, do not double post the same topic


Re: Can i make spawn points in interior locations? - Sew_Sumi - 23.01.2018

Quote:
Originally Posted by Jithu
Посмотреть сообщение
please, do not double post the same topic
please, don't bump topics that are over 6 months old, with nonsense.


Re: Can i make spawn points in interior locations? - andrejc999 - 23.01.2018

Try using samp map editor.

Just fly to the sky and look for interiors, then when you find one you're looking for, create a small object where you want the player to be spawned. Look for the interior ID on samp wiki...


Re: Can i make spawn points in interior locations? - Sew_Sumi - 23.01.2018

Read the damn thread before posting... This is over 6 months old...


Re: Can i make spawn points in interior locations? - Ducati - 23.01.2018

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Read the damn thread before posting... This is over 6 months old...
So? This thread still appears for people searching for similar problems on both ****** and the Forums. If a solution hasn't been given and someone wants to provide a solution 6 months later what's the problem with that? Its still helpful for everyone who stumbles across this thread with a similar problem/query