if(TutTime[i])
{
TutTime[i]++;
if(TutTime[i] == 6)
{
SetPlayerPos(i,1479.1464,-1754.0496,33.4297);
SetPlayerFacingAngle(i,357.8764);
SetPlayerCameraPos(i,1482.5554,-1713.1638,36.7771);
SetPlayerCameraLookAt(i,1482.1392,-1746.0701,25.7670);
SetPlayerVirtualWorld(i,(i+1));
SendClientMessage(i,Farbe_Schwarz," ");
SendClientMessage(i,Farbe_Schwarz," ");
SendClientMessage(i,Farbe_Schwarz," ");
SendClientMessage(i,Farbe_Schwarz," ");
SendClientMessage(i,Farbe_Schwarz," ");
SendClientMessage(i,Farbe_Schwarz," ");
SendClientMessage(i,Farbe_Schwarz," ");
SendClientMessage(i,Farbe_Schwarz," ");
SendClientMessage(i,Farbe_Schwarz," ");
TextDrawHideForPlayer(i, IntroBox);
TextDrawHideForPlayer(i, Projektleitung);
TextDrawHideForPlayer(i, ProjektLeiterName);
PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][1],"(Tutorial) - Zivispawn");
PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][2],"Dies
ist der Zivispawn unseres Servers~n~Hier Spawnst du wenn du dich
einloggst~n~Jedoch kannst du dich in ein Haus einmieten~n~sodass du dort
Spawnen kannst mit /spawnchange");
for(new i=0;i<4;i++) PlayerTextDrawShow(playerid,Tutorialdraw[playerid][i]);
}
else if(TutTime[i] == 20)
{
SetPlayerPos(i,2122.5210,-1146.8610,30.7632);
SetPlayerFacingAngle(i,359.3494);
SetPlayerCameraPos(i,2128.5413,-1112.7592,42.8372);
SetPlayerCameraLookAt(i,2129.6411,-1142.0074,25.0423);
for(new s=0;s<4;s++){ PlayerTextDrawHide(playerid,Tutorialdraw[playerid][s]); }
SetPlayerVirtualWorld(i,(i+1));
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][1],"(Tutorial) - Fraktionen");
PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][2],"Auf
unserem Server gibt es X Fraktionen.~n~Ab Level 2 kannst du einer
Gang/Mafia beitreten.~n~und ab Level 3 Staatsfraktionen.~n~Du kannst in
diesem Forum bewerben www.folgt.de");
for(new i=0;i<4;i++) PlayerTextDrawShow(playerid,Tutorialdraw[playerid][i]);
}
else if(TutTime[i] == 28)
{
SetPlayerPos(i,1460.4634,-1019.1107,48.1359);
SetPlayerFacingAngle(i,181.6645);
SetPlayerCameraPos(i,1461.5790,-1042.0156,24.2842);
SetPlayerCameraLookAt(i,1462.4208,-1011.1050,30.0120);
for(new s=0;s<4;s++){ PlayerTextDrawHide(playerid,Tutorialdraw[playerid][s]); }
SetPlayerVirtualWorld(i,(i+1));
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][1],"(Tutorial) - Autohaeuser");
PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][2],"Wir
besitzen X Autohaeuser.~n~Wir empfehlen dir das Guenstige Autohaus als
erstes zu besuchen.~n~um dir einen Anfangs Wagen zuzulegen.~n~Wie du
dort hingelangst? /navi");
for(new i=0;i<4;i++) PlayerTextDrawShow(playerid,Tutorialdraw[playerid][i]);
}
else if(TutTime[i] == 46)
{
SetPlayerPos(i,1413.2452,-1640.2640,38.3088);
SetPlayerFacingAngle(i,268.4439);
SetPlayerCameraPos(i,1442.6525,-1624.4379,60.0615);
SetPlayerVirtualWorld(i,(i+1));
SetPlayerCameraLookAt(i,1489.9127,-1677.9097,15.6762);
for(new s=0;s<4;s++){ PlayerTextDrawHide(playerid,Tutorialdraw[playerid][s]); }
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][1],"(Tutorial) - Was kann ich zuerst tun?");
PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][2],"- Perso
beantragen.~n~- Job zulegen.~n~- Fuehrerschein absolvieren~n~- Anfangs
Wagen zulegen.");
for(new i=0;i<4;i++) PlayerTextDrawShow(playerid,Tutorialdraw[playerid][i]);
}
else if(TutTime[i] >= 60)
{
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
SendClientMessage(i,Farbe_Weiß," ");
for(new s=0;s<4;s++){ PlayerTextDrawHide(playerid,Tutorialdraw[playerid][s]); }
SendClientMessage(i,Farbe_Gelb,"Tutorial geschafft!");
SendClientMessage(i,Farbe_Weiß,"Dein Account wurde erfolgreich angelegt.");
SendClientMessage(i,Farbe_Weiß,"Viel Spaß, fotze.");
SetPlayerCheckpoint(i,1481.1222,-1765.4866,18.7958,2.5);
PlayerPlaySound(i,1188,0.0,0.0,0.0);
TutTime[i] = 0;
TutStep[i] = 1;
SpielerInfo[i][sTutorial] = 1;
GivePlayerMoney(i,50000+random(1000));
SpielerInfo[i][sBank] = 20000+random(20000);
format(Text,sizeof(Text),"Wir haben einen Neuen Spieler: %s",SpielerInfo[i][sName]);
SendClientMessageToAll(Farbe_Rot,Text);
ShowPlayerDialog(i, DIALOG_Startbonus, DIALOG_STYLE_LIST,
"Ende des Tutorials...", "Startbonus 10.000 $\nFührerschein\nStartlevel
5","Auswählen","-");
StopAudioStreamForPlayer(i);
SetPlayerSpawn(i);
}
}
bekomme immer Fehler wegen den Textdraw´s
undefined symbol playerid wie kann ich das hier definieren
C:\Users\Durak\Desktop\Samp\pawno\include\foreach.inc(382) : warning 209: function "INCLUDE_OnGameModeInit" should return a value
C:\Users\Durak\Desktop\Samp\pawno\include\nodmzonen.inc(408) : warning 201: redefinition of constant/macro (symbol "OnPlayerKeyStateChange")
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(8409) : warning 217: loose indentation
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(8440) : warning 217: loose indentation
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21976) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21977) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21978) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21978) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21986) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21997) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21998) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21999) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(21999) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22007) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22018) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22019) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22020) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22020) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22029) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22035) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22036) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22037) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22037) : error 017: undefined symbol "playerid"
C:\Users\Durak\Desktop\Samp\gamemodes\solrl.pwn(22044) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
16 Errors.
Playerid bei jeden Textdraw undefined wie definieren
und iwarning 219: local variable "i" shadows a variable at a preceding level
bei jeden davon hier: for(new i=0;i<4;i++) PlayerTextDrawShow(playerid,Tutorialdraw[playerid][i]);