17.02.2009, 17:48
well i wanna check out sfpd interior, how to make a command to teleport in there or something?
|
Originally Posted by Lenny.
well i wanna check out sfpd interior, how to make a command to teleport in there or something?
|
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
}
else if (PlayerToPoint(8.0, playerid,246.7840,63.9003,1003.6406))// in pd
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,//out side pd code);
}
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;
}