Trailer Location
#4

Quote:
Originally Posted by RedFusion
Посмотреть сообщение
So you are asking about entering a trailer?
You must assign an ID to the trailer.
pawn Код:
new trailer;
pawn Код:
OnGameModeInit()
{
trailer = CreateVehicle(cords and stuff..)

}
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/gototrailer", cmdtext, true, 10) == 0)
    {
        PutPlayerInVehicle(playerid,trailer,0);
        return 1;
    }
    //Other cmds here
    return 0;
}
I think this would work.
Spot on, big help. One more problem, is there no way to get the trailer to drive at all? I need to move my trailer to a position I want it to respawn then /save for the co ordinates to make a CreateVehicle for it, cheers.
Reply


Messages In This Thread
Trailer Location - by WinterAce - 11.07.2012, 01:02
Re: Trailer Location - by coole210 - 11.07.2012, 01:30
Re: Trailer Location - by RedFusion - 11.07.2012, 01:33
Re: Trailer Location - by WinterAce - 11.07.2012, 01:59
Re: Trailer Location - by WinterAce - 11.07.2012, 02:40
Re: Trailer Location - by RedFusion - 12.07.2012, 15:03
Re: Trailer Location - by clarencecuzz - 12.07.2012, 15:07

Forum Jump:


Users browsing this thread: 3 Guest(s)