03.02.2014, 20:19
[ame]http://www.youtube.com/watch?v=zU-Na13MGfo[/ame]
Why does npc don't enter train but get kicked back?
PHP код:
ConnectNPC("Train_Driver","Train");
MyFirstNPCVehicle = AddStaticVehicle(538, -1943.0624, 158.9263, 25.7186, 358.2109, 1, 1);
Fuel[MyFirstNPCVehicle] = 90000;
Engine[MyFirstNPCVehicle] = true;
Lights[MyFirstNPCVehicle] = true;
PHP код:
CMD:test2(playerid, params[])
{
PutPlayerInVehicle(0, MyFirstNPCVehicle, 0); //Putting the NPC into the vehicle we created for it.
return 1;
}