unable to see interior - 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: unable to see interior (
/showthread.php?tid=454771)
unable to see interior -
Jhony_Blaze - 30.07.2013
Hello, I just wanted to set a building interior, but when I do /enter I can't see it, the coordinates are from this site
>>http://weedarr.wikidot.com/interior<<
I am using the car school interior.
And here it is a picture of what I mean about I can't see the interior, also I double checked if the coordinates are right at the /enter command, but everything is right.
Thank You !
Re: unable to see interior -
Sellize - 30.07.2013
Do you mind showing the script?
Re: unable to see interior -
Vince - 30.07.2013
That table also has an id column. What do you think it's there for?
Re: unable to see interior -
Jhony_Blaze - 30.07.2013
This is the /enter script for it
Код:
if(IsPlayerInRangeOfPoint(playerid,8.0,-2148.8613,-2395.3420,30.7257)) //DMV
{
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid,1);
SetPlayerPos(playerid,-2029.798339,-106.675910,1035.171875);
TogglePlayerControllable(playerid, 0);
SetTimerEx("EnterExitTimer", 5000, false, "i", playerid);
}
@Vince I am not sure
Re: unable to see interior -
Facerafter - 30.07.2013
pawn Код:
SetPlayerInterior(playerid,1);
Change that to
pawn Код:
SetPlayerInterior(playerid,3);
That should do it.
Re: unable to see interior -
Alexis1999 - 30.07.2013
Also include that command for future reference. You may find it handy on finding the correct interior.
pawn Код:
// ZCMD Version using SSCANF2
CMD:interior(playerid, params[])
{
new interiorid, string[128];
if(!IsPlayerAdmin(playerid)) return 0;
if(sscanf(params, "i", interiorid)) return SendClientMessage(playerid, -1, "USAGE: /interior [interiorid]");
format(string, 128, "Your new interior id is : %i", interiorid);
SendClientMessage(playerid, -1, string);
return 1;
}