interior bug
#1

i've made this cmd in-game to make it easier for me to know and decide on interiors
CMD (/setinterior [x] [y] [z] [interiorid])
FUNCTION (teleports you to those co-ordinates and sets your interior to what you want)

now the problem is that whatever the interior id is, i dont see an interior, im just wondering in an empty space and even if im in the sky im standing and not falling, any idea how to solve this ?
Код:
CMD:setinterior(playerid,params[])
{
	if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid,RED,"<!>You're not authorized to use this command!");
	new Float:x, Float:y, Float:z, intid;
	if(sscanf(params,"fffi",x,y,z,intid))return SendClientMessage(playerid, RED,"/setinterior [x] [y] [z] [interior id]");
	SetPlayerPos(playerid,x,y,z);
	SetPlayerInterior(playerid,intid);
	return 1;
}
Thanks
Reply
#2

Each default maps got their own interior ID.
Check this out :
http://weedarr.wikidot.com/interior
Make sure you're in intended place and intended interior ID.

Take care
Reply
#3

thanks , repped
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)