Trailer Location
#3

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.
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)