11.07.2012, 01:02
Hello, what can I use to get the location of the trailer? I use /save in game to get vehicle locations, but you can't exactly enter a trailer..
new trailer;
OnGameModeInit()
{
trailer = CreateVehicle(cords and stuff..)
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/gototrailer", cmdtext, true, 10) == 0)
{
PutPlayerInVehicle(playerid,trailer,0);
return 1;
}
//Other cmds here
return 0;
}
So you are asking about entering a trailer?
You must assign an ID to the trailer. pawn Код:
pawn Код:
pawn Код:
|