04.03.2018, 17:09
(
Последний раз редактировалось m4karow; 04.03.2018 в 19:16.
)
Hey
I've making a mission and i want to put NPC into vehicle.
NPC connecting and spawning well, i set it to the correct position.
Then i'm creating a vehicle with CreateVehicle and put the NPC into...
The NPC just staying on the roof of the vehicle
PutPlayerInVehicle(missionNPC, missionVehicle, 0);
the value's of the variables are correct. MissionNPC = playerid 1, missionVehicle = 1050....
npctest....
public OnNPCConnect(myplayerid)
{
printf("npctest: OnNPCConnect(My playerid=%d)", myplayerid);
}
public OnNPCSpawn()
{
printf("npctest: OnNPCSpawn");
}
cant see any of theese prints in the server log...
I've making a mission and i want to put NPC into vehicle.
NPC connecting and spawning well, i set it to the correct position.
Then i'm creating a vehicle with CreateVehicle and put the NPC into...
The NPC just staying on the roof of the vehicle
PutPlayerInVehicle(missionNPC, missionVehicle, 0);
the value's of the variables are correct. MissionNPC = playerid 1, missionVehicle = 1050....
npctest....
public OnNPCConnect(myplayerid)
{
printf("npctest: OnNPCConnect(My playerid=%d)", myplayerid);
}
public OnNPCSpawn()
{
printf("npctest: OnNPCSpawn");
}
cant see any of theese prints in the server log...