Guten Tag Community,
ich habe ein Tutorial geschrieben aber es wiederholt nur die erste abfrage immer
public PresentTheServer(playerid)
{
new ServerTimer[MAX_PLAYERS];
ServerTimer[playerid]+= 1;
if(ServerTimer[playerid] == 1)
{
InterpolateCameraPos(playerid, -13.807963, -1071.044555, 226.328598, 570.429016, -1554.211547, 157.718154, 10000);
InterpolateCameraLookAt(playerid, -9.766538, -1073.959350, 225.915008, 572.358032, -1558.740844, 156.843765, 5000);
SendClientMessage(playerid,-1,"Herzlich Willkommen auf Selfmade Reallife!");
SendClientMessage(playerid,-1,"Wir bitten dich dir das Tutorial aufmerksam durch zu lesen.");
SendClientMessage(playerid,-1,"Das Selfmade Team wünscht dir viel Spaß auf unserem Server!");
}
else if(ServerTimer[playerid] == 10)
{
InterpolateCameraPos(playerid, 1532.821166, -1681.028442, 82.515563, 1480.518676, -1719.299682, 39.261486, 10000);
InterpolateCameraLookAt(playerid, 1530.020385, -1684.389892, 80.095535, 1480.541503, -1723.579101, 36.675777, 5000);
SendClientMessage(playerid,-1,"Die Stadthalle");
SendClientMessage(playerid,-1,"In der Stadthalle kannst du ein Personalausweis beantragen.");
SendClientMessage(playerid,-1,"Außerdem kannst du da wichtige sachen erledigen.");
}
else if(ServerTimer[playerid] == 20)
{
InterpolateCameraPos(playerid, 1502.032470, -1650.791503, 43.714103, 1525.622314, -1675.157348, 23.486627, 10000);
InterpolateCameraLookAt(playerid, 1505.541625, -1653.295410, 41.181045, 1530.186279, -1675.440429, 21.464244, 5000);
SendClientMessage(playerid,-1,"Das LSPD");
SendClientMessage(playerid,-1,"Du brauchst Hilfe und bist in gefahr ?");
SendClientMessage(playerid,-1,"Dann ruf die Polizei an mit /service.");
SendClientMessage(playerid,-1,"Die Polizei ist zuständig in ganz LS für Verbrechen und Schaden.");
}
else if(ServerTimer[playerid] == 30)
{
InterpolateCameraPos(playerid, 1395.730346, -1731.256469, 31.905395, 1397.786254, -1754.199218, 24.942497, 10000);
InterpolateCameraLookAt(playerid, 1393.901855, -1735.160400, 29.372337, 1393.517822, -1754.249023, 22.339057, 5000);
SendClientMessage(playerid,-1,"Das Jobcenter");
SendClientMessage(playerid,-1,"Du brauchst Geld um dein Leben zu finanzieren?");
SendClientMessage(playerid,-1,"Dann gehe ins Jobcenter da kannst du viele Jobs kennen lernen.");
}
else if(ServerTimer[playerid] == 40)
{
InterpolateCameraPos(playerid, 2150.851562, -1096.062988, 39.394939, 2124.562011, -1108.233276, 32.784404, 10000);
InterpolateCameraLookAt(playerid, 2147.501708, -1099.700439, 38.655475, 2124.974609, -1112.964721, 31.221214, 5000);
SendClientMessage(playerid,-1,"Das Autohaus");
SendClientMessage(playerid,-1,"In LS gibt es viele verschiedene Autohäuser vom Low Rider bis zum Sportwagen");
SendClientMessage(playerid,-1,"Jedes Fahrzeug im Autohaus hat seinen eigenen Preis.");
}
else if(ServerTimer[playerid] == 50)
{
InterpolateCameraPos(playerid, 1820.847045, -1477.366088, 52.029735, 1873.167114, -1476.026245, 41.471748, 10000);
InterpolateCameraLookAt(playerid, 1824.799072, -1474.631835, 50.649459, 1876.092041, -1472.377441, 39.702335, 5000);
SendClientMessage(playerid,-1,"Fragen und Hilfe");
SendClientMessage(playerid,-1,"Wenn du Fragen hast oder Hilfe brauchst dann Kontaktiere die Admins");
SendClientMessage(playerid,-1,"Mit /report kannst du die Admins ganz leicht erreichen.");
}
return 1;
}