SA-MP Forums Archive
Help With Interior +Rep - 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: Help With Interior +Rep (/showthread.php?tid=628201)



Help With Interior +Rep - Ramin - 07.02.2017

PHP код:
CMD:WorldTp(playeridparams[])
{
    
SetPlayerInterior(playerid15);
    
SetPlayerPos(playerid1382.96042185.742410.3070);
    return 
1;

when player type /worldtp join to interior 15 Nothing is in The World All Map Is Clear How i Can Add SanAndreas World On this Code
Please Help Me On This i will rep you TnX


Re: Help With Interior +Rep - LondonRP - 07.02.2017

try with virtual world?

CMD:vw(playerid, params[])
{
SetPlayerVirtualWorld(playerid, 15);
SetPlayerPos(playerid, 1382.9604, 2185.7424, 10.3070);
return 1;
}


Re: Help With Interior +Rep - Ramin - 07.02.2017

on your code Interior Is not change Why Should i do that i need when interior change to 15 Make World on this i tested
PHP код:
CMD:WorldTp(playeridparams[]) 

    
SetPlayerInterior(playerid15); 
    
SetPlayerVirtualWorld(playerid15); 
    
SetPlayerPos(playerid1382.96042185.742410.3070); 
    return 
1

and thats not worked


Re: Help With Interior +Rep - Roozevelt - 07.02.2017

Isn't this in the same case as this ; https://sampforum.blast.hk/showthread.php?tid=628192 ?


Re: Help With Interior +Rep - Meller - 07.02.2017

Quote:
Originally Posted by LondonRP
Посмотреть сообщение
try with virtual world?

CMD:vw(playerid, params[])
{
SetPlayerVirtualWorld(playerid, 15);
SetPlayerPos(playerid, 1382.9604, 2185.7424, 10.3070);
return 1;
}
First, tell me why would you use Virtual World when he's clearly asking why the textures aren't visible..
Second, (to OP): These positions aren't an interior. It's a Las Venturas outside baseball thingy.
Third, here's fixed code:
PHP код:
CMD:worldtp(playeridparams[]) {
   
#pragma unused params
   
SetPlayerPos(playerid1382.96042185.742410.3070);
   return 
1;




Re: Help With Interior +Rep - Ramin - 07.02.2017

i want just when player type /worldtp on this
CMD:WorldTp(playerid, params[])
{
SetPlayerInterior(playerid, 15);
SetPlayerPos(playerid, 1382.9604, 2185.7424, 10.3070);
return 1;
}
in interior 15 All Maps Looklike To Interior 0
thats for derby


Re: Help With Interior +Rep - LondonRP - 07.02.2017

then you should change maps interior,you should place maps into the interior that the player spawns.


Re: Help With Interior +Rep - Ramin - 07.02.2017

i know ! but i dont know Function if you know Compelete my Codes


Re: Help With Interior +Rep - Ramin - 07.02.2017

My Help Need is really HarD?


Re: Help With Interior +Rep - Vince - 07.02.2017

No it isn't, but clearly you don't understand the answers given to you. The normal map is not visible in any interior so just remove the damn line!