im spawn direkt wie vorne beschrieben PutPlayerInVehicle
Man... das hab ich auch gemacht und alles... arbeite nun 2 Stunden daaran -.-
C
#pragma tabsize 0
#include <a_samp>
new MyFirstNPCVehicle;
public OnFilterScriptInit()
{
print("my filterscript");
ConnectNPC("MyFirstNPC","hydrapilot");
MyFirstNPCVehicle = CreateVehicle(520,0.0,0.0,5.0, 0.0, 3, 3,-1);
return 1;
}
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new BotName[MAX_PLAYER_NAME];
GetPlayerName(playerid,BotName,sizeof BotName);
if (strcmp(BotName, "MyFirstNPC", true)==0)PutPlayerInVehicle(playerid,MyFirstNPCVehicle,0);
}
return 1;
}
Alles anzeigen
btw.. bin seit langem wieder hier