interior
#1

well i wanna check out sfpd interior, how to make a command to teleport in there or something?
Reply
#2

Quote:
Originally Posted by Lenny.
well i wanna check out sfpd interior, how to make a command to teleport in there or something?
if your useing the GF mode find the /enter command and add

Код:
else if (PlayerToPoint(8.0, playerid,//Out side of pd code))
			{
			  GameTextForPlayer(playerid, "~w~Welcome to the Police Offices", 5000, 1);
			  SetPlayerInterior(playerid,6);
				SetPlayerPos(playerid,246.7840,63.9003,1003.6406);// inside pd
			}
then find /exit command

Код:
else if (PlayerToPoint(8.0, playerid,246.7840,63.9003,1003.6406))// in pd
			{
			  SetPlayerInterior(playerid,0);
				SetPlayerPos(playerid,//out side pd code);
			}
or just a tp
Код:
if (strcmp("/gotopd", cmdtext, true) == 0)
			{
			  GameTextForPlayer(playerid, "~w~Welcome to the Police Offices", 5000, 1);
			  SetPlayerInterior(playerid,6);
				SetPlayerPos(playerid,246.7840,63.9003,1003.6406);// inside pd
                      return 1;
                      }
Reply
#3

im not using gf, also im not trying to make myself enter from in front of door, i just want teleport there so i see how it looks like, cos i don't know.
Reply
#4

ok i updated my post ^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)