it does not madder if its a GF or LARP edit...
i found out it has todo with the "login system"
so i wanna use my Larp Edit now i need a soloution that the BOTS / NPCS dont need to login...
i dont know why u guys so mean and not help with this =(
someone meant i have to do this:
under this...
public SetPlayerSpawn(playerid)
this code:
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "BOTNAME", true)) {
PutPlayerInVehicle(playerid,BOTAUTO,0)
}
return 1;
}
then:
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "BOTNAME", true)) {
PutPlayerInVehicle(playerid,BOTAUTO,0)
}
return 1;
}
public OnPlayerRequestClass(playerid, classid)
and this:
new playername[64];
GetPlayerName(playerid,playername,64);
if(IsPlayerNPC(playerid))
{
if(!strcmp(playername,"BOTNAME",true)) {
OnPlayerCommandText(playerid,"/login bot_passwort"); // Ihr mьsst zuerst einen Account mit Passwort fьr den Bot erstell haben
}
}
omg i get errors...
please guys we work 6 hours but no solution...