was hab ich falsch gemacht?
[16:37:58] Number of vehicle models: 41
[16:37:58] Incoming connection: 127.0.0.1:2017
[16:37:58] [npc:join] bufalolv has joined the server (0:127.0.0.1)
[16:37:58] Incoming connection: 127.0.0.1:2018
[16:37:58] [npc:join] infernuswang has joined the server (1:127.0.0.1)
[16:37:58] Incoming connection: 127.0.0.1:2019
[16:37:58] [npc:join] hotringbotstuntpark has joined the server (2:127.0.0.1)
[16:37:58] Incoming connection: 127.0.0.1:2020
[16:37:58] [npc:join] stunttaxi has joined the server (3:127.0.0.1)
[16:38:09] [npc:part] bufalolv has left the server (0:0)
[16:37:58] [npc:join] bufalolv has joined the server (0:127.0.0.1)
[16:38:09] [npc:part] bufalolv has left the server (0:0)
??? Hab alles richtig gemacht, so wie bei den anderen 3 bots auch! -.-"
ConnectNPC("bufalolv","bufalolv");// erstes carbot steht für den namen hier im script, 2tes wie der record heißt!!!!
bufalolv = CreateVehicle(402, 2000.0, 2000.0, 2000.0, 7.0, 0, 0, -1);// im prinzip eig egal wo man die hinspawnt, die weden später geportet denke ich (war zumindest so)
new bufalolv;
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new botname[MAX_PLAYER_NAME];
GetPlayerName(playerid, botname, sizeof(botname));
if(!strcmp(botname, "stunttaxi", true))
{
PutPlayerInVehicle(playerid, stunttaxi, 1);
Attach3DTextLabelToPlayer(taxibot, playerid, 0.0,0.0,0.0);
}
if(!strcmp(botname, "hotringbotstuntpark", true))
{
PutPlayerInVehicle(playerid, hotringbotstuntpark, 1);
Attach3DTextLabelToPlayer(hotringbot, playerid, 0.0,0.0,0.0);
}
if(!strcmp(botname, "infernuswang", true))
{
PutPlayerInVehicle(playerid, infernuswang, 1);
Attach3DTextLabelToPlayer(wangbot, playerid, 0.0,0.0,0.0);
}
if(!strcmp(botname, "bufalolv", true))
{
PutPlayerInVehicle(playerid, bufalolv, 1);
Attach3DTextLabelToPlayer(bufalolvtext, playerid, 0.0,0.0,0.0);
}
}
(das "Return ;1 hab ich weiter unten)
ja das wars eig?
danke im vorraus!
mfg fluppy