08.07.2011, 19:55
Hi, I can not get the NPC walk in vehicles.
Try everything, but I stay so the code:
If i try to do it in LVDM GM, it works! But in my RP doesn't works
Help me please !
Try everything, but I stay so the code:
pawn Код:
new AutoTaxi;
new Shamal;
OnPlayerSpawn...
if(!strcmp(nombre, "Conductor_Taxi_LS", true))
{
PutPlayerInVehicle(playerid, AutoTaxi, 0);
new Text3D:TextoBot = Create3DTextLabel("[BOT]Taxista - LS",0xFF0000FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(TextoBot, playerid, 0.0, 0.0, 0.5);
}
ShowPlayerMarkers(0);
if(!strcmp(nombre, "Conductor_Shamal_LS", true))
{
PutPlayerInVehicle(playerid, Shamal, 0);
new Text3D:TextoBot = Create3DTextLabel("[BOT]Avion Shamal - LS",0xFF0000FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(TextoBot, playerid, 0.0, 0.0, 0.5);
}
ShowPlayerMarkers(0);
}
OnGameModeInit...
AutoTaxi = AddStaticVehicleEx(420,1827.0239,-1890.7721,13.1912,359.9481,6,1,5000);
Shamal = AddStaticVehicleEx(519,2024.4341,-2493.9421,14.4611,89.4221,1,1,5000);
Help me please !