Ho gia fatto un bot, ora volevo fare un altro ma è fermo allo spawn , ho provato a mettere anche cosi
Codice:
if(IsPlayerNPC(playerid)) //Controlla se è un bot.
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "DRIFTER", true)) //Assicuratevi che il nome si uguale a quello di connessione
{
PutPlayerInVehicle(playerid, drifter, 0); //Mette il bot nel veicolo creato nell'ongamemodeinit.
}
if(!strcmp(npcname, "DRIFTER", true))
{
PutPlayerInVehicle(playerid, AnotherVehicleID, 0);
return 1;
}
return 1;
}
ma non va perche mi dice: undefined symbol AnotherVehicleID