Help with a door
#1

Ok guys, Im trying to create a door for the LSPD.I can get the coordinates but the door is not set right.I need someone to give me coordinates for a object with any id for the front of LSPD.Ill change the id to the door id.But I need is the coordinates of a door infront.I need it for my RP Server.I really need someone to help.I mean not the front door, Im trying to create a object to block players from entering the LSPD.Only Cops can enter.I need coordinates to make the door straight so that players cant enter LSPD.
Reply
#2

ok so use Gates:(idk any gate id so i just putting : gateid where the gate object it should be)
pawn Код:
// Somewhere in your FS or GM
new Gate;
// put this under OnGameModeInIt or OnFilterScriptInIt
Gate = CreateObject(gateid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)
// a command useing ZCMD ( zcmd is requested )
CMD:opengate(playerid, params[])
{
    // Dont change the "Gate" to any other number or word!
    MoveObject(Gate, Float:X, Float:Y, Float:Z, Float:Speed);
    return 1;
}


CMD:closegate(playerid, params[])
{
    // Dont change the "Gate" to any other number or word!
    MoveObject(Gate, Float:X, Float:Y, Float:Z, Float:Speed);
    return 1;
}
Reply
#3

A gate.I mean a door.I want the coordinates for like other RP Servers.The Police has a LSPD Door blocking so players cant enter.But about the gate thing, Ill try but it will be much easier if for a door.I tried its just the door is floating, its not even on the floor.
Reply
#4

Use MTA to get the object position.
Reply
#5

Wait.What is MTA? Multi Theft Auto?
Reply
#6

Quote:
Originally Posted by RTR12
Посмотреть сообщение
Wait.What is MTA? Multi Theft Auto?
Yes, MTA Map Editor. Or use Jernejl's one.
Reply
#7

Oh ok Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)