10.06.2016, 23:20
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 ?
Thanks
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; }