01.06.2012, 14:38 
	
	
	
		Hi, sorry for my bad english (I'm German). But that's my question: I've created a Busbot. but if a player is busbot before he is to stand still. please help me ^^
	
	
	
	

new car_Busbot;
//Busbot
ConnectNPC("busbot","busbot");
car_Busbot = CreateVehicle(437, -2257.1030,149.2979,35.3796,181.1235,1,7, -1);
if(IsPlayerNPC(playerid))
    {
		new botname[MAX_PLAYER_NAME];
		GetPlayerName(playerid, botname, sizeof(botname));
		if(!strcmp(botname, "busbot", true))
		{
		    Desktop_Check[playerid] = 0;
			Desktop_Timer_Started[playerid] = 0;
		    Desktop_Status[playerid] = 0;
		    print("[NPC]: Busbot ist gespawnt.");
 			SetPVarInt(playerid,"Fuehrerschein",1);
 			SetPlayerSkin(playerid,255);
 			PutPlayerInVehicle(playerid, car_Busbot, 0);
 			GetVehicleParamsEx(car_Busbot,engine,lights,alarm,doors,bonnet,boot,objective);
			SetVehicleParamsEx(car_Busbot,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
			Motor[car_Busbot] = true;
			Vehicle[car_Busbot][Engine] = 1;
			return 1;
		}
 	}
#include "a_npc"
#define RECORDING "busbot"
main()
{
}
public OnRecordingPlaybackEnd()
{
	StartRecordingPlayback(1, RECORDING); 
}
public OnNPCEnterVehicle(vehicleid, seatid)
{
	StartRecordingPlayback(1, RECORDING);
}
public OnNPCExitVehicle()
{
	StopRecordingPlayback();
}
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,"busbot");